Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:30:37,336 - INFO - taking picture
MAIN: 2025-03-10 06:30:37,337 - INFO - we take 1 photos in this while loop
MAIN: 2025-03-10 06:30:37,337 - INFO - /home/pi/Desktop/images/10032025/06/30/image_10032025_06_30_36_30980.jpg
MAIN: 2025-03-10 06:30:37,337 - INFO - duration: 0.7947213019997434
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:31:07,281 - INFO - taking picture
MAIN: 2025-03-10 06:31:07,281 - INFO - we take 2 photos in this while loop
MAIN: 2025-03-10 06:31:07,281 - INFO - /home/pi/Desktop/images/10032025/06/30/image_10032025_06_31_06_30048.jpg
MAIN: 2025-03-10 06:31:07,281 - INFO - duration: 0.6903574480002135
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:31:37,076 - INFO - taking picture
MAIN: 2025-03-10 06:31:37,076 - INFO - we take 3 photos in this while loop
MAIN: 2025-03-10 06:31:37,076 - INFO - /home/pi/Desktop/images/10032025/06/31/image_10032025_06_31_36_29786.jpg
MAIN: 2025-03-10 06:31:37,076 - INFO - duration: 0.6983645829996021
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:32:07,233 - INFO - taking picture
MAIN: 2025-03-10 06:32:07,234 - INFO - we take 4 photos in this while loop
MAIN: 2025-03-10 06:32:07,234 - INFO - /home/pi/Desktop/images/10032025/06/31/image_10032025_06_32_06_30159.jpg
MAIN: 2025-03-10 06:32:07,234 - INFO - duration: 0.6968299480004134
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:32:36,812 - INFO - taking picture
MAIN: 2025-03-10 06:32:36,812 - INFO - we take 5 photos in this while loop
MAIN: 2025-03-10 06:32:36,812 - INFO - /home/pi/Desktop/images/10032025/06/32/image_10032025_06_32_36_29572.jpg
MAIN: 2025-03-10 06:32:36,813 - INFO - duration: 0.7022341660003804
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:33:07,009 - INFO - taking picture
MAIN: 2025-03-10 06:33:07,010 - INFO - we take 6 photos in this while loop
MAIN: 2025-03-10 06:33:07,010 - INFO - /home/pi/Desktop/images/10032025/06/32/image_10032025_06_33_06_30211.jpg
MAIN: 2025-03-10 06:33:07,010 - INFO - duration: 0.6878956239997933
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:33:36,662 - INFO - taking picture
MAIN: 2025-03-10 06:33:36,662 - INFO - we take 7 photos in this while loop
MAIN: 2025-03-10 06:33:36,663 - INFO - /home/pi/Desktop/images/10032025/06/33/image_10032025_06_33_36_29660.jpg
MAIN: 2025-03-10 06:33:36,663 - INFO - duration: 0.680106510000769
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:34:06,675 - INFO - taking picture
MAIN: 2025-03-10 06:34:06,675 - INFO - we take 8 photos in this while loop
MAIN: 2025-03-10 06:34:06,676 - INFO - /home/pi/Desktop/images/10032025/06/33/image_10032025_06_34_06_29988.jpg
MAIN: 2025-03-10 06:34:06,676 - INFO - duration: 0.7043238019996352
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:34:36,419 - INFO - taking picture
MAIN: 2025-03-10 06:34:36,419 - INFO - we take 9 photos in this while loop
MAIN: 2025-03-10 06:34:36,420 - INFO - /home/pi/Desktop/images/10032025/06/34/image_10032025_06_34_36_29743.jpg
MAIN: 2025-03-10 06:34:36,420 - INFO - duration: 0.704713071999322
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:35:06,710 - INFO - taking picture
MAIN: 2025-03-10 06:35:06,711 - INFO - we take 10 photos in this while loop
MAIN: 2025-03-10 06:35:06,711 - INFO - /home/pi/Desktop/images/10032025/06/34/image_10032025_06_35_06_30289.jpg
MAIN: 2025-03-10 06:35:06,711 - INFO - duration: 0.7068444789993009
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:35:36,600 - INFO - taking picture
MAIN: 2025-03-10 06:35:36,601 - INFO - we take 11 photos in this while loop
MAIN: 2025-03-10 06:35:36,601 - INFO - /home/pi/Desktop/images/10032025/06/35/image_10032025_06_35_36_29914.jpg
MAIN: 2025-03-10 06:35:36,601 - INFO - duration: 0.6818724470003872
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:36:06,818 - INFO - taking picture
MAIN: 2025-03-10 06:36:06,818 - INFO - we take 12 photos in this while loop
MAIN: 2025-03-10 06:36:06,818 - INFO - /home/pi/Desktop/images/10032025/06/35/image_10032025_06_36_06_30208.jpg
MAIN: 2025-03-10 06:36:06,818 - INFO - duration: 0.6910222919996158
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:36:36,515 - INFO - taking picture
MAIN: 2025-03-10 06:36:36,516 - INFO - we take 13 photos in this while loop
MAIN: 2025-03-10 06:36:36,516 - INFO - /home/pi/Desktop/images/10032025/06/36/image_10032025_06_36_36_29723.jpg
MAIN: 2025-03-10 06:36:36,516 - INFO - duration: 0.6655993750000562
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:37:06,560 - INFO - taking picture
MAIN: 2025-03-10 06:37:06,561 - INFO - we take 14 photos in this while loop
MAIN: 2025-03-10 06:37:06,561 - INFO - /home/pi/Desktop/images/10032025/06/36/image_10032025_06_37_06_30017.jpg
MAIN: 2025-03-10 06:37:06,561 - INFO - duration: 0.6928183330001048
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:37:36,294 - INFO - taking picture
MAIN: 2025-03-10 06:37:36,294 - INFO - we take 15 photos in this while loop
MAIN: 2025-03-10 06:37:36,295 - INFO - /home/pi/Desktop/images/10032025/06/37/image_10032025_06_37_35_29730.jpg
MAIN: 2025-03-10 06:37:36,295 - INFO - duration: 0.6961298429996532
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:38:06,463 - INFO - taking picture
MAIN: 2025-03-10 06:38:06,463 - INFO - we take 16 photos in this while loop
MAIN: 2025-03-10 06:38:06,464 - INFO - /home/pi/Desktop/images/10032025/06/37/image_10032025_06_38_06_30196.jpg
MAIN: 2025-03-10 06:38:06,464 - INFO - duration: 0.6684596880004392
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:38:36,296 - INFO - taking picture
MAIN: 2025-03-10 06:38:36,297 - INFO - we take 17 photos in this while loop
MAIN: 2025-03-10 06:38:36,297 - INFO - /home/pi/Desktop/images/10032025/06/38/image_10032025_06_38_35_29809.jpg
MAIN: 2025-03-10 06:38:36,297 - INFO - duration: 0.6924996349998764
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:39:06,422 - INFO - taking picture
MAIN: 2025-03-10 06:39:06,423 - INFO - we take 18 photos in this while loop
MAIN: 2025-03-10 06:39:06,423 - INFO - /home/pi/Desktop/images/10032025/06/38/image_10032025_06_39_06_30115.jpg
MAIN: 2025-03-10 06:39:06,423 - INFO - duration: 0.7030234369995014
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:39:36,271 - INFO - taking picture
MAIN: 2025-03-10 06:39:36,272 - INFO - we take 19 photos in this while loop
MAIN: 2025-03-10 06:39:36,272 - INFO - /home/pi/Desktop/images/10032025/06/39/image_10032025_06_39_35_29851.jpg
MAIN: 2025-03-10 06:39:36,272 - INFO - duration: 0.7000016140000298
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:40:06,680 - INFO - taking picture
MAIN: 2025-03-10 06:40:06,681 - INFO - we take 20 photos in this while loop
MAIN: 2025-03-10 06:40:06,681 - INFO - /home/pi/Desktop/images/10032025/06/39/image_10032025_06_40_06_30432.jpg
MAIN: 2025-03-10 06:40:06,682 - INFO - duration: 0.6773844270001064
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:40:36,447 - INFO - taking picture
MAIN: 2025-03-10 06:40:36,447 - INFO - we take 21 photos in this while loop
MAIN: 2025-03-10 06:40:36,447 - INFO - /home/pi/Desktop/images/10032025/06/40/image_10032025_06_40_36_29754.jpg
MAIN: 2025-03-10 06:40:36,448 - INFO - duration: 0.688796770999943
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:41:06,320 - INFO - taking picture
MAIN: 2025-03-10 06:41:06,321 - INFO - we take 22 photos in this while loop
MAIN: 2025-03-10 06:41:06,321 - INFO - /home/pi/Desktop/images/10032025/06/40/image_10032025_06_41_05_29882.jpg
MAIN: 2025-03-10 06:41:06,321 - INFO - duration: 0.680133541000032
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:41:37,362 - INFO - taking picture
MAIN: 2025-03-10 06:41:37,363 - INFO - we take 23 photos in this while loop
MAIN: 2025-03-10 06:41:37,363 - INFO - /home/pi/Desktop/images/10032025/06/41/image_10032025_06_41_36_31020.jpg
MAIN: 2025-03-10 06:41:37,363 - INFO - duration: 0.7013758330003839
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:42:06,588 - INFO - taking picture
MAIN: 2025-03-10 06:42:06,588 - INFO - we take 24 photos in this while loop
MAIN: 2025-03-10 06:42:06,589 - INFO - /home/pi/Desktop/images/10032025/06/41/image_10032025_06_42_06_29225.jpg
MAIN: 2025-03-10 06:42:06,589 - INFO - duration: 0.7017845830005172
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:42:36,296 - INFO - taking picture
MAIN: 2025-03-10 06:42:36,297 - INFO - we take 25 photos in this while loop
MAIN: 2025-03-10 06:42:36,297 - INFO - /home/pi/Desktop/images/10032025/06/42/image_10032025_06_42_35_29770.jpg
MAIN: 2025-03-10 06:42:36,297 - INFO - duration: 0.639867396000227
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:43:06,536 - INFO - taking picture
MAIN: 2025-03-10 06:43:06,537 - INFO - we take 26 photos in this while loop
MAIN: 2025-03-10 06:43:06,537 - INFO - /home/pi/Desktop/images/10032025/06/42/image_10032025_06_43_06_30197.jpg
MAIN: 2025-03-10 06:43:06,537 - INFO - duration: 0.6822277600003872
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:43:36,319 - INFO - taking picture
MAIN: 2025-03-10 06:43:36,320 - INFO - we take 27 photos in this while loop
MAIN: 2025-03-10 06:43:36,320 - INFO - /home/pi/Desktop/images/10032025/06/43/image_10032025_06_43_35_29770.jpg
MAIN: 2025-03-10 06:43:36,320 - INFO - duration: 0.6952624989999094
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:44:06,462 - INFO - taking picture
MAIN: 2025-03-10 06:44:06,462 - INFO - we take 28 photos in this while loop
MAIN: 2025-03-10 06:44:06,463 - INFO - /home/pi/Desktop/images/10032025/06/43/image_10032025_06_44_06_30163.jpg
MAIN: 2025-03-10 06:44:06,463 - INFO - duration: 0.6746176040005594
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:44:36,276 - INFO - taking picture
MAIN: 2025-03-10 06:44:36,276 - INFO - we take 29 photos in this while loop
MAIN: 2025-03-10 06:44:36,276 - INFO - /home/pi/Desktop/images/10032025/06/44/image_10032025_06_44_35_29798.jpg
MAIN: 2025-03-10 06:44:36,276 - INFO - duration: 0.6896329689998311
Corrupt JPEG data: premature end of data segment
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:45:06,542 - INFO - taking picture
MAIN: 2025-03-10 06:45:06,542 - INFO - we take 30 photos in this while loop
MAIN: 2025-03-10 06:45:06,542 - INFO - /home/pi/Desktop/images/10032025/06/44/image_10032025_06_45_06_30284.jpg
MAIN: 2025-03-10 06:45:06,543 - INFO - duration: 0.6713202600003569
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:45:36,341 - INFO - taking picture
MAIN: 2025-03-10 06:45:36,342 - INFO - we take 31 photos in this while loop
MAIN: 2025-03-10 06:45:36,342 - INFO - /home/pi/Desktop/images/10032025/06/45/image_10032025_06_45_35_29772.jpg
MAIN: 2025-03-10 06:45:36,342 - INFO - duration: 0.6982383329996082
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:46:06,579 - INFO - taking picture
MAIN: 2025-03-10 06:46:06,579 - INFO - we take 32 photos in this while loop
MAIN: 2025-03-10 06:46:06,580 - INFO - /home/pi/Desktop/images/10032025/06/45/image_10032025_06_46_06_30243.jpg
MAIN: 2025-03-10 06:46:06,580 - INFO - duration: 0.6926668749993041
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:46:36,374 - INFO - taking picture
MAIN: 2025-03-10 06:46:36,375 - INFO - we take 33 photos in this while loop
MAIN: 2025-03-10 06:46:36,375 - INFO - /home/pi/Desktop/images/10032025/06/46/image_10032025_06_46_35_29771.jpg
MAIN: 2025-03-10 06:46:36,375 - INFO - duration: 0.7162922909992631
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:47:06,373 - INFO - taking picture
MAIN: 2025-03-10 06:47:06,374 - INFO - we take 34 photos in this while loop
MAIN: 2025-03-10 06:47:06,374 - INFO - /home/pi/Desktop/images/10032025/06/46/image_10032025_06_47_05_30005.jpg
MAIN: 2025-03-10 06:47:06,374 - INFO - duration: 0.7100167179996788
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:47:36,292 - INFO - taking picture
MAIN: 2025-03-10 06:47:36,293 - INFO - we take 35 photos in this while loop
MAIN: 2025-03-10 06:47:36,293 - INFO - /home/pi/Desktop/images/10032025/06/47/image_10032025_06_47_35_29933.jpg
MAIN: 2025-03-10 06:47:36,293 - INFO - duration: 0.6956908860011026
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:48:06,676 - INFO - taking picture
MAIN: 2025-03-10 06:48:06,676 - INFO - we take 36 photos in this while loop
MAIN: 2025-03-10 06:48:06,677 - INFO - /home/pi/Desktop/images/10032025/06/47/image_10032025_06_48_06_30383.jpg
MAIN: 2025-03-10 06:48:06,677 - INFO - duration: 0.6951822910014016
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:48:36,283 - INFO - taking picture
MAIN: 2025-03-10 06:48:36,284 - INFO - we take 37 photos in this while loop
MAIN: 2025-03-10 06:48:36,284 - INFO - /home/pi/Desktop/images/10032025/06/48/image_10032025_06_48_35_29628.jpg
MAIN: 2025-03-10 06:48:36,284 - INFO - duration: 0.6740132289996836
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:49:06,476 - INFO - taking picture
MAIN: 2025-03-10 06:49:06,476 - INFO - we take 38 photos in this while loop
MAIN: 2025-03-10 06:49:06,476 - INFO - /home/pi/Desktop/images/10032025/06/48/image_10032025_06_49_06_30175.jpg
MAIN: 2025-03-10 06:49:06,477 - INFO - duration: 0.6910110930002702
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:49:37,487 - INFO - taking picture
MAIN: 2025-03-10 06:49:37,487 - INFO - we take 39 photos in this while loop
MAIN: 2025-03-10 06:49:37,488 - INFO - /home/pi/Desktop/images/10032025/06/49/image_10032025_06_49_37_31011.jpg
MAIN: 2025-03-10 06:49:37,488 - INFO - duration: 0.69015057300021
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:50:06,457 - INFO - taking picture
MAIN: 2025-03-10 06:50:06,458 - INFO - we take 40 photos in this while loop
MAIN: 2025-03-10 06:50:06,458 - INFO - /home/pi/Desktop/images/10032025/06/49/image_10032025_06_50_06_28980.jpg
MAIN: 2025-03-10 06:50:06,458 - INFO - duration: 0.6805812500006141
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:50:37,465 - INFO - taking picture
MAIN: 2025-03-10 06:50:37,465 - INFO - we take 41 photos in this while loop
MAIN: 2025-03-10 06:50:37,465 - INFO - /home/pi/Desktop/images/10032025/06/50/image_10032025_06_50_37_31043.jpg
MAIN: 2025-03-10 06:50:37,466 - INFO - duration: 0.6437685410000995
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:51:06,329 - INFO - taking picture
MAIN: 2025-03-10 06:51:06,329 - INFO - we take 42 photos in this while loop
MAIN: 2025-03-10 06:51:06,330 - INFO - /home/pi/Desktop/images/10032025/06/50/image_10032025_06_51_05_28811.jpg
MAIN: 2025-03-10 06:51:06,330 - INFO - duration: 0.6963177600009658
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:51:37,242 - INFO - taking picture
MAIN: 2025-03-10 06:51:37,242 - INFO - we take 43 photos in this while loop
MAIN: 2025-03-10 06:51:37,242 - INFO - /home/pi/Desktop/images/10032025/06/51/image_10032025_06_51_36_30914.jpg
MAIN: 2025-03-10 06:51:37,243 - INFO - duration: 0.6941282810003031
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:52:06,356 - INFO - taking picture
MAIN: 2025-03-10 06:52:06,357 - INFO - we take 44 photos in this while loop
MAIN: 2025-03-10 06:52:06,357 - INFO - /home/pi/Desktop/images/10032025/06/51/image_10032025_06_52_05_29098.jpg
MAIN: 2025-03-10 06:52:06,357 - INFO - duration: 0.7098040100008802
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:52:37,409 - INFO - taking picture
MAIN: 2025-03-10 06:52:37,410 - INFO - we take 45 photos in this while loop
MAIN: 2025-03-10 06:52:37,410 - INFO - /home/pi/Desktop/images/10032025/06/52/image_10032025_06_52_37_31083.jpg
MAIN: 2025-03-10 06:52:37,410 - INFO - duration: 0.6789875520007627
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:53:06,285 - INFO - taking picture
MAIN: 2025-03-10 06:53:06,285 - INFO - we take 46 photos in this while loop
MAIN: 2025-03-10 06:53:06,286 - INFO - /home/pi/Desktop/images/10032025/06/52/image_10032025_06_53_05_28876.jpg
MAIN: 2025-03-10 06:53:06,286 - INFO - duration: 0.6784767709996231
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:53:37,357 - INFO - taking picture
MAIN: 2025-03-10 06:53:37,358 - INFO - we take 47 photos in this while loop
MAIN: 2025-03-10 06:53:37,358 - INFO - /home/pi/Desktop/images/10032025/06/53/image_10032025_06_53_36_31047.jpg
MAIN: 2025-03-10 06:53:37,358 - INFO - duration: 0.7036659369987319
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:54:07,385 - INFO - taking picture
MAIN: 2025-03-10 06:54:07,386 - INFO - we take 48 photos in this while loop
MAIN: 2025-03-10 06:54:07,386 - INFO - /home/pi/Desktop/images/10032025/06/53/image_10032025_06_54_07_30033.jpg
MAIN: 2025-03-10 06:54:07,386 - INFO - duration: 0.6986125519997586
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:54:37,167 - INFO - taking picture
MAIN: 2025-03-10 06:54:37,168 - INFO - we take 49 photos in this while loop
MAIN: 2025-03-10 06:54:37,168 - INFO - /home/pi/Desktop/images/10032025/06/54/image_10032025_06_54_36_29792.jpg
MAIN: 2025-03-10 06:54:37,168 - INFO - duration: 0.6880097920002299
Corrupt JPEG data: premature end of data segment
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:55:06,290 - INFO - taking picture
MAIN: 2025-03-10 06:55:06,290 - INFO - we take 50 photos in this while loop
MAIN: 2025-03-10 06:55:06,291 - INFO - /home/pi/Desktop/images/10032025/06/54/image_10032025_06_55_05_29132.jpg
MAIN: 2025-03-10 06:55:06,291 - INFO - duration: 0.6785457289988699
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:55:37,403 - INFO - taking picture
MAIN: 2025-03-10 06:55:37,404 - INFO - we take 51 photos in this while loop
MAIN: 2025-03-10 06:55:37,404 - INFO - /home/pi/Desktop/images/10032025/06/55/image_10032025_06_55_37_31147.jpg
MAIN: 2025-03-10 06:55:37,404 - INFO - duration: 0.6445360930010793
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:56:06,410 - INFO - taking picture
MAIN: 2025-03-10 06:56:06,411 - INFO - we take 52 photos in this while loop
MAIN: 2025-03-10 06:56:06,411 - INFO - /home/pi/Desktop/images/10032025/06/55/image_10032025_06_56_06_28941.jpg
MAIN: 2025-03-10 06:56:06,411 - INFO - duration: 0.7100625519997266
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:56:36,286 - INFO - taking picture
MAIN: 2025-03-10 06:56:36,286 - INFO - we take 53 photos in this while loop
MAIN: 2025-03-10 06:56:36,286 - INFO - /home/pi/Desktop/images/10032025/06/56/image_10032025_06_56_35_29884.jpg
MAIN: 2025-03-10 06:56:36,287 - INFO - duration: 0.7010444269999425
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:57:06,426 - INFO - taking picture
MAIN: 2025-03-10 06:57:06,427 - INFO - we take 54 photos in this while loop
MAIN: 2025-03-10 06:57:06,427 - INFO - /home/pi/Desktop/images/10032025/06/56/image_10032025_06_57_06_30204.jpg
MAIN: 2025-03-10 06:57:06,427 - INFO - duration: 0.6366941670003143
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:57:37,465 - INFO - taking picture
MAIN: 2025-03-10 06:57:37,465 - INFO - we take 55 photos in this while loop
MAIN: 2025-03-10 06:57:37,466 - INFO - /home/pi/Desktop/images/10032025/06/57/image_10032025_06_57_37_30968.jpg
MAIN: 2025-03-10 06:57:37,466 - INFO - duration: 0.7069376559993543
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:58:06,577 - INFO - taking picture
MAIN: 2025-03-10 06:58:06,578 - INFO - we take 56 photos in this while loop
MAIN: 2025-03-10 06:58:06,578 - INFO - /home/pi/Desktop/images/10032025/06/57/image_10032025_06_58_06_29120.jpg
MAIN: 2025-03-10 06:58:06,578 - INFO - duration: 0.6986651040006109
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:58:36,288 - INFO - taking picture
MAIN: 2025-03-10 06:58:36,289 - INFO - we take 57 photos in this while loop
MAIN: 2025-03-10 06:58:36,289 - INFO - /home/pi/Desktop/images/10032025/06/58/image_10032025_06_58_35_29723.jpg
MAIN: 2025-03-10 06:58:36,289 - INFO - duration: 0.6862049989995285
Corrupt JPEG data: premature end of data segment
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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:59:06,474 - INFO - taking picture
MAIN: 2025-03-10 06:59:06,475 - INFO - we take 58 photos in this while loop
MAIN: 2025-03-10 06:59:06,475 - INFO - /home/pi/Desktop/images/10032025/06/58/image_10032025_06_59_06_30175.jpg
MAIN: 2025-03-10 06:59:06,475 - INFO - duration: 0.6961421349988086
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 06:59:37,504 - INFO - taking picture
MAIN: 2025-03-10 06:59:37,504 - INFO - we take 59 photos in this while loop
MAIN: 2025-03-10 06:59:37,505 - INFO - /home/pi/Desktop/images/10032025/06/59/image_10032025_06_59_37_31059.jpg
MAIN: 2025-03-10 06:59:37,505 - INFO - duration: 0.6667708850000054
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:00:06,422 - INFO - taking picture
MAIN: 2025-03-10 07:00:06,423 - INFO - we take 60 photos in this while loop
MAIN: 2025-03-10 07:00:06,423 - INFO - /home/pi/Desktop/images/10032025/06/59/image_10032025_07_00_06_28905.jpg
MAIN: 2025-03-10 07:00:06,423 - INFO - duration: 0.6792687500001193
MAIN: 2025-03-10 07:00:06,424 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/00'
MAIN: 2025-03-10 07:00:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:00:37,462 - INFO - taking picture
MAIN: 2025-03-10 07:00:37,462 - INFO - we take 61 photos in this while loop
MAIN: 2025-03-10 07:00:37,463 - INFO - /home/pi/Desktop/images/10032025/07/00/image_10032025_07_00_37_31010.jpg
MAIN: 2025-03-10 07:00:37,463 - INFO - duration: 0.7079880210003466
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:01:06,272 - INFO - taking picture
MAIN: 2025-03-10 07:01:06,273 - INFO - we take 62 photos in this while loop
MAIN: 2025-03-10 07:01:06,273 - INFO - /home/pi/Desktop/images/10032025/07/00/image_10032025_07_01_05_28868.jpg
MAIN: 2025-03-10 07:01:06,273 - INFO - duration: 0.6504847920004977
MAIN: 2025-03-10 07:01:06,274 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/01'
MAIN: 2025-03-10 07:01:06,648 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:01:37,181 - INFO - taking picture
MAIN: 2025-03-10 07:01:37,181 - INFO - we take 63 photos in this while loop
MAIN: 2025-03-10 07:01:37,181 - INFO - /home/pi/Desktop/images/10032025/07/01/image_10032025_07_01_36_30863.jpg
MAIN: 2025-03-10 07:01:37,182 - INFO - duration: 0.6953932289998193
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:02:06,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 ! 
MAIN: 2025-03-10 07:02:07,376 - INFO - taking picture
MAIN: 2025-03-10 07:02:07,376 - INFO - we take 64 photos in this while loop
MAIN: 2025-03-10 07:02:07,377 - INFO - /home/pi/Desktop/images/10032025/07/01/image_10032025_07_02_06_30184.jpg
MAIN: 2025-03-10 07:02:07,377 - INFO - duration: 0.7060513540000102
MAIN: 2025-03-10 07:02:07,377 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:02:36,947 - INFO - taking picture
MAIN: 2025-03-10 07:02:36,948 - INFO - we take 65 photos in this while loop
MAIN: 2025-03-10 07:02:36,948 - INFO - /home/pi/Desktop/images/10032025/07/02/image_10032025_07_02_36_29578.jpg
MAIN: 2025-03-10 07:02:36,948 - INFO - duration: 0.6994711450006434
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:03:06,021 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:03:06,817 - INFO - taking picture
MAIN: 2025-03-10 07:03:06,818 - INFO - we take 66 photos in this while loop
MAIN: 2025-03-10 07:03:06,818 - INFO - /home/pi/Desktop/images/10032025/07/02/image_10032025_07_03_06_29902.jpg
MAIN: 2025-03-10 07:03:06,818 - INFO - duration: 0.6666961980008637
MAIN: 2025-03-10 07:03:06,819 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:03:36,459 - INFO - taking picture
MAIN: 2025-03-10 07:03:36,460 - INFO - we take 67 photos in this while loop
MAIN: 2025-03-10 07:03:36,460 - INFO - /home/pi/Desktop/images/10032025/07/03/image_10032025_07_03_36_29601.jpg
MAIN: 2025-03-10 07:03:36,460 - INFO - duration: 0.7069883330004814
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:04:06,349 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 07:04:06,611 - INFO - taking picture
MAIN: 2025-03-10 07:04:06,612 - INFO - we take 68 photos in this while loop
MAIN: 2025-03-10 07:04:06,612 - INFO - /home/pi/Desktop/images/10032025/07/03/image_10032025_07_04_06_30136.jpg
MAIN: 2025-03-10 07:04:06,612 - INFO - duration: 0.7228559369996219
MAIN: 2025-03-10 07:04:06,613 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:04:36,415 - INFO - taking picture
MAIN: 2025-03-10 07:04:36,415 - INFO - we take 69 photos in this while loop
MAIN: 2025-03-10 07:04:36,415 - INFO - /home/pi/Desktop/images/10032025/07/04/image_10032025_07_04_36_29834.jpg
MAIN: 2025-03-10 07:04:36,416 - INFO - duration: 0.6913501039998664
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:05:06,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 ! 
MAIN: 2025-03-10 07:05:06,776 - INFO - taking picture
MAIN: 2025-03-10 07:05:06,776 - INFO - we take 70 photos in this while loop
MAIN: 2025-03-10 07:05:06,777 - INFO - /home/pi/Desktop/images/10032025/07/04/image_10032025_07_05_06_30376.jpg
MAIN: 2025-03-10 07:05:06,777 - INFO - duration: 0.676127707998603
MAIN: 2025-03-10 07:05:06,778 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:05:36,486 - INFO - taking picture
MAIN: 2025-03-10 07:05:36,487 - INFO - we take 71 photos in this while loop
MAIN: 2025-03-10 07:05:36,487 - INFO - /home/pi/Desktop/images/10032025/07/05/image_10032025_07_05_36_29692.jpg
MAIN: 2025-03-10 07:05:36,487 - INFO - duration: 0.693621197999164
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:06:06,862 - INFO - taking picture
MAIN: 2025-03-10 07:06:06,863 - INFO - we take 72 photos in this while loop
MAIN: 2025-03-10 07:06:06,863 - INFO - /home/pi/Desktop/images/10032025/07/05/image_10032025_07_06_06_30367.jpg
MAIN: 2025-03-10 07:06:06,863 - INFO - duration: 0.7014593749991036
MAIN: 2025-03-10 07:06:06,863 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/06'
MAIN: 2025-03-10 07:06: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:06:36,673 - INFO - taking picture
MAIN: 2025-03-10 07:06:36,673 - INFO - we take 73 photos in this while loop
MAIN: 2025-03-10 07:06:36,673 - INFO - /home/pi/Desktop/images/10032025/07/06/image_10032025_07_06_36_29827.jpg
MAIN: 2025-03-10 07:06:36,674 - INFO - duration: 0.6844685420001042
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:07:05,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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:07:06,733 - INFO - taking picture
MAIN: 2025-03-10 07:07:06,733 - INFO - we take 74 photos in this while loop
MAIN: 2025-03-10 07:07:06,734 - INFO - /home/pi/Desktop/images/10032025/07/06/image_10032025_07_07_06_30063.jpg
MAIN: 2025-03-10 07:07:06,734 - INFO - duration: 0.6817073949987389
MAIN: 2025-03-10 07:07:06,734 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:07:36,552 - INFO - taking picture
MAIN: 2025-03-10 07:07:36,553 - INFO - we take 75 photos in this while loop
MAIN: 2025-03-10 07:07:36,553 - INFO - /home/pi/Desktop/images/10032025/07/07/image_10032025_07_07_36_29817.jpg
MAIN: 2025-03-10 07:07:36,553 - INFO - duration: 0.6839122910005244
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:08: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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:08:06,793 - INFO - taking picture
MAIN: 2025-03-10 07:08:06,793 - INFO - we take 76 photos in this while loop
MAIN: 2025-03-10 07:08:06,793 - INFO - /home/pi/Desktop/images/10032025/07/07/image_10032025_07_08_06_30270.jpg
MAIN: 2025-03-10 07:08:06,794 - INFO - duration: 0.6535819269993226
MAIN: 2025-03-10 07:08:06,794 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/08'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:08:36,638 - INFO - taking picture
MAIN: 2025-03-10 07:08:36,638 - INFO - we take 77 photos in this while loop
MAIN: 2025-03-10 07:08:36,638 - INFO - /home/pi/Desktop/images/10032025/07/08/image_10032025_07_08_36_29850.jpg
MAIN: 2025-03-10 07:08:36,639 - INFO - duration: 0.6475085929996567
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:09: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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:09:06,803 - INFO - taking picture
MAIN: 2025-03-10 07:09:06,803 - INFO - we take 78 photos in this while loop
MAIN: 2025-03-10 07:09:06,804 - INFO - /home/pi/Desktop/images/10032025/07/08/image_10032025_07_09_06_30128.jpg
MAIN: 2025-03-10 07:09:06,804 - INFO - duration: 0.6840041659997951
MAIN: 2025-03-10 07:09:06,804 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:09:36,510 - INFO - taking picture
MAIN: 2025-03-10 07:09:36,511 - INFO - we take 79 photos in this while loop
MAIN: 2025-03-10 07:09:36,511 - INFO - /home/pi/Desktop/images/10032025/07/09/image_10032025_07_09_36_29692.jpg
MAIN: 2025-03-10 07:09:36,511 - INFO - duration: 0.6988366140012658
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:10:07,124 - INFO - taking picture
MAIN: 2025-03-10 07:10:07,125 - INFO - we take 80 photos in this while loop
MAIN: 2025-03-10 07:10:07,125 - INFO - /home/pi/Desktop/images/10032025/07/09/image_10032025_07_10_06_30622.jpg
MAIN: 2025-03-10 07:10:07,125 - INFO - duration: 0.6903331769990473
MAIN: 2025-03-10 07:10:07,126 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/10'
MAIN: 2025-03-10 07:10:07,212 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:10:36,921 - INFO - taking picture
MAIN: 2025-03-10 07:10:36,922 - INFO - we take 81 photos in this while loop
MAIN: 2025-03-10 07:10:36,922 - INFO - /home/pi/Desktop/images/10032025/07/10/image_10032025_07_10_36_29788.jpg
MAIN: 2025-03-10 07:10:36,922 - INFO - duration: 0.6993203120000544
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:11:06,315 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:11:07,070 - INFO - taking picture
MAIN: 2025-03-10 07:11:07,070 - INFO - we take 82 photos in this while loop
MAIN: 2025-03-10 07:11:07,070 - INFO - /home/pi/Desktop/images/10032025/07/10/image_10032025_07_11_06_30171.jpg
MAIN: 2025-03-10 07:11:07,070 - INFO - duration: 0.6757172400011768
MAIN: 2025-03-10 07:11:07,071 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/11'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:11:36,785 - INFO - taking picture
MAIN: 2025-03-10 07:11:36,785 - INFO - we take 83 photos in this while loop
MAIN: 2025-03-10 07:11:36,785 - INFO - /home/pi/Desktop/images/10032025/07/11/image_10032025_07_11_36_29688.jpg
MAIN: 2025-03-10 07:11:36,785 - INFO - duration: 0.7021602610002446
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:12: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-10 07:12:07,127 - INFO - taking picture
MAIN: 2025-03-10 07:12:07,128 - INFO - we take 84 photos in this while loop
MAIN: 2025-03-10 07:12:07,128 - INFO - /home/pi/Desktop/images/10032025/07/11/image_10032025_07_12_06_30394.jpg
MAIN: 2025-03-10 07:12:07,128 - INFO - duration: 0.6500107289994048
MAIN: 2025-03-10 07:12:07,129 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/12'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:12:36,870 - INFO - taking picture
MAIN: 2025-03-10 07:12:36,871 - INFO - we take 85 photos in this while loop
MAIN: 2025-03-10 07:12:36,871 - INFO - /home/pi/Desktop/images/10032025/07/12/image_10032025_07_12_36_29750.jpg
MAIN: 2025-03-10 07:12:36,871 - INFO - duration: 0.6424433330012107
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:13:05,793 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:13:07,071 - INFO - taking picture
MAIN: 2025-03-10 07:13:07,072 - INFO - we take 86 photos in this while loop
MAIN: 2025-03-10 07:13:07,072 - INFO - /home/pi/Desktop/images/10032025/07/12/image_10032025_07_13_06_30172.jpg
MAIN: 2025-03-10 07:13:07,072 - INFO - duration: 0.6715732289994776
MAIN: 2025-03-10 07:13:07,073 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=39 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:13:36,887 - INFO - taking picture
MAIN: 2025-03-10 07:13:36,888 - INFO - we take 87 photos in this while loop
MAIN: 2025-03-10 07:13:36,888 - INFO - /home/pi/Desktop/images/10032025/07/13/image_10032025_07_13_36_29807.jpg
MAIN: 2025-03-10 07:13:36,888 - INFO - duration: 0.6798605730000418
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:14:06,399 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=99 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:14:07,087 - INFO - taking picture
MAIN: 2025-03-10 07:14:07,088 - INFO - we take 88 photos in this while loop
MAIN: 2025-03-10 07:14:07,088 - INFO - /home/pi/Desktop/images/10032025/07/13/image_10032025_07_14_06_30173.jpg
MAIN: 2025-03-10 07:14:07,088 - INFO - duration: 0.7063372920001711
MAIN: 2025-03-10 07:14:07,089 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=99 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:14:36,874 - INFO - taking picture
MAIN: 2025-03-10 07:14:36,875 - INFO - we take 89 photos in this while loop
MAIN: 2025-03-10 07:14:36,875 - INFO - /home/pi/Desktop/images/10032025/07/14/image_10032025_07_14_36_29787.jpg
MAIN: 2025-03-10 07:14:36,875 - INFO - duration: 0.7050538540006528
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:15:06,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 ! 
MAIN: 2025-03-10 07:15:07,224 - INFO - taking picture
MAIN: 2025-03-10 07:15:07,225 - INFO - we take 90 photos in this while loop
MAIN: 2025-03-10 07:15:07,225 - INFO - /home/pi/Desktop/images/10032025/07/14/image_10032025_07_15_06_30347.jpg
MAIN: 2025-03-10 07:15:07,225 - INFO - duration: 0.7079391139996005
MAIN: 2025-03-10 07:15:07,225 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:15:37,233 - INFO - taking picture
MAIN: 2025-03-10 07:15:37,234 - INFO - we take 91 photos in this while loop
MAIN: 2025-03-10 07:15:37,234 - INFO - /home/pi/Desktop/images/10032025/07/15/image_10032025_07_15_36_30018.jpg
MAIN: 2025-03-10 07:15:37,234 - INFO - duration: 0.6983097390002513
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:16:06,483 - INFO - taking picture
MAIN: 2025-03-10 07:16:06,483 - INFO - we take 92 photos in this while loop
MAIN: 2025-03-10 07:16:06,483 - INFO - /home/pi/Desktop/images/10032025/07/15/image_10032025_07_16_06_29242.jpg
MAIN: 2025-03-10 07:16:06,483 - INFO - duration: 0.7049300519993267
MAIN: 2025-03-10 07:16:06,484 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/16'
MAIN: 2025-03-10 07:16:06,719 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:16:36,535 - INFO - taking picture
MAIN: 2025-03-10 07:16:36,535 - INFO - we take 93 photos in this while loop
MAIN: 2025-03-10 07:16:36,535 - INFO - /home/pi/Desktop/images/10032025/07/16/image_10032025_07_16_36_30042.jpg
MAIN: 2025-03-10 07:16:36,536 - INFO - duration: 0.714656718999322
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:17:05,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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:17:06,778 - INFO - taking picture
MAIN: 2025-03-10 07:17:06,779 - INFO - we take 94 photos in this while loop
MAIN: 2025-03-10 07:17:06,779 - INFO - /home/pi/Desktop/images/10032025/07/16/image_10032025_07_17_06_30251.jpg
MAIN: 2025-03-10 07:17:06,779 - INFO - duration: 0.7070157809994271
MAIN: 2025-03-10 07:17:06,780 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:17:36,762 - INFO - taking picture
MAIN: 2025-03-10 07:17:36,763 - INFO - we take 95 photos in this while loop
MAIN: 2025-03-10 07:17:36,763 - INFO - /home/pi/Desktop/images/10032025/07/17/image_10032025_07_17_36_29987.jpg
MAIN: 2025-03-10 07:17:36,763 - INFO - duration: 0.7034845830003178
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:18:06,292 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:18:06,934 - INFO - taking picture
MAIN: 2025-03-10 07:18:06,935 - INFO - we take 96 photos in this while loop
MAIN: 2025-03-10 07:18:06,935 - INFO - /home/pi/Desktop/images/10032025/07/17/image_10032025_07_18_06_30160.jpg
MAIN: 2025-03-10 07:18:06,935 - INFO - duration: 0.7144434889996774
MAIN: 2025-03-10 07:18:06,936 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/18'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:18:36,861 - INFO - taking picture
MAIN: 2025-03-10 07:18:36,862 - INFO - we take 97 photos in this while loop
MAIN: 2025-03-10 07:18:36,862 - INFO - /home/pi/Desktop/images/10032025/07/18/image_10032025_07_18_36_29946.jpg
MAIN: 2025-03-10 07:18:36,862 - INFO - duration: 0.6948746360012592
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:19: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:19:06,945 - INFO - taking picture
MAIN: 2025-03-10 07:19:06,946 - INFO - we take 98 photos in this while loop
MAIN: 2025-03-10 07:19:06,946 - INFO - /home/pi/Desktop/images/10032025/07/18/image_10032025_07_19_06_30113.jpg
MAIN: 2025-03-10 07:19:06,946 - INFO - duration: 0.6649723959999392
MAIN: 2025-03-10 07:19:06,946 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:19:36,788 - INFO - taking picture
MAIN: 2025-03-10 07:19:36,789 - INFO - we take 99 photos in this while loop
MAIN: 2025-03-10 07:19:36,789 - INFO - /home/pi/Desktop/images/10032025/07/19/image_10032025_07_19_36_29801.jpg
MAIN: 2025-03-10 07:19:36,789 - INFO - duration: 0.7059816139990289
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:20:06,733 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:20:07,179 - INFO - taking picture
MAIN: 2025-03-10 07:20:07,180 - INFO - we take 100 photos in this while loop
MAIN: 2025-03-10 07:20:07,181 - INFO - /home/pi/Desktop/images/10032025/07/19/image_10032025_07_20_06_30377.jpg
MAIN: 2025-03-10 07:20:07,182 - INFO - duration: 0.7206565100004809
MAIN: 2025-03-10 07:20:07,183 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:20:37,174 - INFO - taking picture
MAIN: 2025-03-10 07:20:37,175 - INFO - we take 101 photos in this while loop
MAIN: 2025-03-10 07:20:37,175 - INFO - /home/pi/Desktop/images/10032025/07/20/image_10032025_07_20_36_30033.jpg
MAIN: 2025-03-10 07:20:37,175 - INFO - duration: 0.6801942189995316
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:21:06,410 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:21:07,419 - INFO - taking picture
MAIN: 2025-03-10 07:21:07,420 - INFO - we take 102 photos in this while loop
MAIN: 2025-03-10 07:21:07,420 - INFO - /home/pi/Desktop/images/10032025/07/20/image_10032025_07_21_07_30232.jpg
MAIN: 2025-03-10 07:21:07,420 - INFO - duration: 0.6931768229987938
MAIN: 2025-03-10 07:21:07,421 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:21:37,390 - INFO - taking picture
MAIN: 2025-03-10 07:21:37,390 - INFO - we take 103 photos in this while loop
MAIN: 2025-03-10 07:21:37,391 - INFO - /home/pi/Desktop/images/10032025/07/21/image_10032025_07_21_37_29966.jpg
MAIN: 2025-03-10 07:21:37,391 - INFO - duration: 0.6972095830005856
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:22:06,441 - INFO - taking picture
MAIN: 2025-03-10 07:22:06,442 - INFO - we take 104 photos in this while loop
MAIN: 2025-03-10 07:22:06,442 - INFO - /home/pi/Desktop/images/10032025/07/21/image_10032025_07_22_06_29042.jpg
MAIN: 2025-03-10 07:22:06,442 - INFO - duration: 0.7063716669999849
MAIN: 2025-03-10 07:22:06,443 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/22'
MAIN: 2025-03-10 07:22:07,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:22:36,476 - INFO - taking picture
MAIN: 2025-03-10 07:22:36,477 - INFO - we take 105 photos in this while loop
MAIN: 2025-03-10 07:22:36,477 - INFO - /home/pi/Desktop/images/10032025/07/22/image_10032025_07_22_36_30082.jpg
MAIN: 2025-03-10 07:22:36,477 - INFO - duration: 0.6589965099992696
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:23:05,688 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:23:06,556 - INFO - taking picture
MAIN: 2025-03-10 07:23:06,556 - INFO - we take 106 photos in this while loop
MAIN: 2025-03-10 07:23:06,556 - INFO - /home/pi/Desktop/images/10032025/07/22/image_10032025_07_23_06_30077.jpg
MAIN: 2025-03-10 07:23:06,557 - INFO - duration: 0.6608438539988128
MAIN: 2025-03-10 07:23:06,557 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:23:36,523 - INFO - taking picture
MAIN: 2025-03-10 07:23:36,524 - INFO - we take 107 photos in this while loop
MAIN: 2025-03-10 07:23:36,524 - INFO - /home/pi/Desktop/images/10032025/07/23/image_10032025_07_23_36_29977.jpg
MAIN: 2025-03-10 07:23:36,524 - INFO - duration: 0.6509170310000627
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:24:05,998 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:24:06,776 - INFO - taking picture
MAIN: 2025-03-10 07:24:06,777 - INFO - we take 108 photos in this while loop
MAIN: 2025-03-10 07:24:06,777 - INFO - /home/pi/Desktop/images/10032025/07/23/image_10032025_07_24_06_30251.jpg
MAIN: 2025-03-10 07:24:06,777 - INFO - duration: 0.65194380200046
MAIN: 2025-03-10 07:24:06,777 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:24:36,675 - INFO - taking picture
MAIN: 2025-03-10 07:24:36,675 - INFO - we take 109 photos in this while loop
MAIN: 2025-03-10 07:24:36,675 - INFO - /home/pi/Desktop/images/10032025/07/24/image_10032025_07_24_36_29871.jpg
MAIN: 2025-03-10 07:24:36,676 - INFO - duration: 0.6788109369990707
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:25: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:25:06,991 - INFO - taking picture
MAIN: 2025-03-10 07:25:06,992 - INFO - we take 110 photos in this while loop
MAIN: 2025-03-10 07:25:06,992 - INFO - /home/pi/Desktop/images/10032025/07/24/image_10032025_07_25_06_30273.jpg
MAIN: 2025-03-10 07:25:06,992 - INFO - duration: 0.7216876559996308
MAIN: 2025-03-10 07:25:06,993 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:25:36,833 - INFO - taking picture
MAIN: 2025-03-10 07:25:36,833 - INFO - we take 111 photos in this while loop
MAIN: 2025-03-10 07:25:36,833 - INFO - /home/pi/Desktop/images/10032025/07/25/image_10032025_07_25_36_29851.jpg
MAIN: 2025-03-10 07:25:36,834 - INFO - duration: 0.711719010001616
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:26:06,540 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:26:07,044 - INFO - taking picture
MAIN: 2025-03-10 07:26:07,045 - INFO - we take 112 photos in this while loop
MAIN: 2025-03-10 07:26:07,045 - INFO - /home/pi/Desktop/images/10032025/07/25/image_10032025_07_26_06_30211.jpg
MAIN: 2025-03-10 07:26:07,045 - INFO - duration: 0.7115104689983127
MAIN: 2025-03-10 07:26:07,046 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:26:36,935 - INFO - taking picture
MAIN: 2025-03-10 07:26:36,936 - INFO - we take 113 photos in this while loop
MAIN: 2025-03-10 07:26:36,936 - INFO - /home/pi/Desktop/images/10032025/07/26/image_10032025_07_26_36_29889.jpg
MAIN: 2025-03-10 07:26:36,936 - INFO - duration: 0.7133111460007058
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:27:06,328 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:27:07,138 - INFO - taking picture
MAIN: 2025-03-10 07:27:07,139 - INFO - we take 114 photos in this while loop
MAIN: 2025-03-10 07:27:07,139 - INFO - /home/pi/Desktop/images/10032025/07/26/image_10032025_07_27_06_30255.jpg
MAIN: 2025-03-10 07:27:07,139 - INFO - duration: 0.660039427000811
MAIN: 2025-03-10 07:27:07,139 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:27:37,154 - INFO - taking picture
MAIN: 2025-03-10 07:27:37,155 - INFO - we take 115 photos in this while loop
MAIN: 2025-03-10 07:27:37,155 - INFO - /home/pi/Desktop/images/10032025/07/27/image_10032025_07_27_36_29961.jpg
MAIN: 2025-03-10 07:27:37,155 - INFO - duration: 0.7145666670003266
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:28:06,846 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:28:07,481 - INFO - taking picture
MAIN: 2025-03-10 07:28:07,481 - INFO - we take 116 photos in this while loop
MAIN: 2025-03-10 07:28:07,481 - INFO - /home/pi/Desktop/images/10032025/07/27/image_10032025_07_28_07_30346.jpg
MAIN: 2025-03-10 07:28:07,482 - INFO - duration: 0.6944684369991592
MAIN: 2025-03-10 07:28:07,482 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:28:37,401 - INFO - taking picture
MAIN: 2025-03-10 07:28:37,401 - INFO - we take 117 photos in this while loop
MAIN: 2025-03-10 07:28:37,401 - INFO - /home/pi/Desktop/images/10032025/07/28/image_10032025_07_28_37_29910.jpg
MAIN: 2025-03-10 07:28:37,402 - INFO - duration: 0.7039542179991258
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:29:06,227 - INFO - taking picture
MAIN: 2025-03-10 07:29:06,228 - INFO - we take 118 photos in this while loop
MAIN: 2025-03-10 07:29:06,228 - INFO - /home/pi/Desktop/images/10032025/07/28/image_10032025_07_29_05_28882.jpg
MAIN: 2025-03-10 07:29:06,228 - INFO - duration: 0.6483620309991238
MAIN: 2025-03-10 07:29:06,229 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/29'
MAIN: 2025-03-10 07:29:06,427 - INFO - cam.read() return no image
Will output and 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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:29:37,448 - INFO - taking picture
MAIN: 2025-03-10 07:29:37,449 - INFO - we take 119 photos in this while loop
MAIN: 2025-03-10 07:29:37,449 - INFO - /home/pi/Desktop/images/10032025/07/29/image_10032025_07_29_37_31164.jpg
MAIN: 2025-03-10 07:29:37,449 - INFO - duration: 0.7046539059992938
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:30:06,636 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 07:30:06,754 - INFO - taking picture
MAIN: 2025-03-10 07:30:06,755 - INFO - we take 120 photos in this while loop
MAIN: 2025-03-10 07:30:06,755 - INFO - /home/pi/Desktop/images/10032025/07/29/image_10032025_07_30_06_29324.jpg
MAIN: 2025-03-10 07:30:06,756 - INFO - duration: 0.6873685930004285
MAIN: 2025-03-10 07:30:06,756 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:30:36,758 - INFO - taking picture
MAIN: 2025-03-10 07:30:36,759 - INFO - we take 121 photos in this while loop
MAIN: 2025-03-10 07:30:36,759 - INFO - /home/pi/Desktop/images/10032025/07/30/image_10032025_07_30_36_29984.jpg
MAIN: 2025-03-10 07:30:36,759 - INFO - duration: 0.7059434369984956
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:31:05,812 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:31:06,956 - INFO - taking picture
MAIN: 2025-03-10 07:31:06,957 - INFO - we take 122 photos in this while loop
MAIN: 2025-03-10 07:31:06,957 - INFO - /home/pi/Desktop/images/10032025/07/30/image_10032025_07_31_06_30222.jpg
MAIN: 2025-03-10 07:31:06,957 - INFO - duration: 0.6812911460001487
MAIN: 2025-03-10 07:31:06,958 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:31:36,954 - INFO - taking picture
MAIN: 2025-03-10 07:31:36,955 - INFO - we take 123 photos in this while loop
MAIN: 2025-03-10 07:31:36,955 - INFO - /home/pi/Desktop/images/10032025/07/31/image_10032025_07_31_36_29969.jpg
MAIN: 2025-03-10 07:31:36,955 - INFO - duration: 0.7100805199988827
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:32: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:32:07,178 - INFO - taking picture
MAIN: 2025-03-10 07:32:07,178 - INFO - we take 124 photos in this while loop
MAIN: 2025-03-10 07:32:07,179 - INFO - /home/pi/Desktop/images/10032025/07/31/image_10032025_07_32_06_30228.jpg
MAIN: 2025-03-10 07:32:07,179 - INFO - duration: 0.7047067189996596
MAIN: 2025-03-10 07:32:07,179 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:32:37,033 - INFO - taking picture
MAIN: 2025-03-10 07:32:37,034 - INFO - we take 125 photos in this while loop
MAIN: 2025-03-10 07:32:37,034 - INFO - /home/pi/Desktop/images/10032025/07/32/image_10032025_07_32_36_29864.jpg
MAIN: 2025-03-10 07:32:37,034 - INFO - duration: 0.6955958849994204
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:33:06,109 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:33:07,055 - INFO - taking picture
MAIN: 2025-03-10 07:33:07,056 - INFO - we take 126 photos in this while loop
MAIN: 2025-03-10 07:33:07,056 - INFO - /home/pi/Desktop/images/10032025/07/32/image_10032025_07_33_06_30063.jpg
MAIN: 2025-03-10 07:33:07,056 - INFO - duration: 0.6537954689993057
MAIN: 2025-03-10 07:33:07,057 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:33:36,903 - INFO - taking picture
MAIN: 2025-03-10 07:33:36,904 - INFO - we take 127 photos in this while loop
MAIN: 2025-03-10 07:33:36,904 - INFO - /home/pi/Desktop/images/10032025/07/33/image_10032025_07_33_36_29806.jpg
MAIN: 2025-03-10 07:33:36,904 - INFO - duration: 0.6950365100001363
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:34:06,583 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:34:07,181 - INFO - taking picture
MAIN: 2025-03-10 07:34:07,182 - INFO - we take 128 photos in this while loop
MAIN: 2025-03-10 07:34:07,182 - INFO - /home/pi/Desktop/images/10032025/07/33/image_10032025_07_34_06_30248.jpg
MAIN: 2025-03-10 07:34:07,182 - INFO - duration: 0.724980103001144
MAIN: 2025-03-10 07:34:07,183 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:34:37,121 - INFO - taking picture
MAIN: 2025-03-10 07:34:37,122 - INFO - we take 129 photos in this while loop
MAIN: 2025-03-10 07:34:37,122 - INFO - /home/pi/Desktop/images/10032025/07/34/image_10032025_07_34_36_29969.jpg
MAIN: 2025-03-10 07:34:37,122 - INFO - duration: 0.6955414580006618
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:35:06,280 - INFO - taking picture
MAIN: 2025-03-10 07:35:06,281 - INFO - we take 130 photos in this while loop
MAIN: 2025-03-10 07:35:06,281 - INFO - /home/pi/Desktop/images/10032025/07/34/image_10032025_07_35_05_29172.jpg
MAIN: 2025-03-10 07:35:06,281 - INFO - duration: 0.682330052000907
MAIN: 2025-03-10 07:35:06,282 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/35'
MAIN: 2025-03-10 07:35:06,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:35:37,399 - INFO - taking picture
MAIN: 2025-03-10 07:35:37,400 - INFO - we take 131 photos in this while loop
MAIN: 2025-03-10 07:35:37,400 - INFO - /home/pi/Desktop/images/10032025/07/35/image_10032025_07_35_37_31148.jpg
MAIN: 2025-03-10 07:35:37,400 - INFO - duration: 0.6527606239997112
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:36:06,510 - INFO - taking picture
MAIN: 2025-03-10 07:36:06,510 - INFO - we take 132 photos in this while loop
MAIN: 2025-03-10 07:36:06,511 - INFO - /home/pi/Desktop/images/10032025/07/35/image_10032025_07_36_06_29068.jpg
MAIN: 2025-03-10 07:36:06,511 - INFO - duration: 0.694766979000633
MAIN: 2025-03-10 07:36:06,511 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/36'
MAIN: 2025-03-10 07:36:06,935 - INFO - cam.read() return no image
Will output and 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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:36:36,384 - INFO - taking picture
MAIN: 2025-03-10 07:36:36,384 - INFO - we take 133 photos in this while loop
MAIN: 2025-03-10 07:36:36,385 - INFO - /home/pi/Desktop/images/10032025/07/36/image_10032025_07_36_35_29854.jpg
MAIN: 2025-03-10 07:36:36,385 - INFO - duration: 0.7142140619998827
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:37:05,879 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:37:06,532 - INFO - taking picture
MAIN: 2025-03-10 07:37:06,533 - INFO - we take 134 photos in this while loop
MAIN: 2025-03-10 07:37:06,533 - INFO - /home/pi/Desktop/images/10032025/07/36/image_10032025_07_37_06_30167.jpg
MAIN: 2025-03-10 07:37:06,533 - INFO - duration: 0.6956312499987689
MAIN: 2025-03-10 07:37:06,534 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:37:37,479 - INFO - taking picture
MAIN: 2025-03-10 07:37:37,479 - INFO - we take 135 photos in this while loop
MAIN: 2025-03-10 07:37:37,480 - INFO - /home/pi/Desktop/images/10032025/07/37/image_10032025_07_37_37_30939.jpg
MAIN: 2025-03-10 07:37:37,480 - INFO - duration: 0.7027748429991334
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:38:06,250 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 07:38:06,468 - INFO - taking picture
MAIN: 2025-03-10 07:38:06,468 - INFO - we take 136 photos in this while loop
MAIN: 2025-03-10 07:38:06,468 - INFO - /home/pi/Desktop/images/10032025/07/37/image_10032025_07_38_06_28971.jpg
MAIN: 2025-03-10 07:38:06,469 - INFO - duration: 0.7205552079994959
MAIN: 2025-03-10 07:38:06,469 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:38:36,312 - INFO - taking picture
MAIN: 2025-03-10 07:38:36,313 - INFO - we take 137 photos in this while loop
MAIN: 2025-03-10 07:38:36,313 - INFO - /home/pi/Desktop/images/10032025/07/38/image_10032025_07_38_35_29857.jpg
MAIN: 2025-03-10 07:38:36,313 - INFO - duration: 0.7078391659997578
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:39:05,877 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:39:06,529 - INFO - taking picture
MAIN: 2025-03-10 07:39:06,529 - INFO - we take 138 photos in this while loop
MAIN: 2025-03-10 07:39:06,529 - INFO - /home/pi/Desktop/images/10032025/07/38/image_10032025_07_39_06_30203.jpg
MAIN: 2025-03-10 07:39:06,530 - INFO - duration: 0.7204713540013472
MAIN: 2025-03-10 07:39:06,530 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:39:36,346 - INFO - taking picture
MAIN: 2025-03-10 07:39:36,347 - INFO - we take 139 photos in this while loop
MAIN: 2025-03-10 07:39:36,347 - INFO - /home/pi/Desktop/images/10032025/07/39/image_10032025_07_39_35_29837.jpg
MAIN: 2025-03-10 07:39:36,347 - INFO - duration: 0.7006048439998267
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:40:06,968 - INFO - taking picture
MAIN: 2025-03-10 07:40:06,969 - INFO - we take 140 photos in this while loop
MAIN: 2025-03-10 07:40:06,969 - INFO - /home/pi/Desktop/images/10032025/07/39/image_10032025_07_40_06_30640.jpg
MAIN: 2025-03-10 07:40:06,969 - INFO - duration: 0.6824738529994647
MAIN: 2025-03-10 07:40:06,970 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/40'
MAIN: 2025-03-10 07:40:07,321 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:40:36,584 - INFO - taking picture
MAIN: 2025-03-10 07:40:36,585 - INFO - we take 141 photos in this while loop
MAIN: 2025-03-10 07:40:36,585 - INFO - /home/pi/Desktop/images/10032025/07/40/image_10032025_07_40_36_29650.jpg
MAIN: 2025-03-10 07:40:36,585 - INFO - duration: 0.6483643749998009
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:41: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:41:06,976 - INFO - taking picture
MAIN: 2025-03-10 07:41:06,977 - INFO - we take 142 photos in this while loop
MAIN: 2025-03-10 07:41:06,977 - INFO - /home/pi/Desktop/images/10032025/07/40/image_10032025_07_41_06_30386.jpg
MAIN: 2025-03-10 07:41:06,977 - INFO - duration: 0.6535047399993346
MAIN: 2025-03-10 07:41:06,978 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:41:36,774 - INFO - taking picture
MAIN: 2025-03-10 07:41:36,774 - INFO - we take 143 photos in this while loop
MAIN: 2025-03-10 07:41:36,775 - INFO - /home/pi/Desktop/images/10032025/07/41/image_10032025_07_41_36_29745.jpg
MAIN: 2025-03-10 07:41:36,775 - INFO - duration: 0.7054989059997752
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:42:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:42:06,991 - INFO - taking picture
MAIN: 2025-03-10 07:42:06,992 - INFO - we take 144 photos in this while loop
MAIN: 2025-03-10 07:42:06,992 - INFO - /home/pi/Desktop/images/10032025/07/41/image_10032025_07_42_06_30274.jpg
MAIN: 2025-03-10 07:42:06,992 - INFO - duration: 0.6485543740000139
MAIN: 2025-03-10 07:42:06,993 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:42:36,943 - INFO - taking picture
MAIN: 2025-03-10 07:42:36,943 - INFO - we take 145 photos in this while loop
MAIN: 2025-03-10 07:42:36,943 - INFO - /home/pi/Desktop/images/10032025/07/42/image_10032025_07_42_36_29903.jpg
MAIN: 2025-03-10 07:42:36,943 - INFO - duration: 0.696545156000866
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:43:05,585 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:43:07,029 - INFO - taking picture
MAIN: 2025-03-10 07:43:07,030 - INFO - we take 146 photos in this while loop
MAIN: 2025-03-10 07:43:07,030 - INFO - /home/pi/Desktop/images/10032025/07/42/image_10032025_07_43_06_30075.jpg
MAIN: 2025-03-10 07:43:07,030 - INFO - duration: 0.7076717180007108
MAIN: 2025-03-10 07:43:07,030 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:43:36,992 - INFO - taking picture
MAIN: 2025-03-10 07:43:36,992 - INFO - we take 147 photos in this while loop
MAIN: 2025-03-10 07:43:36,992 - INFO - /home/pi/Desktop/images/10032025/07/43/image_10032025_07_43_36_29967.jpg
MAIN: 2025-03-10 07:43:36,993 - INFO - duration: 0.7023533339997812
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:44:07,338 - INFO - taking picture
MAIN: 2025-03-10 07:44:07,338 - INFO - we take 148 photos in this while loop
MAIN: 2025-03-10 07:44:07,338 - INFO - /home/pi/Desktop/images/10032025/07/43/image_10032025_07_44_06_30345.jpg
MAIN: 2025-03-10 07:44:07,339 - INFO - duration: 0.7026830200011318
MAIN: 2025-03-10 07:44:07,339 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/44'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:44:37,182 - INFO - taking picture
MAIN: 2025-03-10 07:44:37,183 - INFO - we take 149 photos in this while loop
MAIN: 2025-03-10 07:44:37,183 - INFO - /home/pi/Desktop/images/10032025/07/44/image_10032025_07_44_36_29850.jpg
MAIN: 2025-03-10 07:44:37,183 - INFO - duration: 0.6971192189994326
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:45:06,418 - INFO - taking picture
MAIN: 2025-03-10 07:45:06,419 - INFO - we take 150 photos in this while loop
MAIN: 2025-03-10 07:45:06,419 - INFO - /home/pi/Desktop/images/10032025/07/44/image_10032025_07_45_06_29237.jpg
MAIN: 2025-03-10 07:45:06,420 - INFO - duration: 0.6953948440004751
MAIN: 2025-03-10 07:45:06,420 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/45'
MAIN: 2025-03-10 07:45:06,777 - INFO - cam.read() return no image
Will output and 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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:45:36,292 - INFO - taking picture
MAIN: 2025-03-10 07:45:36,293 - INFO - we take 151 photos in this while loop
MAIN: 2025-03-10 07:45:36,293 - INFO - /home/pi/Desktop/images/10032025/07/45/image_10032025_07_45_35_29858.jpg
MAIN: 2025-03-10 07:45:36,293 - INFO - duration: 0.7107826040009968
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:46: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-10 07:46:06,891 - INFO - taking picture
MAIN: 2025-03-10 07:46:06,891 - INFO - we take 152 photos in this while loop
MAIN: 2025-03-10 07:46:06,891 - INFO - /home/pi/Desktop/images/10032025/07/45/image_10032025_07_46_06_30579.jpg
MAIN: 2025-03-10 07:46:06,892 - INFO - duration: 0.7298965099998895
MAIN: 2025-03-10 07:46:06,892 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:46:36,867 - INFO - taking picture
MAIN: 2025-03-10 07:46:36,868 - INFO - we take 153 photos in this while loop
MAIN: 2025-03-10 07:46:36,868 - INFO - /home/pi/Desktop/images/10032025/07/46/image_10032025_07_46_36_29985.jpg
MAIN: 2025-03-10 07:46:36,868 - INFO - duration: 0.7213574999987031
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:47: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:47:07,178 - INFO - taking picture
MAIN: 2025-03-10 07:47:07,179 - INFO - we take 154 photos in this while loop
MAIN: 2025-03-10 07:47:07,179 - INFO - /home/pi/Desktop/images/10032025/07/46/image_10032025_07_47_06_30310.jpg
MAIN: 2025-03-10 07:47:07,179 - INFO - duration: 0.7222718739994889
MAIN: 2025-03-10 07:47:07,180 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:47:37,019 - INFO - taking picture
MAIN: 2025-03-10 07:47:37,020 - INFO - we take 155 photos in this while loop
MAIN: 2025-03-10 07:47:37,020 - INFO - /home/pi/Desktop/images/10032025/07/47/image_10032025_07_47_36_29859.jpg
MAIN: 2025-03-10 07:47:37,020 - INFO - duration: 0.7041388010002265
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:48:06,296 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:48:07,093 - INFO - taking picture
MAIN: 2025-03-10 07:48:07,093 - INFO - we take 156 photos in this while loop
MAIN: 2025-03-10 07:48:07,094 - INFO - /home/pi/Desktop/images/10032025/07/47/image_10032025_07_48_06_30122.jpg
MAIN: 2025-03-10 07:48:07,094 - INFO - duration: 0.6551672920013516
MAIN: 2025-03-10 07:48:07,094 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/48'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:48:36,870 - INFO - taking picture
MAIN: 2025-03-10 07:48:36,870 - INFO - we take 157 photos in this while loop
MAIN: 2025-03-10 07:48:36,870 - INFO - /home/pi/Desktop/images/10032025/07/48/image_10032025_07_48_36_29749.jpg
MAIN: 2025-03-10 07:48:36,870 - INFO - duration: 0.6828251040005853
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:49: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:49:06,922 - INFO - taking picture
MAIN: 2025-03-10 07:49:06,923 - INFO - we take 158 photos in this while loop
MAIN: 2025-03-10 07:49:06,923 - INFO - /home/pi/Desktop/images/10032025/07/48/image_10032025_07_49_06_30046.jpg
MAIN: 2025-03-10 07:49:06,923 - INFO - duration: 0.6884944260000339
MAIN: 2025-03-10 07:49:06,923 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/49'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:49:36,785 - INFO - taking picture
MAIN: 2025-03-10 07:49:36,786 - INFO - we take 159 photos in this while loop
MAIN: 2025-03-10 07:49:36,786 - INFO - /home/pi/Desktop/images/10032025/07/49/image_10032025_07_49_36_29851.jpg
MAIN: 2025-03-10 07:49:36,786 - INFO - duration: 0.7002063540003292
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:50:07,028 - INFO - cam.read() 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-10 07:50:07,314 - INFO - taking picture
MAIN: 2025-03-10 07:50:07,315 - INFO - we take 160 photos in this while loop
MAIN: 2025-03-10 07:50:07,315 - INFO - /home/pi/Desktop/images/10032025/07/49/image_10032025_07_50_06_30524.jpg
MAIN: 2025-03-10 07:50:07,315 - INFO - duration: 0.7045759369993903
MAIN: 2025-03-10 07:50:07,316 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/50'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:50:37,288 - INFO - taking picture
MAIN: 2025-03-10 07:50:37,288 - INFO - we take 161 photos in this while loop
MAIN: 2025-03-10 07:50:37,289 - INFO - /home/pi/Desktop/images/10032025/07/50/image_10032025_07_50_36_30018.jpg
MAIN: 2025-03-10 07:50:37,289 - INFO - duration: 0.6594386979995761
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:51:06,631 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:51:07,477 - INFO - taking picture
MAIN: 2025-03-10 07:51:07,478 - INFO - we take 162 photos in this while loop
MAIN: 2025-03-10 07:51:07,478 - INFO - /home/pi/Desktop/images/10032025/07/50/image_10032025_07_51_07_30164.jpg
MAIN: 2025-03-10 07:51:07,478 - INFO - duration: 0.6839705200000026
MAIN: 2025-03-10 07:51:07,479 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/51'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:51:37,393 - INFO - taking picture
MAIN: 2025-03-10 07:51:37,393 - INFO - we take 163 photos in this while loop
MAIN: 2025-03-10 07:51:37,393 - INFO - /home/pi/Desktop/images/10032025/07/51/image_10032025_07_51_37_29888.jpg
MAIN: 2025-03-10 07:51:37,393 - INFO - duration: 0.7110751039999741
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:52:06,031 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:52:06,484 - INFO - taking picture
MAIN: 2025-03-10 07:52:06,485 - INFO - we take 164 photos in this while loop
MAIN: 2025-03-10 07:52:06,485 - INFO - /home/pi/Desktop/images/10032025/07/51/image_10032025_07_52_06_29065.jpg
MAIN: 2025-03-10 07:52:06,485 - INFO - duration: 0.7365929690004123
MAIN: 2025-03-10 07:52:06,485 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/52'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:52:36,487 - INFO - taking picture
MAIN: 2025-03-10 07:52:36,488 - INFO - we take 165 photos in this while loop
MAIN: 2025-03-10 07:52:36,488 - INFO - /home/pi/Desktop/images/10032025/07/52/image_10032025_07_52_36_30027.jpg
MAIN: 2025-03-10 07:52:36,488 - INFO - duration: 0.7121325520001847
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:53: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:53:06,866 - INFO - taking picture
MAIN: 2025-03-10 07:53:06,867 - INFO - we take 166 photos in this while loop
MAIN: 2025-03-10 07:53:06,867 - INFO - /home/pi/Desktop/images/10032025/07/52/image_10032025_07_53_06_30408.jpg
MAIN: 2025-03-10 07:53:06,867 - INFO - duration: 0.682170625001163
MAIN: 2025-03-10 07:53:06,867 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:53:36,871 - INFO - taking picture
MAIN: 2025-03-10 07:53:36,872 - INFO - we take 167 photos in this while loop
MAIN: 2025-03-10 07:53:36,872 - INFO - /home/pi/Desktop/images/10032025/07/53/image_10032025_07_53_36_29997.jpg
MAIN: 2025-03-10 07:53:36,872 - INFO - duration: 0.6902969790007774
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:54: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:54:07,140 - INFO - taking picture
MAIN: 2025-03-10 07:54:07,141 - INFO - we take 168 photos in this while loop
MAIN: 2025-03-10 07:54:07,141 - INFO - /home/pi/Desktop/images/10032025/07/53/image_10032025_07_54_06_30267.jpg
MAIN: 2025-03-10 07:54:07,141 - INFO - duration: 0.6921936969993112
MAIN: 2025-03-10 07:54:07,142 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:54:37,228 - INFO - taking picture
MAIN: 2025-03-10 07:54:37,229 - INFO - we take 169 photos in this while loop
MAIN: 2025-03-10 07:54:37,229 - INFO - /home/pi/Desktop/images/10032025/07/54/image_10032025_07_54_36_30081.jpg
MAIN: 2025-03-10 07:54:37,229 - INFO - duration: 0.6985136450002756
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:55: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-10 07:55:06,633 - INFO - taking picture
MAIN: 2025-03-10 07:55:06,633 - INFO - we take 170 photos in this while loop
MAIN: 2025-03-10 07:55:06,634 - INFO - /home/pi/Desktop/images/10032025/07/54/image_10032025_07_55_06_29392.jpg
MAIN: 2025-03-10 07:55:06,634 - INFO - duration: 0.7110418749998644
MAIN: 2025-03-10 07:55:06,634 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:55:36,598 - INFO - taking picture
MAIN: 2025-03-10 07:55:36,599 - INFO - we take 171 photos in this while loop
MAIN: 2025-03-10 07:55:36,599 - INFO - /home/pi/Desktop/images/10032025/07/55/image_10032025_07_55_36_29965.jpg
MAIN: 2025-03-10 07:55:36,599 - INFO - duration: 0.7113198959996225
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:56: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:56:07,065 - INFO - taking picture
MAIN: 2025-03-10 07:56:07,066 - INFO - we take 172 photos in this while loop
MAIN: 2025-03-10 07:56:07,066 - INFO - /home/pi/Desktop/images/10032025/07/55/image_10032025_07_56_06_30452.jpg
MAIN: 2025-03-10 07:56:07,066 - INFO - duration: 0.7259361970009195
MAIN: 2025-03-10 07:56:07,067 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:56:37,260 - INFO - taking picture
MAIN: 2025-03-10 07:56:37,260 - INFO - we take 173 photos in this while loop
MAIN: 2025-03-10 07:56:37,261 - INFO - /home/pi/Desktop/images/10032025/07/56/image_10032025_07_56_36_30197.jpg
MAIN: 2025-03-10 07:56:37,261 - INFO - duration: 0.7227837499995076
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:57: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:57:07,446 - INFO - taking picture
MAIN: 2025-03-10 07:57:07,447 - INFO - we take 174 photos in this while loop
MAIN: 2025-03-10 07:57:07,447 - INFO - /home/pi/Desktop/images/10032025/07/56/image_10032025_07_57_07_30251.jpg
MAIN: 2025-03-10 07:57:07,447 - INFO - duration: 0.657173020999835
MAIN: 2025-03-10 07:57:07,447 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:57:37,519 - INFO - taking picture
MAIN: 2025-03-10 07:57:37,519 - INFO - we take 175 photos in this while loop
MAIN: 2025-03-10 07:57:37,520 - INFO - /home/pi/Desktop/images/10032025/07/57/image_10032025_07_57_37_30016.jpg
MAIN: 2025-03-10 07:57:37,520 - INFO - duration: 0.7135709379999753
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:58:05,916 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:58:06,680 - INFO - taking picture
MAIN: 2025-03-10 07:58:06,681 - INFO - we take 176 photos in this while loop
MAIN: 2025-03-10 07:58:06,681 - INFO - /home/pi/Desktop/images/10032025/07/57/image_10032025_07_58_06_29191.jpg
MAIN: 2025-03-10 07:58:06,681 - INFO - duration: 0.6834727599998587
MAIN: 2025-03-10 07:58:06,681 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:58:36,745 - INFO - taking picture
MAIN: 2025-03-10 07:58:36,745 - INFO - we take 177 photos in this while loop
MAIN: 2025-03-10 07:58:36,745 - INFO - /home/pi/Desktop/images/10032025/07/58/image_10032025_07_58_36_30027.jpg
MAIN: 2025-03-10 07:58:36,746 - INFO - duration: 0.7207765099992685
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 07:59: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:59:07,090 - INFO - taking picture
MAIN: 2025-03-10 07:59:07,091 - INFO - we take 178 photos in this while loop
MAIN: 2025-03-10 07:59:07,091 - INFO - /home/pi/Desktop/images/10032025/07/58/image_10032025_07_59_06_30370.jpg
MAIN: 2025-03-10 07:59:07,091 - INFO - duration: 0.695535208000365
MAIN: 2025-03-10 07:59:07,091 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/07/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 07:59:37,054 - INFO - taking picture
MAIN: 2025-03-10 07:59:37,055 - INFO - we take 179 photos in this while loop
MAIN: 2025-03-10 07:59:37,055 - INFO - /home/pi/Desktop/images/10032025/07/59/image_10032025_07_59_36_29968.jpg
MAIN: 2025-03-10 07:59:37,055 - INFO - duration: 0.6906129680010054
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:00:06,451 - INFO - taking picture
MAIN: 2025-03-10 08:00:06,452 - INFO - we take 180 photos in this while loop
MAIN: 2025-03-10 08:00:06,452 - INFO - /home/pi/Desktop/images/10032025/07/59/image_10032025_08_00_06_29283.jpg
MAIN: 2025-03-10 08:00:06,453 - INFO - duration: 0.8052806240011705
MAIN: 2025-03-10 08:00:06,454 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/00'
MAIN: 2025-03-10 08:00:06,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:00:36,417 - INFO - taking picture
MAIN: 2025-03-10 08:00:36,418 - INFO - we take 181 photos in this while loop
MAIN: 2025-03-10 08:00:36,418 - INFO - /home/pi/Desktop/images/10032025/08/00/image_10032025_08_00_36_30050.jpg
MAIN: 2025-03-10 08:00:36,418 - INFO - duration: 0.7204020310000487
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:01: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:01:07,033 - INFO - taking picture
MAIN: 2025-03-10 08:01:07,034 - INFO - we take 182 photos in this while loop
MAIN: 2025-03-10 08:01:07,034 - INFO - /home/pi/Desktop/images/10032025/08/00/image_10032025_08_01_06_30610.jpg
MAIN: 2025-03-10 08:01:07,034 - INFO - duration: 0.7263302080009453
MAIN: 2025-03-10 08:01:07,035 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:01:36,862 - INFO - taking picture
MAIN: 2025-03-10 08:01:36,862 - INFO - we take 183 photos in this while loop
MAIN: 2025-03-10 08:01:36,863 - INFO - /home/pi/Desktop/images/10032025/08/01/image_10032025_08_01_36_29842.jpg
MAIN: 2025-03-10 08:01:36,863 - INFO - duration: 0.7122775520001596
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:02:06,169 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:02:07,291 - INFO - taking picture
MAIN: 2025-03-10 08:02:07,291 - INFO - we take 184 photos in this while loop
MAIN: 2025-03-10 08:02:07,292 - INFO - /home/pi/Desktop/images/10032025/08/01/image_10032025_08_02_06_30442.jpg
MAIN: 2025-03-10 08:02:07,292 - INFO - duration: 0.6989709369991033
MAIN: 2025-03-10 08:02:07,292 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:02:37,320 - INFO - taking picture
MAIN: 2025-03-10 08:02:37,320 - INFO - we take 185 photos in this while loop
MAIN: 2025-03-10 08:02:37,321 - INFO - /home/pi/Desktop/images/10032025/08/02/image_10032025_08_02_36_30006.jpg
MAIN: 2025-03-10 08:02:37,321 - INFO - duration: 0.7216092700000445
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:03: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:03:06,464 - INFO - taking picture
MAIN: 2025-03-10 08:03:06,464 - INFO - we take 186 photos in this while loop
MAIN: 2025-03-10 08:03:06,465 - INFO - /home/pi/Desktop/images/10032025/08/02/image_10032025_08_03_06_29146.jpg
MAIN: 2025-03-10 08:03:06,465 - INFO - duration: 0.7195703640009015
MAIN: 2025-03-10 08:03:06,465 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/03'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:03:36,373 - INFO - taking picture
MAIN: 2025-03-10 08:03:36,374 - INFO - we take 187 photos in this while loop
MAIN: 2025-03-10 08:03:36,374 - INFO - /home/pi/Desktop/images/10032025/08/03/image_10032025_08_03_35_29913.jpg
MAIN: 2025-03-10 08:03:36,374 - INFO - duration: 0.7154201560006186
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:04: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-10 08:04:06,974 - INFO - taking picture
MAIN: 2025-03-10 08:04:06,974 - INFO - we take 188 photos in this while loop
MAIN: 2025-03-10 08:04:06,975 - INFO - /home/pi/Desktop/images/10032025/08/03/image_10032025_08_04_06_30592.jpg
MAIN: 2025-03-10 08:04:06,975 - INFO - duration: 0.7231252599995059
MAIN: 2025-03-10 08:04:06,975 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/04'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:04:37,186 - INFO - taking picture
MAIN: 2025-03-10 08:04:37,186 - INFO - we take 189 photos in this while loop
MAIN: 2025-03-10 08:04:37,187 - INFO - /home/pi/Desktop/images/10032025/08/04/image_10032025_08_04_36_30278.jpg
MAIN: 2025-03-10 08:04:37,187 - INFO - duration: 0.6566607810000278
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:05:06,477 - INFO - taking picture
MAIN: 2025-03-10 08:05:06,477 - INFO - we take 190 photos in this while loop
MAIN: 2025-03-10 08:05:06,478 - INFO - /home/pi/Desktop/images/10032025/08/04/image_10032025_08_05_06_29221.jpg
MAIN: 2025-03-10 08:05:06,478 - INFO - duration: 0.7261103649998404
MAIN: 2025-03-10 08:05:06,478 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/05'
MAIN: 2025-03-10 08:05:06,787 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:05:36,525 - INFO - taking picture
MAIN: 2025-03-10 08:05:36,526 - INFO - we take 191 photos in this while loop
MAIN: 2025-03-10 08:05:36,526 - INFO - /home/pi/Desktop/images/10032025/08/05/image_10032025_08_05_36_30041.jpg
MAIN: 2025-03-10 08:05:36,526 - INFO - duration: 0.7329732289999811
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:06:06,066 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:06:06,840 - INFO - taking picture
MAIN: 2025-03-10 08:06:06,840 - INFO - we take 192 photos in this while loop
MAIN: 2025-03-10 08:06:06,841 - INFO - /home/pi/Desktop/images/10032025/08/05/image_10032025_08_06_06_30379.jpg
MAIN: 2025-03-10 08:06:06,841 - INFO - duration: 0.6681250519995956
MAIN: 2025-03-10 08:06:06,841 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:06:36,979 - INFO - taking picture
MAIN: 2025-03-10 08:06:36,980 - INFO - we take 193 photos in this while loop
MAIN: 2025-03-10 08:06:36,980 - INFO - /home/pi/Desktop/images/10032025/08/06/image_10032025_08_06_36_30110.jpg
MAIN: 2025-03-10 08:06:36,980 - INFO - duration: 0.697274271000424
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:07: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 ! 
MAIN: 2025-03-10 08:07:06,313 - INFO - taking picture
MAIN: 2025-03-10 08:07:06,314 - INFO - we take 194 photos in this while loop
MAIN: 2025-03-10 08:07:06,314 - INFO - /home/pi/Desktop/images/10032025/08/06/image_10032025_08_07_05_29282.jpg
MAIN: 2025-03-10 08:07:06,314 - INFO - duration: 0.7488538540001173
MAIN: 2025-03-10 08:07:06,314 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:07:36,364 - INFO - taking picture
MAIN: 2025-03-10 08:07:36,365 - INFO - we take 195 photos in this while loop
MAIN: 2025-03-10 08:07:36,365 - INFO - /home/pi/Desktop/images/10032025/08/07/image_10032025_08_07_35_30102.jpg
MAIN: 2025-03-10 08:07:36,365 - INFO - duration: 0.6971717710002849
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:08: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:08:06,858 - INFO - taking picture
MAIN: 2025-03-10 08:08:06,859 - INFO - we take 196 photos in this while loop
MAIN: 2025-03-10 08:08:06,859 - INFO - /home/pi/Desktop/images/10032025/08/07/image_10032025_08_08_06_30486.jpg
MAIN: 2025-03-10 08:08:06,859 - INFO - duration: 0.705171405999863
MAIN: 2025-03-10 08:08:06,860 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:08:37,033 - INFO - taking picture
MAIN: 2025-03-10 08:08:37,034 - INFO - we take 197 photos in this while loop
MAIN: 2025-03-10 08:08:37,034 - INFO - /home/pi/Desktop/images/10032025/08/08/image_10032025_08_08_36_30156.jpg
MAIN: 2025-03-10 08:08:37,034 - INFO - duration: 0.7238158849995671
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:09:06,021 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:09:07,415 - INFO - taking picture
MAIN: 2025-03-10 08:09:07,415 - INFO - we take 198 photos in this while loop
MAIN: 2025-03-10 08:09:07,416 - INFO - /home/pi/Desktop/images/10032025/08/08/image_10032025_08_09_07_30394.jpg
MAIN: 2025-03-10 08:09:07,416 - INFO - duration: 0.7104636450003454
MAIN: 2025-03-10 08:09:07,416 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:09:37,429 - INFO - taking picture
MAIN: 2025-03-10 08:09:37,430 - INFO - we take 199 photos in this while loop
MAIN: 2025-03-10 08:09:37,430 - INFO - /home/pi/Desktop/images/10032025/08/09/image_10032025_08_09_37_30034.jpg
MAIN: 2025-03-10 08:09:37,430 - INFO - duration: 0.6907993749991874
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:10:07,027 - INFO - taking picture
MAIN: 2025-03-10 08:10:07,028 - INFO - we take 200 photos in this while loop
MAIN: 2025-03-10 08:10:07,029 - INFO - /home/pi/Desktop/images/10032025/08/09/image_10032025_08_10_06_29579.jpg
MAIN: 2025-03-10 08:10:07,029 - INFO - duration: 0.7102206250001473
MAIN: 2025-03-10 08:10:07,030 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/10'
MAIN: 2025-03-10 08:10: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:10:37,160 - INFO - taking picture
MAIN: 2025-03-10 08:10:37,160 - INFO - we take 201 photos in this while loop
MAIN: 2025-03-10 08:10:37,160 - INFO - /home/pi/Desktop/images/10032025/08/10/image_10032025_08_10_36_30125.jpg
MAIN: 2025-03-10 08:10:37,161 - INFO - duration: 0.7158878120008012
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:11:05,503 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:11:06,338 - INFO - taking picture
MAIN: 2025-03-10 08:11:06,338 - INFO - we take 202 photos in this while loop
MAIN: 2025-03-10 08:11:06,338 - INFO - /home/pi/Desktop/images/10032025/08/10/image_10032025_08_11_05_29233.jpg
MAIN: 2025-03-10 08:11:06,339 - INFO - duration: 0.6603980729996692
MAIN: 2025-03-10 08:11:06,339 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:11:36,292 - INFO - taking picture
MAIN: 2025-03-10 08:11:36,293 - INFO - we take 203 photos in this while loop
MAIN: 2025-03-10 08:11:36,293 - INFO - /home/pi/Desktop/images/10032025/08/11/image_10032025_08_11_35_29927.jpg
MAIN: 2025-03-10 08:11:36,293 - INFO - duration: 0.6872614579988294
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:12:05,845 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:12:06,709 - INFO - taking picture
MAIN: 2025-03-10 08:12:06,709 - INFO - we take 204 photos in this while loop
MAIN: 2025-03-10 08:12:06,709 - INFO - /home/pi/Desktop/images/10032025/08/11/image_10032025_08_12_06_30431.jpg
MAIN: 2025-03-10 08:12:06,710 - INFO - duration: 0.6720821349990729
MAIN: 2025-03-10 08:12:06,710 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:12:36,710 - INFO - taking picture
MAIN: 2025-03-10 08:12:36,710 - INFO - we take 205 photos in this while loop
MAIN: 2025-03-10 08:12:36,710 - INFO - /home/pi/Desktop/images/10032025/08/12/image_10032025_08_12_36_29978.jpg
MAIN: 2025-03-10 08:12:36,711 - INFO - duration: 0.6946217189997697
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:13:05,703 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:13:07,009 - INFO - taking picture
MAIN: 2025-03-10 08:13:07,009 - INFO - we take 206 photos in this while loop
MAIN: 2025-03-10 08:13:07,009 - INFO - /home/pi/Desktop/images/10032025/08/12/image_10032025_08_13_06_30299.jpg
MAIN: 2025-03-10 08:13:07,009 - INFO - duration: 0.694408540999575
MAIN: 2025-03-10 08:13:07,010 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:13:37,178 - INFO - taking picture
MAIN: 2025-03-10 08:13:37,179 - INFO - we take 207 photos in this while loop
MAIN: 2025-03-10 08:13:37,179 - INFO - /home/pi/Desktop/images/10032025/08/13/image_10032025_08_13_36_30157.jpg
MAIN: 2025-03-10 08:13:37,179 - INFO - duration: 0.706050103999587
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:14:06,563 - INFO - taking picture
MAIN: 2025-03-10 08:14:06,564 - INFO - we take 208 photos in this while loop
MAIN: 2025-03-10 08:14:06,564 - INFO - /home/pi/Desktop/images/10032025/08/13/image_10032025_08_14_06_29408.jpg
MAIN: 2025-03-10 08:14:06,564 - INFO - duration: 0.6823733330002142
MAIN: 2025-03-10 08:14:06,564 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/14'
MAIN: 2025-03-10 08:14:06,776 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:14:36,678 - INFO - taking picture
MAIN: 2025-03-10 08:14:36,679 - INFO - we take 209 photos in this while loop
MAIN: 2025-03-10 08:14:36,679 - INFO - /home/pi/Desktop/images/10032025/08/14/image_10032025_08_14_36_30082.jpg
MAIN: 2025-03-10 08:14:36,679 - INFO - duration: 0.7146814579991769
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:15:06,845 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:15:07,378 - INFO - taking picture
MAIN: 2025-03-10 08:15:07,379 - INFO - we take 210 photos in this while loop
MAIN: 2025-03-10 08:15:07,380 - INFO - /home/pi/Desktop/images/10032025/08/14/image_10032025_08_15_06_30689.jpg
MAIN: 2025-03-10 08:15:07,380 - INFO - duration: 0.7269505719996232
MAIN: 2025-03-10 08:15:07,381 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:15:37,458 - INFO - taking picture
MAIN: 2025-03-10 08:15:37,459 - INFO - we take 211 photos in this while loop
MAIN: 2025-03-10 08:15:37,459 - INFO - /home/pi/Desktop/images/10032025/08/15/image_10032025_08_15_37_30080.jpg
MAIN: 2025-03-10 08:15:37,459 - INFO - duration: 0.7258027600000787
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:16:06,869 - INFO - taking picture
MAIN: 2025-03-10 08:16:06,870 - INFO - we take 212 photos in this while loop
MAIN: 2025-03-10 08:16:06,870 - INFO - /home/pi/Desktop/images/10032025/08/15/image_10032025_08_16_06_29402.jpg
MAIN: 2025-03-10 08:16:06,870 - INFO - duration: 0.7344839060006052
MAIN: 2025-03-10 08:16:06,871 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/16'
MAIN: 2025-03-10 08:16: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:16:37,010 - INFO - taking picture
MAIN: 2025-03-10 08:16:37,010 - INFO - we take 213 photos in this while loop
MAIN: 2025-03-10 08:16:37,010 - INFO - /home/pi/Desktop/images/10032025/08/16/image_10032025_08_16_36_30165.jpg
MAIN: 2025-03-10 08:16:37,011 - INFO - duration: 0.7094840099998692
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:17:05,681 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:17:07,473 - INFO - taking picture
MAIN: 2025-03-10 08:17:07,473 - INFO - we take 214 photos in this while loop
MAIN: 2025-03-10 08:17:07,474 - INFO - /home/pi/Desktop/images/10032025/08/16/image_10032025_08_17_07_30513.jpg
MAIN: 2025-03-10 08:17:07,474 - INFO - duration: 0.6591511980004725
MAIN: 2025-03-10 08:17:07,474 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:17:37,441 - INFO - taking picture
MAIN: 2025-03-10 08:17:37,441 - INFO - we take 215 photos in this while loop
MAIN: 2025-03-10 08:17:37,441 - INFO - /home/pi/Desktop/images/10032025/08/17/image_10032025_08_17_37_29969.jpg
MAIN: 2025-03-10 08:17:37,442 - INFO - duration: 0.6577673440006038
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:18:06,144 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:18:06,629 - INFO - taking picture
MAIN: 2025-03-10 08:18:06,629 - INFO - we take 216 photos in this while loop
MAIN: 2025-03-10 08:18:06,629 - INFO - /home/pi/Desktop/images/10032025/08/17/image_10032025_08_18_06_29109.jpg
MAIN: 2025-03-10 08:18:06,630 - INFO - duration: 0.7360918750000565
MAIN: 2025-03-10 08:18:06,630 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:18:36,673 - INFO - taking picture
MAIN: 2025-03-10 08:18:36,674 - INFO - we take 217 photos in this while loop
MAIN: 2025-03-10 08:18:36,674 - INFO - /home/pi/Desktop/images/10032025/08/18/image_10032025_08_18_36_30065.jpg
MAIN: 2025-03-10 08:18:36,674 - INFO - duration: 0.7149695830012206
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:19:05,972 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:19:06,977 - INFO - taking picture
MAIN: 2025-03-10 08:19:06,977 - INFO - we take 218 photos in this while loop
MAIN: 2025-03-10 08:19:06,978 - INFO - /home/pi/Desktop/images/10032025/08/18/image_10032025_08_19_06_30361.jpg
MAIN: 2025-03-10 08:19:06,978 - INFO - duration: 0.6570761979983217
MAIN: 2025-03-10 08:19:06,978 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/19'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:19:36,980 - INFO - taking picture
MAIN: 2025-03-10 08:19:36,980 - INFO - we take 219 photos in this while loop
MAIN: 2025-03-10 08:19:36,981 - INFO - /home/pi/Desktop/images/10032025/08/19/image_10032025_08_19_36_30003.jpg
MAIN: 2025-03-10 08:19:36,981 - INFO - duration: 0.6569600520015229
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:20:06,372 - INFO - taking picture
MAIN: 2025-03-10 08:20:06,373 - INFO - we take 220 photos in this while loop
MAIN: 2025-03-10 08:20:06,373 - INFO - /home/pi/Desktop/images/10032025/08/19/image_10032025_08_20_05_29331.jpg
MAIN: 2025-03-10 08:20:06,373 - INFO - duration: 0.7173239059993648
MAIN: 2025-03-10 08:20:06,374 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/20'
MAIN: 2025-03-10 08:20:06,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:20:36,319 - INFO - taking picture
MAIN: 2025-03-10 08:20:36,320 - INFO - we take 221 photos in this while loop
MAIN: 2025-03-10 08:20:36,320 - INFO - /home/pi/Desktop/images/10032025/08/20/image_10032025_08_20_35_29950.jpg
MAIN: 2025-03-10 08:20:36,320 - INFO - duration: 0.7141380720004236
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:21:06,279 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:21:06,827 - INFO - taking picture
MAIN: 2025-03-10 08:21:06,828 - INFO - we take 222 photos in this while loop
MAIN: 2025-03-10 08:21:06,828 - INFO - /home/pi/Desktop/images/10032025/08/20/image_10032025_08_21_06_30514.jpg
MAIN: 2025-03-10 08:21:06,828 - INFO - duration: 0.7077384889998939
MAIN: 2025-03-10 08:21:06,828 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:21:37,087 - INFO - taking picture
MAIN: 2025-03-10 08:21:37,087 - INFO - we take 223 photos in this while loop
MAIN: 2025-03-10 08:21:37,087 - INFO - /home/pi/Desktop/images/10032025/08/21/image_10032025_08_21_36_30239.jpg
MAIN: 2025-03-10 08:21:37,088 - INFO - duration: 0.7273789579994627
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:22:06,733 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:22:07,424 - INFO - taking picture
MAIN: 2025-03-10 08:22:07,424 - INFO - we take 224 photos in this while loop
MAIN: 2025-03-10 08:22:07,425 - INFO - /home/pi/Desktop/images/10032025/08/21/image_10032025_08_22_07_30337.jpg
MAIN: 2025-03-10 08:22:07,425 - INFO - duration: 0.7272067180001613
MAIN: 2025-03-10 08:22:07,425 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:22:36,235 - INFO - taking picture
MAIN: 2025-03-10 08:22:36,236 - INFO - we take 225 photos in this while loop
MAIN: 2025-03-10 08:22:36,236 - INFO - /home/pi/Desktop/images/10032025/08/22/image_10032025_08_22_35_28878.jpg
MAIN: 2025-03-10 08:22:36,236 - INFO - duration: 0.6594377599994914
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:23:06,845 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 08:23:06,885 - INFO - taking picture
MAIN: 2025-03-10 08:23:06,885 - INFO - we take 226 photos in this while loop
MAIN: 2025-03-10 08:23:06,886 - INFO - /home/pi/Desktop/images/10032025/08/22/image_10032025_08_23_06_30586.jpg
MAIN: 2025-03-10 08:23:06,886 - INFO - duration: 0.7225489579996065
MAIN: 2025-03-10 08:23:06,887 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:23:36,834 - INFO - taking picture
MAIN: 2025-03-10 08:23:36,835 - INFO - we take 227 photos in this while loop
MAIN: 2025-03-10 08:23:36,835 - INFO - /home/pi/Desktop/images/10032025/08/23/image_10032025_08_23_36_29962.jpg
MAIN: 2025-03-10 08:23:36,835 - INFO - duration: 0.7092711969999073
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:24:06,213 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:24:07,019 - INFO - taking picture
MAIN: 2025-03-10 08:24:07,019 - INFO - we take 228 photos in this while loop
MAIN: 2025-03-10 08:24:07,019 - INFO - /home/pi/Desktop/images/10032025/08/23/image_10032025_08_24_06_30218.jpg
MAIN: 2025-03-10 08:24:07,020 - INFO - duration: 0.6749485410000489
MAIN: 2025-03-10 08:24:07,020 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/24'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:24:37,065 - INFO - taking picture
MAIN: 2025-03-10 08:24:37,066 - INFO - we take 229 photos in this while loop
MAIN: 2025-03-10 08:24:37,066 - INFO - /home/pi/Desktop/images/10032025/08/24/image_10032025_08_24_36_30003.jpg
MAIN: 2025-03-10 08:24:37,066 - INFO - duration: 0.717650885000694
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:25:06,454 - INFO - taking picture
MAIN: 2025-03-10 08:25:06,455 - INFO - we take 230 photos in this while loop
MAIN: 2025-03-10 08:25:06,455 - INFO - /home/pi/Desktop/images/10032025/08/24/image_10032025_08_25_06_29398.jpg
MAIN: 2025-03-10 08:25:06,456 - INFO - duration: 0.7084630209992611
MAIN: 2025-03-10 08:25:06,457 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/25'
MAIN: 2025-03-10 08:25: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:25:36,355 - INFO - taking picture
MAIN: 2025-03-10 08:25:36,356 - INFO - we take 231 photos in this while loop
MAIN: 2025-03-10 08:25:36,356 - INFO - /home/pi/Desktop/images/10032025/08/25/image_10032025_08_25_35_29888.jpg
MAIN: 2025-03-10 08:25:36,356 - INFO - duration: 0.7201187499995285
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:26:06,694 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 08:26:06,979 - INFO - taking picture
MAIN: 2025-03-10 08:26:06,980 - INFO - we take 232 photos in this while loop
MAIN: 2025-03-10 08:26:06,980 - INFO - /home/pi/Desktop/images/10032025/08/25/image_10032025_08_26_06_30602.jpg
MAIN: 2025-03-10 08:26:06,980 - INFO - duration: 0.741517135000322
MAIN: 2025-03-10 08:26:06,981 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/26'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:26:37,060 - INFO - taking picture
MAIN: 2025-03-10 08:26:37,060 - INFO - we take 233 photos in this while loop
MAIN: 2025-03-10 08:26:37,061 - INFO - /home/pi/Desktop/images/10032025/08/26/image_10032025_08_26_36_30105.jpg
MAIN: 2025-03-10 08:26:37,061 - INFO - duration: 0.7162899479990301
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:27:06,571 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:27:07,478 - INFO - taking picture
MAIN: 2025-03-10 08:27:07,479 - INFO - we take 234 photos in this while loop
MAIN: 2025-03-10 08:27:07,479 - INFO - /home/pi/Desktop/images/10032025/08/26/image_10032025_08_27_07_30469.jpg
MAIN: 2025-03-10 08:27:07,479 - INFO - duration: 0.6652580200006923
MAIN: 2025-03-10 08:27:07,480 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/27'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:27:36,292 - INFO - taking picture
MAIN: 2025-03-10 08:27:36,293 - INFO - we take 235 photos in this while loop
MAIN: 2025-03-10 08:27:36,293 - INFO - /home/pi/Desktop/images/10032025/08/27/image_10032025_08_27_35_28764.jpg
MAIN: 2025-03-10 08:27:36,293 - INFO - duration: 0.7152967700003501
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:28:05,895 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:28:06,607 - INFO - taking picture
MAIN: 2025-03-10 08:28:06,608 - INFO - we take 236 photos in this while loop
MAIN: 2025-03-10 08:28:06,608 - INFO - /home/pi/Desktop/images/10032025/08/27/image_10032025_08_28_06_30328.jpg
MAIN: 2025-03-10 08:28:06,608 - INFO - duration: 0.7016541670000151
MAIN: 2025-03-10 08:28:06,609 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/28'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:28:36,795 - INFO - taking picture
MAIN: 2025-03-10 08:28:36,796 - INFO - we take 237 photos in this while loop
MAIN: 2025-03-10 08:28:36,796 - INFO - /home/pi/Desktop/images/10032025/08/28/image_10032025_08_28_36_30193.jpg
MAIN: 2025-03-10 08:28:36,796 - INFO - duration: 0.695983019999403
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:29:05,995 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:29:07,191 - INFO - taking picture
MAIN: 2025-03-10 08:29:07,192 - INFO - we take 238 photos in this while loop
MAIN: 2025-03-10 08:29:07,192 - INFO - /home/pi/Desktop/images/10032025/08/28/image_10032025_08_29_06_30400.jpg
MAIN: 2025-03-10 08:29:07,192 - INFO - duration: 0.6917031249995489
MAIN: 2025-03-10 08:29:07,192 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:29:37,277 - INFO - taking picture
MAIN: 2025-03-10 08:29:37,277 - INFO - we take 239 photos in this while loop
MAIN: 2025-03-10 08:29:37,277 - INFO - /home/pi/Desktop/images/10032025/08/29/image_10032025_08_29_36_30052.jpg
MAIN: 2025-03-10 08:29:37,278 - INFO - duration: 0.724496040998929
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:30:06,873 - INFO - taking picture
MAIN: 2025-03-10 08:30:06,873 - INFO - we take 240 photos in this while loop
MAIN: 2025-03-10 08:30:06,874 - INFO - /home/pi/Desktop/images/10032025/08/29/image_10032025_08_30_06_29607.jpg
MAIN: 2025-03-10 08:30:06,874 - INFO - duration: 0.7135903639991739
MAIN: 2025-03-10 08:30:06,874 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/30'
MAIN: 2025-03-10 08:30:07,144 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:30:36,799 - INFO - taking picture
MAIN: 2025-03-10 08:30:36,799 - INFO - we take 241 photos in this while loop
MAIN: 2025-03-10 08:30:36,799 - INFO - /home/pi/Desktop/images/10032025/08/30/image_10032025_08_30_36_29908.jpg
MAIN: 2025-03-10 08:30:36,800 - INFO - duration: 0.7308315099999163
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:31: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:31:07,210 - INFO - taking picture
MAIN: 2025-03-10 08:31:07,211 - INFO - we take 242 photos in this while loop
MAIN: 2025-03-10 08:31:07,211 - INFO - /home/pi/Desktop/images/10032025/08/30/image_10032025_08_31_06_30476.jpg
MAIN: 2025-03-10 08:31:07,211 - INFO - duration: 0.6659077080003044
MAIN: 2025-03-10 08:31:07,212 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:31:37,321 - INFO - taking picture
MAIN: 2025-03-10 08:31:37,322 - INFO - we take 243 photos in this while loop
MAIN: 2025-03-10 08:31:37,322 - INFO - /home/pi/Desktop/images/10032025/08/31/image_10032025_08_31_36_30117.jpg
MAIN: 2025-03-10 08:31:37,322 - INFO - duration: 0.6587036979999539
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:32:06,567 - INFO - taking picture
MAIN: 2025-03-10 08:32:06,568 - INFO - we take 244 photos in this while loop
MAIN: 2025-03-10 08:32:06,568 - INFO - /home/pi/Desktop/images/10032025/08/31/image_10032025_08_32_06_29188.jpg
MAIN: 2025-03-10 08:32:06,568 - INFO - duration: 0.7162972400001308
MAIN: 2025-03-10 08:32:06,568 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/32'
MAIN: 2025-03-10 08:32:06,902 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:32:36,595 - INFO - taking picture
MAIN: 2025-03-10 08:32:36,596 - INFO - we take 245 photos in this while loop
MAIN: 2025-03-10 08:32:36,596 - INFO - /home/pi/Desktop/images/10032025/08/32/image_10032025_08_32_36_30018.jpg
MAIN: 2025-03-10 08:32:36,596 - INFO - duration: 0.7265556769998511
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:33:05,627 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:33:07,105 - INFO - taking picture
MAIN: 2025-03-10 08:33:07,106 - INFO - we take 246 photos in this while loop
MAIN: 2025-03-10 08:33:07,106 - INFO - /home/pi/Desktop/images/10032025/08/32/image_10032025_08_33_06_30570.jpg
MAIN: 2025-03-10 08:33:07,106 - INFO - duration: 0.6662389590001112
MAIN: 2025-03-10 08:33:07,107 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:33:37,193 - INFO - taking picture
MAIN: 2025-03-10 08:33:37,194 - INFO - we take 247 photos in this while loop
MAIN: 2025-03-10 08:33:37,194 - INFO - /home/pi/Desktop/images/10032025/08/33/image_10032025_08_33_36_30053.jpg
MAIN: 2025-03-10 08:33:37,194 - INFO - duration: 0.7008265619988379
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:34:06,212 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 08:34:06,559 - INFO - taking picture
MAIN: 2025-03-10 08:34:06,560 - INFO - we take 248 photos in this while loop
MAIN: 2025-03-10 08:34:06,560 - INFO - /home/pi/Desktop/images/10032025/08/33/image_10032025_08_34_06_29336.jpg
MAIN: 2025-03-10 08:34:06,560 - INFO - duration: 0.729990103000091
MAIN: 2025-03-10 08:34:06,561 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:34:36,580 - INFO - taking picture
MAIN: 2025-03-10 08:34:36,581 - INFO - we take 249 photos in this while loop
MAIN: 2025-03-10 08:34:36,581 - INFO - /home/pi/Desktop/images/10032025/08/34/image_10032025_08_34_36_30084.jpg
MAIN: 2025-03-10 08:34:36,581 - INFO - duration: 0.6669456769996032
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:35: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:35:07,198 - INFO - taking picture
MAIN: 2025-03-10 08:35:07,199 - INFO - we take 250 photos in this while loop
MAIN: 2025-03-10 08:35:07,199 - INFO - /home/pi/Desktop/images/10032025/08/34/image_10032025_08_35_06_30555.jpg
MAIN: 2025-03-10 08:35:07,199 - INFO - duration: 0.7289743229994201
MAIN: 2025-03-10 08:35:07,199 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/35'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:35:37,272 - INFO - taking picture
MAIN: 2025-03-10 08:35:37,273 - INFO - we take 251 photos in this while loop
MAIN: 2025-03-10 08:35:37,273 - INFO - /home/pi/Desktop/images/10032025/08/35/image_10032025_08_35_36_30114.jpg
MAIN: 2025-03-10 08:35:37,273 - INFO - duration: 0.6889244270005292
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:36:06,395 - INFO - taking picture
MAIN: 2025-03-10 08:36:06,396 - INFO - we take 252 photos in this while loop
MAIN: 2025-03-10 08:36:06,396 - INFO - /home/pi/Desktop/images/10032025/08/35/image_10032025_08_36_06_29129.jpg
MAIN: 2025-03-10 08:36:06,396 - INFO - duration: 0.6816323439998087
MAIN: 2025-03-10 08:36:06,396 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/36'
MAIN: 2025-03-10 08:36:06,605 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:36:36,481 - INFO - taking picture
MAIN: 2025-03-10 08:36:36,482 - INFO - we take 253 photos in this while loop
MAIN: 2025-03-10 08:36:36,482 - INFO - /home/pi/Desktop/images/10032025/08/36/image_10032025_08_36_36_30052.jpg
MAIN: 2025-03-10 08:36:36,482 - INFO - duration: 0.7148838020002586
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:37:06,480 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:37:06,909 - INFO - taking picture
MAIN: 2025-03-10 08:37:06,909 - INFO - we take 254 photos in this while loop
MAIN: 2025-03-10 08:37:06,909 - INFO - /home/pi/Desktop/images/10032025/08/36/image_10032025_08_37_06_30413.jpg
MAIN: 2025-03-10 08:37:06,909 - INFO - duration: 0.7288682809994498
MAIN: 2025-03-10 08:37:06,910 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:37:36,789 - INFO - taking picture
MAIN: 2025-03-10 08:37:36,789 - INFO - we take 255 photos in this while loop
MAIN: 2025-03-10 08:37:36,789 - INFO - /home/pi/Desktop/images/10032025/08/37/image_10032025_08_37_36_29917.jpg
MAIN: 2025-03-10 08:37:36,790 - INFO - duration: 0.6914421870005754
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:38: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:38:08,722 - INFO - taking picture
MAIN: 2025-03-10 08:38:08,722 - INFO - we take 256 photos in this while loop
MAIN: 2025-03-10 08:38:08,722 - INFO - /home/pi/Desktop/images/10032025/08/37/image_10032025_08_38_06_30399.jpg
MAIN: 2025-03-10 08:38:08,723 - INFO - duration: 2.225346092998734
MAIN: 2025-03-10 08:38:08,723 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/38'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:38:37,424 - INFO - taking picture
MAIN: 2025-03-10 08:38:37,424 - INFO - we take 257 photos in this while loop
MAIN: 2025-03-10 08:38:37,424 - INFO - /home/pi/Desktop/images/10032025/08/38/image_10032025_08_38_37_30215.jpg
MAIN: 2025-03-10 08:38:37,425 - INFO - duration: 0.7115794270011975
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:39: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-10 08:39:06,490 - INFO - taking picture
MAIN: 2025-03-10 08:39:06,491 - INFO - we take 258 photos in this while loop
MAIN: 2025-03-10 08:39:06,491 - INFO - /home/pi/Desktop/images/10032025/08/38/image_10032025_08_39_06_29044.jpg
MAIN: 2025-03-10 08:39:06,491 - INFO - duration: 0.7335188020006171
MAIN: 2025-03-10 08:39:06,492 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:39:36,407 - INFO - taking picture
MAIN: 2025-03-10 08:39:36,408 - INFO - we take 259 photos in this while loop
MAIN: 2025-03-10 08:39:36,408 - INFO - /home/pi/Desktop/images/10032025/08/39/image_10032025_08_39_36_29935.jpg
MAIN: 2025-03-10 08:39:36,408 - INFO - duration: 0.7152677079993737
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:40:07,031 - INFO - taking picture
MAIN: 2025-03-10 08:40:07,032 - INFO - we take 260 photos in this while loop
MAIN: 2025-03-10 08:40:07,032 - INFO - /home/pi/Desktop/images/10032025/08/39/image_10032025_08_40_06_30644.jpg
MAIN: 2025-03-10 08:40:07,033 - INFO - duration: 0.6949254680002923
MAIN: 2025-03-10 08:40:07,033 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/40'
MAIN: 2025-03-10 08:40:07,089 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:40:37,108 - INFO - taking picture
MAIN: 2025-03-10 08:40:37,108 - INFO - we take 261 photos in this while loop
MAIN: 2025-03-10 08:40:37,108 - INFO - /home/pi/Desktop/images/10032025/08/40/image_10032025_08_40_36_30053.jpg
MAIN: 2025-03-10 08:40:37,109 - INFO - duration: 0.7176137499991455
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:41:06,450 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:41:07,448 - INFO - taking picture
MAIN: 2025-03-10 08:41:07,448 - INFO - we take 262 photos in this while loop
MAIN: 2025-03-10 08:41:07,448 - INFO - /home/pi/Desktop/images/10032025/08/40/image_10032025_08_41_07_30391.jpg
MAIN: 2025-03-10 08:41:07,449 - INFO - duration: 0.6658881769999425
MAIN: 2025-03-10 08:41:07,449 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:41:37,494 - INFO - taking picture
MAIN: 2025-03-10 08:41:37,495 - INFO - we take 263 photos in this while loop
MAIN: 2025-03-10 08:41:37,495 - INFO - /home/pi/Desktop/images/10032025/08/41/image_10032025_08_41_37_29985.jpg
MAIN: 2025-03-10 08:41:37,495 - INFO - duration: 0.7264070310011448
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:42: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:42:06,643 - INFO - taking picture
MAIN: 2025-03-10 08:42:06,643 - INFO - we take 264 photos in this while loop
MAIN: 2025-03-10 08:42:06,643 - INFO - /home/pi/Desktop/images/10032025/08/41/image_10032025_08_42_06_29165.jpg
MAIN: 2025-03-10 08:42:06,644 - INFO - duration: 0.7089189060006902
MAIN: 2025-03-10 08:42:06,644 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/42'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:42:36,743 - INFO - taking picture
MAIN: 2025-03-10 08:42:36,743 - INFO - we take 265 photos in this while loop
MAIN: 2025-03-10 08:42:36,744 - INFO - /home/pi/Desktop/images/10032025/08/42/image_10032025_08_42_36_30096.jpg
MAIN: 2025-03-10 08:42:36,744 - INFO - duration: 0.7128555730014341
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:43: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:43:06,916 - INFO - taking picture
MAIN: 2025-03-10 08:43:06,916 - INFO - we take 266 photos in this while loop
MAIN: 2025-03-10 08:43:06,916 - INFO - /home/pi/Desktop/images/10032025/08/42/image_10032025_08_43_06_30215.jpg
MAIN: 2025-03-10 08:43:06,917 - INFO - duration: 0.6699757809983566
MAIN: 2025-03-10 08:43:06,917 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/43'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:43:37,050 - INFO - taking picture
MAIN: 2025-03-10 08:43:37,051 - INFO - we take 267 photos in this while loop
MAIN: 2025-03-10 08:43:37,051 - INFO - /home/pi/Desktop/images/10032025/08/43/image_10032025_08_43_36_30080.jpg
MAIN: 2025-03-10 08:43:37,051 - INFO - duration: 0.7245304159987427
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:44:06,413 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 08:44:06,464 - INFO - taking picture
MAIN: 2025-03-10 08:44:06,465 - INFO - we take 268 photos in this while loop
MAIN: 2025-03-10 08:44:06,465 - INFO - /home/pi/Desktop/images/10032025/08/43/image_10032025_08_44_06_29418.jpg
MAIN: 2025-03-10 08:44:06,465 - INFO - duration: 0.7199543750011799
MAIN: 2025-03-10 08:44:06,466 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:44:36,515 - INFO - taking picture
MAIN: 2025-03-10 08:44:36,515 - INFO - we take 269 photos in this while loop
MAIN: 2025-03-10 08:44:36,515 - INFO - /home/pi/Desktop/images/10032025/08/44/image_10032025_08_44_36_30049.jpg
MAIN: 2025-03-10 08:44:36,516 - INFO - duration: 0.7208514059984736
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:45:06,573 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:45:07,258 - INFO - taking picture
MAIN: 2025-03-10 08:45:07,258 - INFO - we take 270 photos in this while loop
MAIN: 2025-03-10 08:45:07,258 - INFO - /home/pi/Desktop/images/10032025/08/44/image_10032025_08_45_06_30738.jpg
MAIN: 2025-03-10 08:45:07,259 - INFO - duration: 0.7255482809996465
MAIN: 2025-03-10 08:45:07,259 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:45:37,287 - INFO - taking picture
MAIN: 2025-03-10 08:45:37,287 - INFO - we take 271 photos in this while loop
MAIN: 2025-03-10 08:45:37,288 - INFO - /home/pi/Desktop/images/10032025/08/45/image_10032025_08_45_36_30097.jpg
MAIN: 2025-03-10 08:45:37,288 - INFO - duration: 0.6576551039997867
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:46:06,302 - INFO - cam.read() 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-10 08:46:06,454 - INFO - taking picture
MAIN: 2025-03-10 08:46:06,455 - INFO - we take 272 photos in this while loop
MAIN: 2025-03-10 08:46:06,455 - INFO - /home/pi/Desktop/images/10032025/08/45/image_10032025_08_46_06_29101.jpg
MAIN: 2025-03-10 08:46:06,455 - INFO - duration: 0.7239728120002837
MAIN: 2025-03-10 08:46:06,456 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:46:36,522 - INFO - taking picture
MAIN: 2025-03-10 08:46:36,522 - INFO - we take 273 photos in this while loop
MAIN: 2025-03-10 08:46:36,523 - INFO - /home/pi/Desktop/images/10032025/08/46/image_10032025_08_46_36_30075.jpg
MAIN: 2025-03-10 08:46:36,523 - INFO - duration: 0.7157892699997319
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:47:06,642 - INFO - cam.read() 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-10 08:47:06,862 - INFO - taking picture
MAIN: 2025-03-10 08:47:06,862 - INFO - we take 274 photos in this while loop
MAIN: 2025-03-10 08:47:06,863 - INFO - /home/pi/Desktop/images/10032025/08/46/image_10032025_08_47_06_30374.jpg
MAIN: 2025-03-10 08:47:06,863 - INFO - duration: 0.6810667190002277
MAIN: 2025-03-10 08:47:06,863 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:47:36,882 - INFO - taking picture
MAIN: 2025-03-10 08:47:36,883 - INFO - we take 275 photos in this while loop
MAIN: 2025-03-10 08:47:36,883 - INFO - /home/pi/Desktop/images/10032025/08/47/image_10032025_08_47_36_30044.jpg
MAIN: 2025-03-10 08:47:36,883 - INFO - duration: 0.6565998429996398
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:48: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:48:07,419 - INFO - taking picture
MAIN: 2025-03-10 08:48:07,419 - INFO - we take 276 photos in this while loop
MAIN: 2025-03-10 08:48:07,420 - INFO - /home/pi/Desktop/images/10032025/08/47/image_10032025_08_48_07_30501.jpg
MAIN: 2025-03-10 08:48:07,420 - INFO - duration: 0.6914019260002533
MAIN: 2025-03-10 08:48:07,420 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:48:37,408 - INFO - taking picture
MAIN: 2025-03-10 08:48:37,408 - INFO - we take 277 photos in this while loop
MAIN: 2025-03-10 08:48:37,408 - INFO - /home/pi/Desktop/images/10032025/08/48/image_10032025_08_48_36_29986.jpg
MAIN: 2025-03-10 08:48:37,409 - INFO - duration: 0.6941794790000131
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:49: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-10 08:49:06,456 - INFO - taking picture
MAIN: 2025-03-10 08:49:06,457 - INFO - we take 278 photos in this while loop
MAIN: 2025-03-10 08:49:06,457 - INFO - /home/pi/Desktop/images/10032025/08/48/image_10032025_08_49_06_29046.jpg
MAIN: 2025-03-10 08:49:06,457 - INFO - duration: 0.6959503649995895
MAIN: 2025-03-10 08:49:06,458 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:49:36,418 - INFO - taking picture
MAIN: 2025-03-10 08:49:36,419 - INFO - we take 279 photos in this while loop
MAIN: 2025-03-10 08:49:36,419 - INFO - /home/pi/Desktop/images/10032025/08/49/image_10032025_08_49_36_29952.jpg
MAIN: 2025-03-10 08:49:36,419 - INFO - duration: 0.7059158329993807
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:50:06,984 - INFO - taking picture
MAIN: 2025-03-10 08:50:06,985 - INFO - we take 280 photos in this while loop
MAIN: 2025-03-10 08:50:06,985 - INFO - /home/pi/Desktop/images/10032025/08/49/image_10032025_08_50_06_30580.jpg
MAIN: 2025-03-10 08:50:06,986 - INFO - duration: 0.691598438001165
MAIN: 2025-03-10 08:50:06,987 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/50'
MAIN: 2025-03-10 08:50:07,309 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:50:36,820 - INFO - taking picture
MAIN: 2025-03-10 08:50:36,820 - INFO - we take 281 photos in this while loop
MAIN: 2025-03-10 08:50:36,820 - INFO - /home/pi/Desktop/images/10032025/08/50/image_10032025_08_50_36_29827.jpg
MAIN: 2025-03-10 08:50:36,821 - INFO - duration: 0.6986242190014309
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:51:06,541 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:51:07,254 - INFO - taking picture
MAIN: 2025-03-10 08:51:07,254 - INFO - we take 282 photos in this while loop
MAIN: 2025-03-10 08:51:07,255 - INFO - /home/pi/Desktop/images/10032025/08/50/image_10032025_08_51_06_30427.jpg
MAIN: 2025-03-10 08:51:07,255 - INFO - duration: 0.7053622910007107
MAIN: 2025-03-10 08:51:07,255 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:51:37,261 - INFO - taking picture
MAIN: 2025-03-10 08:51:37,261 - INFO - we take 283 photos in this while loop
MAIN: 2025-03-10 08:51:37,262 - INFO - /home/pi/Desktop/images/10032025/08/51/image_10032025_08_51_36_29992.jpg
MAIN: 2025-03-10 08:51:37,262 - INFO - duration: 0.7194590620001691
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:52:06,066 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:52:06,492 - INFO - taking picture
MAIN: 2025-03-10 08:52:06,493 - INFO - we take 284 photos in this while loop
MAIN: 2025-03-10 08:52:06,493 - INFO - /home/pi/Desktop/images/10032025/08/51/image_10032025_08_52_06_29234.jpg
MAIN: 2025-03-10 08:52:06,493 - INFO - duration: 0.7157222909991106
MAIN: 2025-03-10 08:52:06,493 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/52'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:52:36,445 - INFO - taking picture
MAIN: 2025-03-10 08:52:36,446 - INFO - we take 285 photos in this while loop
MAIN: 2025-03-10 08:52:36,446 - INFO - /home/pi/Desktop/images/10032025/08/52/image_10032025_08_52_36_29956.jpg
MAIN: 2025-03-10 08:52:36,446 - INFO - duration: 0.7118307289983932
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:53:05,849 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:53:06,849 - INFO - taking picture
MAIN: 2025-03-10 08:53:06,849 - INFO - we take 286 photos in this while loop
MAIN: 2025-03-10 08:53:06,849 - INFO - /home/pi/Desktop/images/10032025/08/52/image_10032025_08_53_06_30453.jpg
MAIN: 2025-03-10 08:53:06,850 - INFO - duration: 0.6622987500013551
MAIN: 2025-03-10 08:53:06,850 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:53:36,873 - INFO - taking picture
MAIN: 2025-03-10 08:53:36,874 - INFO - we take 287 photos in this while loop
MAIN: 2025-03-10 08:53:36,874 - INFO - /home/pi/Desktop/images/10032025/08/53/image_10032025_08_53_36_29977.jpg
MAIN: 2025-03-10 08:53:36,874 - INFO - duration: 0.7090358330005984
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:54:06,476 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:54:07,346 - INFO - taking picture
MAIN: 2025-03-10 08:54:07,347 - INFO - we take 288 photos in this while loop
MAIN: 2025-03-10 08:54:07,347 - INFO - /home/pi/Desktop/images/10032025/08/53/image_10032025_08_54_06_30524.jpg
MAIN: 2025-03-10 08:54:07,347 - INFO - duration: 0.6576027600003727
MAIN: 2025-03-10 08:54:07,348 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:54:37,321 - INFO - taking picture
MAIN: 2025-03-10 08:54:37,322 - INFO - we take 289 photos in this while loop
MAIN: 2025-03-10 08:54:37,322 - INFO - /home/pi/Desktop/images/10032025/08/54/image_10032025_08_54_36_29908.jpg
MAIN: 2025-03-10 08:54:37,322 - INFO - duration: 0.7242032810008823
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:55: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 ! 
MAIN: 2025-03-10 08:55:06,651 - INFO - taking picture
MAIN: 2025-03-10 08:55:06,652 - INFO - we take 290 photos in this while loop
MAIN: 2025-03-10 08:55:06,652 - INFO - /home/pi/Desktop/images/10032025/08/54/image_10032025_08_55_06_29334.jpg
MAIN: 2025-03-10 08:55:06,653 - INFO - duration: 0.7195394789996499
MAIN: 2025-03-10 08:55:06,653 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:55:36,741 - INFO - taking picture
MAIN: 2025-03-10 08:55:36,742 - INFO - we take 291 photos in this while loop
MAIN: 2025-03-10 08:55:36,742 - INFO - /home/pi/Desktop/images/10032025/08/55/image_10032025_08_55_36_30092.jpg
MAIN: 2025-03-10 08:55:36,742 - INFO - duration: 0.7162514579995332
[ WARN:0] global /tmp/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-10 08:56:06,937 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:56:07,422 - INFO - taking picture
MAIN: 2025-03-10 08:56:07,423 - INFO - we take 292 photos in this while loop
MAIN: 2025-03-10 08:56:07,423 - INFO - /home/pi/Desktop/images/10032025/08/55/image_10032025_08_56_07_30645.jpg
MAIN: 2025-03-10 08:56:07,423 - INFO - duration: 0.7515269260002242
MAIN: 2025-03-10 08:56:07,424 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/56'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:56:37,528 - INFO - taking picture
MAIN: 2025-03-10 08:56:37,528 - INFO - we take 293 photos in this while loop
MAIN: 2025-03-10 08:56:37,528 - INFO - /home/pi/Desktop/images/10032025/08/56/image_10032025_08_56_37_30136.jpg
MAIN: 2025-03-10 08:56:37,529 - INFO - duration: 0.7209319269986736
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:57: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:57:06,551 - INFO - taking picture
MAIN: 2025-03-10 08:57:06,551 - INFO - we take 294 photos in this while loop
MAIN: 2025-03-10 08:57:06,551 - INFO - /home/pi/Desktop/images/10032025/08/56/image_10032025_08_57_06_29058.jpg
MAIN: 2025-03-10 08:57:06,552 - INFO - duration: 0.6850242710006569
MAIN: 2025-03-10 08:57:06,552 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/57'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:57:36,657 - INFO - taking picture
MAIN: 2025-03-10 08:57:36,658 - INFO - we take 295 photos in this while loop
MAIN: 2025-03-10 08:57:36,658 - INFO - /home/pi/Desktop/images/10032025/08/57/image_10032025_08_57_36_30079.jpg
MAIN: 2025-03-10 08:57:36,658 - INFO - duration: 0.7125205210013519
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:58: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:58:07,029 - INFO - taking picture
MAIN: 2025-03-10 08:58:07,029 - INFO - we take 296 photos in this while loop
MAIN: 2025-03-10 08:58:07,029 - INFO - /home/pi/Desktop/images/10032025/08/57/image_10032025_08_58_06_30399.jpg
MAIN: 2025-03-10 08:58:07,030 - INFO - duration: 0.6840448429993558
MAIN: 2025-03-10 08:58:07,030 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:58:37,166 - INFO - taking picture
MAIN: 2025-03-10 08:58:37,167 - INFO - we take 297 photos in this while loop
MAIN: 2025-03-10 08:58:37,167 - INFO - /home/pi/Desktop/images/10032025/08/58/image_10032025_08_58_36_30118.jpg
MAIN: 2025-03-10 08:58:37,167 - INFO - duration: 0.7029486970004655
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 08:59:05,807 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:59:07,406 - INFO - taking picture
MAIN: 2025-03-10 08:59:07,407 - INFO - we take 298 photos in this while loop
MAIN: 2025-03-10 08:59:07,407 - INFO - /home/pi/Desktop/images/10032025/08/58/image_10032025_08_59_07_30278.jpg
MAIN: 2025-03-10 08:59:07,407 - INFO - duration: 0.6648292709996895
MAIN: 2025-03-10 08:59:07,408 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/08/59'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 08:59:36,364 - INFO - taking picture
MAIN: 2025-03-10 08:59:36,365 - INFO - we take 299 photos in this while loop
MAIN: 2025-03-10 08:59:36,365 - INFO - /home/pi/Desktop/images/10032025/08/59/image_10032025_08_59_35_28895.jpg
MAIN: 2025-03-10 08:59:36,365 - INFO - duration: 0.7277075000001787
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:00:07,405 - INFO - taking picture
MAIN: 2025-03-10 09:00:07,406 - INFO - we take 300 photos in this while loop
MAIN: 2025-03-10 09:00:07,406 - INFO - /home/pi/Desktop/images/10032025/08/59/image_10032025_09_00_06_31042.jpg
MAIN: 2025-03-10 09:00:07,406 - INFO - duration: 0.7255598430001555
MAIN: 2025-03-10 09:00:07,406 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/00'
MAIN: 2025-03-10 09:00:07,768 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:00:37,579 - INFO - taking picture
MAIN: 2025-03-10 09:00:37,580 - INFO - we take 301 photos in this while loop
MAIN: 2025-03-10 09:00:37,580 - INFO - /home/pi/Desktop/images/10032025/09/00/image_10032025_09_00_37_30183.jpg
MAIN: 2025-03-10 09:00:37,580 - INFO - duration: 0.7163817190012196
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:01:05,688 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:01:06,585 - INFO - taking picture
MAIN: 2025-03-10 09:01:06,585 - INFO - we take 302 photos in this while loop
MAIN: 2025-03-10 09:01:06,585 - INFO - /home/pi/Desktop/images/10032025/09/00/image_10032025_09_01_06_29056.jpg
MAIN: 2025-03-10 09:01:06,586 - INFO - duration: 0.6653622920002817
MAIN: 2025-03-10 09:01:06,586 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/01'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:01:36,649 - INFO - taking picture
MAIN: 2025-03-10 09:01:36,649 - INFO - we take 303 photos in this while loop
MAIN: 2025-03-10 09:01:36,650 - INFO - /home/pi/Desktop/images/10032025/09/01/image_10032025_09_01_36_30049.jpg
MAIN: 2025-03-10 09:01:36,650 - INFO - duration: 0.6802511450005113
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:02: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:02:07,154 - INFO - taking picture
MAIN: 2025-03-10 09:02:07,155 - INFO - we take 304 photos in this while loop
MAIN: 2025-03-10 09:02:07,155 - INFO - /home/pi/Desktop/images/10032025/09/01/image_10032025_09_02_06_30517.jpg
MAIN: 2025-03-10 09:02:07,155 - INFO - duration: 0.6676136969999789
MAIN: 2025-03-10 09:02:07,156 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/02'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:02:37,315 - INFO - taking picture
MAIN: 2025-03-10 09:02:37,315 - INFO - we take 305 photos in this while loop
MAIN: 2025-03-10 09:02:37,315 - INFO - /home/pi/Desktop/images/10032025/09/02/image_10032025_09_02_36_30102.jpg
MAIN: 2025-03-10 09:02:37,316 - INFO - duration: 0.7253232290004235
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:03:05,999 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 09:03:06,320 - INFO - taking picture
MAIN: 2025-03-10 09:03:06,320 - INFO - we take 306 photos in this while loop
MAIN: 2025-03-10 09:03:06,320 - INFO - /home/pi/Desktop/images/10032025/09/02/image_10032025_09_03_05_29021.jpg
MAIN: 2025-03-10 09:03:06,321 - INFO - duration: 0.7090081770002143
MAIN: 2025-03-10 09:03:06,321 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/03'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:03:36,326 - INFO - taking picture
MAIN: 2025-03-10 09:03:36,327 - INFO - we take 307 photos in this while loop
MAIN: 2025-03-10 09:03:36,327 - INFO - /home/pi/Desktop/images/10032025/09/03/image_10032025_09_03_35_29987.jpg
MAIN: 2025-03-10 09:03:36,327 - INFO - duration: 0.7282306769993738
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:04:06,555 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 09:04:06,789 - INFO - taking picture
MAIN: 2025-03-10 09:04:06,789 - INFO - we take 308 photos in this while loop
MAIN: 2025-03-10 09:04:06,789 - INFO - /home/pi/Desktop/images/10032025/09/03/image_10032025_09_04_06_30467.jpg
MAIN: 2025-03-10 09:04:06,790 - INFO - duration: 0.7232664059993112
MAIN: 2025-03-10 09:04:06,790 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:04:36,920 - INFO - taking picture
MAIN: 2025-03-10 09:04:36,921 - INFO - we take 309 photos in this while loop
MAIN: 2025-03-10 09:04:36,921 - INFO - /home/pi/Desktop/images/10032025/09/04/image_10032025_09_04_36_30138.jpg
MAIN: 2025-03-10 09:04:36,921 - INFO - duration: 0.7160963009991974
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 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-10 09:05:06,285 - INFO - taking picture
MAIN: 2025-03-10 09:05:06,286 - INFO - we take 310 photos in this while loop
MAIN: 2025-03-10 09:05:06,286 - INFO - /home/pi/Desktop/images/10032025/09/04/image_10032025_09_05_05_29361.jpg
MAIN: 2025-03-10 09:05:06,286 - INFO - duration: 0.7194715619989438
MAIN: 2025-03-10 09:05:06,287 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/05'
MAIN: 2025-03-10 09:05: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:05:36,464 - INFO - taking picture
MAIN: 2025-03-10 09:05:36,464 - INFO - we take 311 photos in this while loop
MAIN: 2025-03-10 09:05:36,465 - INFO - /home/pi/Desktop/images/10032025/09/05/image_10032025_09_05_36_30171.jpg
MAIN: 2025-03-10 09:05:36,465 - INFO - duration: 0.7272941659975913
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 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-10 09:06:06,952 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 09:06:07,241 - INFO - taking picture
MAIN: 2025-03-10 09:06:07,241 - INFO - we take 312 photos in this while loop
MAIN: 2025-03-10 09:06:07,241 - INFO - /home/pi/Desktop/images/10032025/09/05/image_10032025_09_06_06_30786.jpg
MAIN: 2025-03-10 09:06:07,242 - INFO - duration: 0.7175293740001507
MAIN: 2025-03-10 09:06:07,242 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:06:37,349 - INFO - taking picture
MAIN: 2025-03-10 09:06:37,349 - INFO - we take 313 photos in this while loop
MAIN: 2025-03-10 09:06:37,350 - INFO - /home/pi/Desktop/images/10032025/09/06/image_10032025_09_06_36_30112.jpg
MAIN: 2025-03-10 09:06:37,350 - INFO - duration: 0.71333890599999
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:07: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:07:06,293 - INFO - taking picture
MAIN: 2025-03-10 09:07:06,293 - INFO - we take 314 photos in this while loop
MAIN: 2025-03-10 09:07:06,293 - INFO - /home/pi/Desktop/images/10032025/09/06/image_10032025_09_07_05_28939.jpg
MAIN: 2025-03-10 09:07:06,294 - INFO - duration: 0.7176358850010729
MAIN: 2025-03-10 09:07:06,294 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/07'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:07:37,466 - INFO - taking picture
MAIN: 2025-03-10 09:07:37,467 - INFO - we take 315 photos in this while loop
MAIN: 2025-03-10 09:07:37,467 - INFO - /home/pi/Desktop/images/10032025/09/07/image_10032025_09_07_37_31177.jpg
MAIN: 2025-03-10 09:07:37,467 - INFO - duration: 0.7139157809979224
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:08:06,219 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:08:06,774 - INFO - taking picture
MAIN: 2025-03-10 09:08:06,774 - INFO - we take 316 photos in this while loop
MAIN: 2025-03-10 09:08:06,774 - INFO - /home/pi/Desktop/images/10032025/09/07/image_10032025_09_08_06_29296.jpg
MAIN: 2025-03-10 09:08:06,775 - INFO - duration: 0.7247195830022974
MAIN: 2025-03-10 09:08:06,775 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:08:36,814 - INFO - taking picture
MAIN: 2025-03-10 09:08:36,814 - INFO - we take 317 photos in this while loop
MAIN: 2025-03-10 09:08:36,815 - INFO - /home/pi/Desktop/images/10032025/09/08/image_10032025_09_08_36_30044.jpg
MAIN: 2025-03-10 09:08:36,815 - INFO - duration: 0.7204254159987613
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:09: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:09:07,105 - INFO - taking picture
MAIN: 2025-03-10 09:09:07,106 - INFO - we take 318 photos in this while loop
MAIN: 2025-03-10 09:09:07,106 - INFO - /home/pi/Desktop/images/10032025/09/08/image_10032025_09_09_06_30323.jpg
MAIN: 2025-03-10 09:09:07,106 - INFO - duration: 0.688179687000229
MAIN: 2025-03-10 09:09:07,106 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:09:37,082 - INFO - taking picture
MAIN: 2025-03-10 09:09:37,083 - INFO - we take 319 photos in this while loop
MAIN: 2025-03-10 09:09:37,083 - INFO - /home/pi/Desktop/images/10032025/09/09/image_10032025_09_09_36_29955.jpg
MAIN: 2025-03-10 09:09:37,083 - INFO - duration: 0.7097389059999841
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:10:06,786 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:10:07,474 - INFO - taking picture
MAIN: 2025-03-10 09:10:07,475 - INFO - we take 320 photos in this while loop
MAIN: 2025-03-10 09:10:07,475 - INFO - /home/pi/Desktop/images/10032025/09/09/image_10032025_09_10_07_30383.jpg
MAIN: 2025-03-10 09:10:07,475 - INFO - duration: 0.7182915619996493
MAIN: 2025-03-10 09:10:07,475 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/10'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:10:36,278 - INFO - taking picture
MAIN: 2025-03-10 09:10:36,278 - INFO - we take 321 photos in this while loop
MAIN: 2025-03-10 09:10:36,278 - INFO - /home/pi/Desktop/images/10032025/09/10/image_10032025_09_10_35_28807.jpg
MAIN: 2025-03-10 09:10:36,278 - INFO - duration: 0.7139180199992552
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:11: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-10 09:11:06,704 - INFO - taking picture
MAIN: 2025-03-10 09:11:06,704 - INFO - we take 322 photos in this while loop
MAIN: 2025-03-10 09:11:06,705 - INFO - /home/pi/Desktop/images/10032025/09/10/image_10032025_09_11_06_30423.jpg
MAIN: 2025-03-10 09:11:06,705 - INFO - duration: 0.7171636450002552
MAIN: 2025-03-10 09:11:06,705 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:11:36,699 - INFO - taking picture
MAIN: 2025-03-10 09:11:36,699 - INFO - we take 323 photos in this while loop
MAIN: 2025-03-10 09:11:36,699 - INFO - /home/pi/Desktop/images/10032025/09/11/image_10032025_09_11_36_30000.jpg
MAIN: 2025-03-10 09:11:36,700 - INFO - duration: 0.7112767699982214
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:12:05,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:12:06,922 - INFO - taking picture
MAIN: 2025-03-10 09:12:06,923 - INFO - we take 324 photos in this while loop
MAIN: 2025-03-10 09:12:06,923 - INFO - /home/pi/Desktop/images/10032025/09/11/image_10032025_09_12_06_30258.jpg
MAIN: 2025-03-10 09:12:06,923 - INFO - duration: 0.6761003650026396
MAIN: 2025-03-10 09:12:06,923 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:12:37,037 - INFO - taking picture
MAIN: 2025-03-10 09:12:37,037 - INFO - we take 325 photos in this while loop
MAIN: 2025-03-10 09:12:37,037 - INFO - /home/pi/Desktop/images/10032025/09/12/image_10032025_09_12_36_30086.jpg
MAIN: 2025-03-10 09:12:37,037 - INFO - duration: 0.7044795309993788
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:13: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:13:07,390 - INFO - taking picture
MAIN: 2025-03-10 09:13:07,391 - INFO - we take 326 photos in this while loop
MAIN: 2025-03-10 09:13:07,391 - INFO - /home/pi/Desktop/images/10032025/09/12/image_10032025_09_13_07_30394.jpg
MAIN: 2025-03-10 09:13:07,391 - INFO - duration: 0.6634642710014305
MAIN: 2025-03-10 09:13:07,392 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/13'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:13:37,425 - INFO - taking picture
MAIN: 2025-03-10 09:13:37,426 - INFO - we take 327 photos in this while loop
MAIN: 2025-03-10 09:13:37,426 - INFO - /home/pi/Desktop/images/10032025/09/13/image_10032025_09_13_37_30005.jpg
MAIN: 2025-03-10 09:13:37,426 - INFO - duration: 0.692183698000008
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:14:06,330 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:14:06,931 - INFO - taking picture
MAIN: 2025-03-10 09:14:06,932 - INFO - we take 328 photos in this while loop
MAIN: 2025-03-10 09:14:06,932 - INFO - /home/pi/Desktop/images/10032025/09/13/image_10032025_09_14_06_29462.jpg
MAIN: 2025-03-10 09:14:06,932 - INFO - duration: 0.7357427079987247
MAIN: 2025-03-10 09:14:06,933 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:14:37,029 - INFO - taking picture
MAIN: 2025-03-10 09:14:37,029 - INFO - we take 329 photos in this while loop
MAIN: 2025-03-10 09:14:37,030 - INFO - /home/pi/Desktop/images/10032025/09/14/image_10032025_09_14_36_30169.jpg
MAIN: 2025-03-10 09:14:37,030 - INFO - duration: 0.6640037500001199
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:15: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:15:07,463 - INFO - taking picture
MAIN: 2025-03-10 09:15:07,463 - INFO - we take 330 photos in this while loop
MAIN: 2025-03-10 09:15:07,463 - INFO - /home/pi/Desktop/images/10032025/09/14/image_10032025_09_15_07_30391.jpg
MAIN: 2025-03-10 09:15:07,464 - INFO - duration: 0.706615781000437
MAIN: 2025-03-10 09:15:07,464 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/15'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:15:37,520 - INFO - taking picture
MAIN: 2025-03-10 09:15:37,521 - INFO - we take 331 photos in this while loop
MAIN: 2025-03-10 09:15:37,521 - INFO - /home/pi/Desktop/images/10032025/09/15/image_10032025_09_15_37_30054.jpg
MAIN: 2025-03-10 09:15:37,521 - INFO - duration: 0.7093418750009732
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:16:06,610 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 09:16:06,776 - INFO - taking picture
MAIN: 2025-03-10 09:16:06,777 - INFO - we take 332 photos in this while loop
MAIN: 2025-03-10 09:16:06,777 - INFO - /home/pi/Desktop/images/10032025/09/15/image_10032025_09_16_06_29258.jpg
MAIN: 2025-03-10 09:16:06,777 - INFO - duration: 0.7069395300022734
MAIN: 2025-03-10 09:16:06,778 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:16:36,799 - INFO - taking picture
MAIN: 2025-03-10 09:16:36,800 - INFO - we take 333 photos in this while loop
MAIN: 2025-03-10 09:16:36,800 - INFO - /home/pi/Desktop/images/10032025/09/16/image_10032025_09_16_36_30017.jpg
MAIN: 2025-03-10 09:16:36,800 - INFO - duration: 0.7123574479992385
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:17:06,555 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:17:07,178 - INFO - taking picture
MAIN: 2025-03-10 09:17:07,178 - INFO - we take 334 photos in this while loop
MAIN: 2025-03-10 09:17:07,179 - INFO - /home/pi/Desktop/images/10032025/09/16/image_10032025_09_17_06_30378.jpg
MAIN: 2025-03-10 09:17:07,179 - INFO - duration: 0.7126754159980919
MAIN: 2025-03-10 09:17:07,179 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:17:37,184 - INFO - taking picture
MAIN: 2025-03-10 09:17:37,185 - INFO - we take 335 photos in this while loop
MAIN: 2025-03-10 09:17:37,185 - INFO - /home/pi/Desktop/images/10032025/09/17/image_10032025_09_17_36_30021.jpg
MAIN: 2025-03-10 09:17:37,185 - INFO - duration: 0.6972120310019818
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:18: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:18:06,532 - INFO - taking picture
MAIN: 2025-03-10 09:18:06,533 - INFO - we take 336 photos in this while loop
MAIN: 2025-03-10 09:18:06,533 - INFO - /home/pi/Desktop/images/10032025/09/17/image_10032025_09_18_06_29315.jpg
MAIN: 2025-03-10 09:18:06,533 - INFO - duration: 0.7294945829999051
MAIN: 2025-03-10 09:18:06,534 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/18'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:18:36,763 - INFO - taking picture
MAIN: 2025-03-10 09:18:36,763 - INFO - we take 337 photos in this while loop
MAIN: 2025-03-10 09:18:36,764 - INFO - /home/pi/Desktop/images/10032025/09/18/image_10032025_09_18_36_30105.jpg
MAIN: 2025-03-10 09:18:36,764 - INFO - duration: 0.854731093000737
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:19: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:19:06,914 - INFO - taking picture
MAIN: 2025-03-10 09:19:06,915 - INFO - we take 338 photos in this while loop
MAIN: 2025-03-10 09:19:06,915 - INFO - /home/pi/Desktop/images/10032025/09/18/image_10032025_09_19_06_30290.jpg
MAIN: 2025-03-10 09:19:06,915 - INFO - duration: 0.7160958849999588
MAIN: 2025-03-10 09:19:06,916 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/19'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:19:36,763 - INFO - taking picture
MAIN: 2025-03-10 09:19:36,764 - INFO - we take 339 photos in this while loop
MAIN: 2025-03-10 09:19:36,764 - INFO - /home/pi/Desktop/images/10032025/09/19/image_10032025_09_19_36_29855.jpg
MAIN: 2025-03-10 09:19:36,764 - INFO - duration: 0.7095151039975462
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:20:07,165 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 09:20:07,315 - INFO - taking picture
MAIN: 2025-03-10 09:20:07,316 - INFO - we take 340 photos in this while loop
MAIN: 2025-03-10 09:20:07,316 - INFO - /home/pi/Desktop/images/10032025/09/19/image_10032025_09_20_06_30562.jpg
MAIN: 2025-03-10 09:20:07,316 - INFO - duration: 0.699042655996891
MAIN: 2025-03-10 09:20:07,317 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/20'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:20:37,453 - INFO - taking picture
MAIN: 2025-03-10 09:20:37,454 - INFO - we take 341 photos in this while loop
MAIN: 2025-03-10 09:20:37,454 - INFO - /home/pi/Desktop/images/10032025/09/20/image_10032025_09_20_37_30113.jpg
MAIN: 2025-03-10 09:20:37,454 - INFO - duration: 0.723198905998288
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:21:06,566 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 09:21:06,602 - INFO - taking picture
MAIN: 2025-03-10 09:21:06,603 - INFO - we take 342 photos in this while loop
MAIN: 2025-03-10 09:21:06,603 - INFO - /home/pi/Desktop/images/10032025/09/20/image_10032025_09_21_06_29155.jpg
MAIN: 2025-03-10 09:21:06,603 - INFO - duration: 0.716680624998844
MAIN: 2025-03-10 09:21:06,604 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/21'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:21:36,630 - INFO - taking picture
MAIN: 2025-03-10 09:21:36,630 - INFO - we take 343 photos in this while loop
MAIN: 2025-03-10 09:21:36,630 - INFO - /home/pi/Desktop/images/10032025/09/21/image_10032025_09_21_36_30041.jpg
MAIN: 2025-03-10 09:21:36,631 - INFO - duration: 0.7026822389998415
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:22:05,988 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:22:06,909 - INFO - taking picture
MAIN: 2025-03-10 09:22:06,909 - INFO - we take 344 photos in this while loop
MAIN: 2025-03-10 09:22:06,909 - INFO - /home/pi/Desktop/images/10032025/09/21/image_10032025_09_22_06_30318.jpg
MAIN: 2025-03-10 09:22:06,909 - INFO - duration: 0.6625822910027637
MAIN: 2025-03-10 09:22:06,910 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:22:37,033 - INFO - taking picture
MAIN: 2025-03-10 09:22:37,034 - INFO - we take 345 photos in this while loop
MAIN: 2025-03-10 09:22:37,034 - INFO - /home/pi/Desktop/images/10032025/09/22/image_10032025_09_22_36_30082.jpg
MAIN: 2025-03-10 09:22:37,034 - INFO - duration: 0.7046322389978741
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:23: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:23:07,553 - INFO - taking picture
MAIN: 2025-03-10 09:23:07,554 - INFO - we take 346 photos in this while loop
MAIN: 2025-03-10 09:23:07,554 - INFO - /home/pi/Desktop/images/10032025/09/22/image_10032025_09_23_07_30494.jpg
MAIN: 2025-03-10 09:23:07,554 - INFO - duration: 0.7303403639998578
MAIN: 2025-03-10 09:23:07,555 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:23:36,296 - INFO - taking picture
MAIN: 2025-03-10 09:23:36,296 - INFO - we take 347 photos in this while loop
MAIN: 2025-03-10 09:23:36,296 - INFO - /home/pi/Desktop/images/10032025/09/23/image_10032025_09_23_35_28753.jpg
MAIN: 2025-03-10 09:23:36,297 - INFO - duration: 0.7189509899981203
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:24:06,340 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:24:06,829 - INFO - taking picture
MAIN: 2025-03-10 09:24:06,830 - INFO - we take 348 photos in this while loop
MAIN: 2025-03-10 09:24:06,830 - INFO - /home/pi/Desktop/images/10032025/09/23/image_10032025_09_24_06_30513.jpg
MAIN: 2025-03-10 09:24:06,830 - INFO - duration: 0.7389775000010559
MAIN: 2025-03-10 09:24:06,830 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:24:36,856 - INFO - taking picture
MAIN: 2025-03-10 09:24:36,857 - INFO - we take 349 photos in this while loop
MAIN: 2025-03-10 09:24:36,857 - INFO - /home/pi/Desktop/images/10032025/09/24/image_10032025_09_24_36_30044.jpg
MAIN: 2025-03-10 09:24:36,857 - INFO - duration: 0.7212369789995137
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:25: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:25:07,494 - INFO - taking picture
MAIN: 2025-03-10 09:25:07,495 - INFO - we take 350 photos in this while loop
MAIN: 2025-03-10 09:25:07,495 - INFO - /home/pi/Desktop/images/10032025/09/24/image_10032025_09_25_07_30649.jpg
MAIN: 2025-03-10 09:25:07,495 - INFO - duration: 0.7105176040022343
MAIN: 2025-03-10 09:25:07,496 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/25'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:25:36,347 - INFO - taking picture
MAIN: 2025-03-10 09:25:36,348 - INFO - we take 351 photos in this while loop
MAIN: 2025-03-10 09:25:36,348 - INFO - /home/pi/Desktop/images/10032025/09/25/image_10032025_09_25_35_28851.jpg
MAIN: 2025-03-10 09:25:36,348 - INFO - duration: 0.7112504689976049
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:26:06,807 - INFO - cam.read() 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-10 09:26:07,013 - INFO - taking picture
MAIN: 2025-03-10 09:26:07,013 - INFO - we take 352 photos in this while loop
MAIN: 2025-03-10 09:26:07,014 - INFO - /home/pi/Desktop/images/10032025/09/25/image_10032025_09_26_06_30650.jpg
MAIN: 2025-03-10 09:26:07,014 - INFO - duration: 0.7270533330010949
MAIN: 2025-03-10 09:26:07,014 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/26'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:26:36,983 - INFO - taking picture
MAIN: 2025-03-10 09:26:36,983 - INFO - we take 353 photos in this while loop
MAIN: 2025-03-10 09:26:36,983 - INFO - /home/pi/Desktop/images/10032025/09/26/image_10032025_09_26_36_29995.jpg
MAIN: 2025-03-10 09:26:36,984 - INFO - duration: 0.7017381240002578
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:27:05,789 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:27:06,328 - INFO - taking picture
MAIN: 2025-03-10 09:27:06,329 - INFO - we take 354 photos in this while loop
MAIN: 2025-03-10 09:27:06,329 - INFO - /home/pi/Desktop/images/10032025/09/26/image_10032025_09_27_05_29312.jpg
MAIN: 2025-03-10 09:27:06,329 - INFO - duration: 0.7348337500006892
MAIN: 2025-03-10 09:27:06,329 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/27'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:27:37,543 - INFO - taking picture
MAIN: 2025-03-10 09:27:37,543 - INFO - we take 355 photos in this while loop
MAIN: 2025-03-10 09:27:37,543 - INFO - /home/pi/Desktop/images/10032025/09/27/image_10032025_09_27_37_31265.jpg
MAIN: 2025-03-10 09:27:37,544 - INFO - duration: 0.6841130200009502
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:28: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 ! 
MAIN: 2025-03-10 09:28:06,844 - INFO - taking picture
MAIN: 2025-03-10 09:28:06,845 - INFO - we take 356 photos in this while loop
MAIN: 2025-03-10 09:28:06,845 - INFO - /home/pi/Desktop/images/10032025/09/27/image_10032025_09_28_06_29261.jpg
MAIN: 2025-03-10 09:28:06,845 - INFO - duration: 0.7236838019998686
MAIN: 2025-03-10 09:28:06,846 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/28'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:28:36,989 - INFO - taking picture
MAIN: 2025-03-10 09:28:36,989 - INFO - we take 357 photos in this while loop
MAIN: 2025-03-10 09:28:36,990 - INFO - /home/pi/Desktop/images/10032025/09/28/image_10032025_09_28_36_30158.jpg
MAIN: 2025-03-10 09:28:36,990 - INFO - duration: 0.7098441150010331
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:29: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:29:07,359 - INFO - taking picture
MAIN: 2025-03-10 09:29:07,359 - INFO - we take 358 photos in this while loop
MAIN: 2025-03-10 09:29:07,359 - INFO - /home/pi/Desktop/images/10032025/09/28/image_10032025_09_29_06_30358.jpg
MAIN: 2025-03-10 09:29:07,360 - INFO - duration: 0.7208502600005886
MAIN: 2025-03-10 09:29:07,360 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:29:37,450 - INFO - taking picture
MAIN: 2025-03-10 09:29:37,450 - INFO - we take 359 photos in this while loop
MAIN: 2025-03-10 09:29:37,450 - INFO - /home/pi/Desktop/images/10032025/09/29/image_10032025_09_29_37_30093.jpg
MAIN: 2025-03-10 09:29:37,451 - INFO - duration: 0.7181843739999749
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 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-10 09:30:06,809 - INFO - taking picture
MAIN: 2025-03-10 09:30:06,810 - INFO - we take 360 photos in this while loop
MAIN: 2025-03-10 09:30:06,811 - INFO - /home/pi/Desktop/images/10032025/09/29/image_10032025_09_30_06_29335.jpg
MAIN: 2025-03-10 09:30:06,812 - INFO - duration: 0.7440215630012972
MAIN: 2025-03-10 09:30:06,813 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/30'
MAIN: 2025-03-10 09:30:07,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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:30:36,825 - INFO - taking picture
MAIN: 2025-03-10 09:30:36,826 - INFO - we take 361 photos in this while loop
MAIN: 2025-03-10 09:30:36,826 - INFO - /home/pi/Desktop/images/10032025/09/30/image_10032025_09_30_36_30062.jpg
MAIN: 2025-03-10 09:30:36,826 - INFO - duration: 0.6959062490022916
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:31:05,767 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:31:07,395 - INFO - taking picture
MAIN: 2025-03-10 09:31:07,395 - INFO - we take 362 photos in this while loop
MAIN: 2025-03-10 09:31:07,396 - INFO - /home/pi/Desktop/images/10032025/09/30/image_10032025_09_31_07_30543.jpg
MAIN: 2025-03-10 09:31:07,396 - INFO - duration: 0.7218694269977277
MAIN: 2025-03-10 09:31:07,396 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:31:37,426 - INFO - taking picture
MAIN: 2025-03-10 09:31:37,427 - INFO - we take 363 photos in this while loop
MAIN: 2025-03-10 09:31:37,427 - INFO - /home/pi/Desktop/images/10032025/09/31/image_10032025_09_31_37_30031.jpg
MAIN: 2025-03-10 09:31:37,427 - INFO - duration: 0.7214161980009521
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:32: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:32:06,878 - INFO - taking picture
MAIN: 2025-03-10 09:32:06,879 - INFO - we take 364 photos in this while loop
MAIN: 2025-03-10 09:32:06,879 - INFO - /home/pi/Desktop/images/10032025/09/31/image_10032025_09_32_06_29436.jpg
MAIN: 2025-03-10 09:32:06,879 - INFO - duration: 0.7369833329976245
MAIN: 2025-03-10 09:32:06,879 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:32:37,001 - INFO - taking picture
MAIN: 2025-03-10 09:32:37,001 - INFO - we take 365 photos in this while loop
MAIN: 2025-03-10 09:32:37,001 - INFO - /home/pi/Desktop/images/10032025/09/32/image_10032025_09_32_36_30129.jpg
MAIN: 2025-03-10 09:32:37,002 - INFO - duration: 0.7303376039999421
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:33: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:33:07,250 - INFO - taking picture
MAIN: 2025-03-10 09:33:07,250 - INFO - we take 366 photos in this while loop
MAIN: 2025-03-10 09:33:07,251 - INFO - /home/pi/Desktop/images/10032025/09/32/image_10032025_09_33_06_30278.jpg
MAIN: 2025-03-10 09:33:07,251 - INFO - duration: 0.7010998960031429
MAIN: 2025-03-10 09:33:07,251 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:33:37,295 - INFO - taking picture
MAIN: 2025-03-10 09:33:37,295 - INFO - we take 367 photos in this while loop
MAIN: 2025-03-10 09:33:37,295 - INFO - /home/pi/Desktop/images/10032025/09/33/image_10032025_09_33_36_30053.jpg
MAIN: 2025-03-10 09:33:37,296 - INFO - duration: 0.6925280730029044
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:34:06,539 - INFO - taking picture
MAIN: 2025-03-10 09:34:06,539 - INFO - we take 368 photos in this while loop
MAIN: 2025-03-10 09:34:06,539 - INFO - /home/pi/Desktop/images/10032025/09/33/image_10032025_09_34_06_29231.jpg
MAIN: 2025-03-10 09:34:06,539 - INFO - duration: 0.7044961459978367
MAIN: 2025-03-10 09:34:06,540 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/34'
MAIN: 2025-03-10 09:34:06,790 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:34:36,483 - INFO - taking picture
MAIN: 2025-03-10 09:34:36,484 - INFO - we take 369 photos in this while loop
MAIN: 2025-03-10 09:34:36,484 - INFO - /home/pi/Desktop/images/10032025/09/34/image_10032025_09_34_36_29952.jpg
MAIN: 2025-03-10 09:34:36,484 - INFO - duration: 0.6966606250025507
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:35: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:35:06,976 - INFO - taking picture
MAIN: 2025-03-10 09:35:06,976 - INFO - we take 370 photos in this while loop
MAIN: 2025-03-10 09:35:06,976 - INFO - /home/pi/Desktop/images/10032025/09/34/image_10032025_09_35_06_30497.jpg
MAIN: 2025-03-10 09:35:06,977 - INFO - duration: 0.6916921349984477
MAIN: 2025-03-10 09:35:06,977 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/35'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:35:37,002 - INFO - taking picture
MAIN: 2025-03-10 09:35:37,003 - INFO - we take 371 photos in this while loop
MAIN: 2025-03-10 09:35:37,003 - INFO - /home/pi/Desktop/images/10032025/09/35/image_10032025_09_35_36_30002.jpg
MAIN: 2025-03-10 09:35:37,003 - INFO - duration: 0.716400416000397
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:36: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-10 09:36:06,371 - INFO - taking picture
MAIN: 2025-03-10 09:36:06,371 - INFO - we take 372 photos in this while loop
MAIN: 2025-03-10 09:36:06,372 - INFO - /home/pi/Desktop/images/10032025/09/35/image_10032025_09_36_05_29356.jpg
MAIN: 2025-03-10 09:36:06,372 - INFO - duration: 0.7281492190013523
MAIN: 2025-03-10 09:36:06,372 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:36:36,276 - INFO - taking picture
MAIN: 2025-03-10 09:36:36,277 - INFO - we take 373 photos in this while loop
MAIN: 2025-03-10 09:36:36,277 - INFO - /home/pi/Desktop/images/10032025/09/36/image_10032025_09_36_35_29922.jpg
MAIN: 2025-03-10 09:36:36,277 - INFO - duration: 0.7104157810026663
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:37:05,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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:37:06,556 - INFO - taking picture
MAIN: 2025-03-10 09:37:06,557 - INFO - we take 374 photos in this while loop
MAIN: 2025-03-10 09:37:06,557 - INFO - /home/pi/Desktop/images/10032025/09/36/image_10032025_09_37_06_30258.jpg
MAIN: 2025-03-10 09:37:06,557 - INFO - duration: 0.7321393219972379
MAIN: 2025-03-10 09:37:06,557 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:37:36,452 - INFO - taking picture
MAIN: 2025-03-10 09:37:36,453 - INFO - we take 375 photos in this while loop
MAIN: 2025-03-10 09:37:36,453 - INFO - /home/pi/Desktop/images/10032025/09/37/image_10032025_09_37_36_29914.jpg
MAIN: 2025-03-10 09:37:36,453 - INFO - duration: 0.7135911969999142
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:38: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:38:06,818 - INFO - taking picture
MAIN: 2025-03-10 09:38:06,819 - INFO - we take 376 photos in this while loop
MAIN: 2025-03-10 09:38:06,819 - INFO - /home/pi/Desktop/images/10032025/09/37/image_10032025_09_38_06_30399.jpg
MAIN: 2025-03-10 09:38:06,819 - INFO - duration: 0.6806748430026346
MAIN: 2025-03-10 09:38:06,820 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/38'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:38:36,651 - INFO - taking picture
MAIN: 2025-03-10 09:38:36,652 - INFO - we take 377 photos in this while loop
MAIN: 2025-03-10 09:38:36,652 - INFO - /home/pi/Desktop/images/10032025/09/38/image_10032025_09_38_36_29801.jpg
MAIN: 2025-03-10 09:38:36,652 - INFO - duration: 0.7120961459986574
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:39: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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:39:06,957 - INFO - taking picture
MAIN: 2025-03-10 09:39:06,958 - INFO - we take 378 photos in this while loop
MAIN: 2025-03-10 09:39:06,958 - INFO - /home/pi/Desktop/images/10032025/09/38/image_10032025_09_39_06_30295.jpg
MAIN: 2025-03-10 09:39:06,958 - INFO - duration: 0.7223350000022037
MAIN: 2025-03-10 09:39:06,958 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:39:36,759 - INFO - taking picture
MAIN: 2025-03-10 09:39:36,759 - INFO - we take 379 photos in this while loop
MAIN: 2025-03-10 09:39:36,759 - INFO - /home/pi/Desktop/images/10032025/09/39/image_10032025_09_39_36_29821.jpg
MAIN: 2025-03-10 09:39:36,759 - INFO - duration: 0.7020182289998047
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:40:07,314 - INFO - taking picture
MAIN: 2025-03-10 09:40:07,315 - INFO - we take 380 photos in this while loop
MAIN: 2025-03-10 09:40:07,315 - INFO - /home/pi/Desktop/images/10032025/09/39/image_10032025_09_40_06_30564.jpg
MAIN: 2025-03-10 09:40:07,315 - INFO - duration: 0.6937997389977681
MAIN: 2025-03-10 09:40:07,316 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/40'
MAIN: 2025-03-10 09:40:07,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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=27 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:40:37,275 - INFO - taking picture
MAIN: 2025-03-10 09:40:37,275 - INFO - we take 381 photos in this while loop
MAIN: 2025-03-10 09:40:37,275 - INFO - /home/pi/Desktop/images/10032025/09/40/image_10032025_09_40_36_29933.jpg
MAIN: 2025-03-10 09:40:37,276 - INFO - duration: 0.7207257290028792
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:41: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=76 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:41:06,398 - INFO - taking picture
MAIN: 2025-03-10 09:41:06,398 - INFO - we take 382 photos in this while loop
MAIN: 2025-03-10 09:41:06,398 - INFO - /home/pi/Desktop/images/10032025/09/40/image_10032025_09_41_06_29127.jpg
MAIN: 2025-03-10 09:41:06,399 - INFO - duration: 0.7162605199991958
MAIN: 2025-03-10 09:41:06,399 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/41'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:41:37,482 - INFO - taking picture
MAIN: 2025-03-10 09:41:37,482 - INFO - we take 383 photos in this while loop
MAIN: 2025-03-10 09:41:37,482 - INFO - /home/pi/Desktop/images/10032025/09/41/image_10032025_09_41_37_31085.jpg
MAIN: 2025-03-10 09:41:37,483 - INFO - duration: 0.7146840620007424
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:42:06,295 - INFO - cam.read() 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-10 09:42:06,533 - INFO - taking picture
MAIN: 2025-03-10 09:42:06,533 - INFO - we take 384 photos in this while loop
MAIN: 2025-03-10 09:42:06,534 - INFO - /home/pi/Desktop/images/10032025/09/41/image_10032025_09_42_06_29052.jpg
MAIN: 2025-03-10 09:42:06,534 - INFO - duration: 0.7127389050001511
MAIN: 2025-03-10 09:42:06,534 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:42:36,407 - INFO - taking picture
MAIN: 2025-03-10 09:42:36,407 - INFO - we take 385 photos in this while loop
MAIN: 2025-03-10 09:42:36,408 - INFO - /home/pi/Desktop/images/10032025/09/42/image_10032025_09_42_36_29891.jpg
MAIN: 2025-03-10 09:42:36,408 - INFO - duration: 0.694954009999492
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:43:06,113 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:43:06,695 - INFO - taking picture
MAIN: 2025-03-10 09:43:06,695 - INFO - we take 386 photos in this while loop
MAIN: 2025-03-10 09:43:06,695 - INFO - /home/pi/Desktop/images/10032025/09/42/image_10032025_09_43_06_30268.jpg
MAIN: 2025-03-10 09:43:06,696 - INFO - duration: 0.714203281000664
MAIN: 2025-03-10 09:43:06,696 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/43'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:43:36,583 - INFO - taking picture
MAIN: 2025-03-10 09:43:36,584 - INFO - we take 387 photos in this while loop
MAIN: 2025-03-10 09:43:36,584 - INFO - /home/pi/Desktop/images/10032025/09/43/image_10032025_09_43_36_29890.jpg
MAIN: 2025-03-10 09:43:36,584 - INFO - duration: 0.7120474999974249
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:44:06,506 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:44:06,949 - INFO - taking picture
MAIN: 2025-03-10 09:44:06,949 - INFO - we take 388 photos in this while loop
MAIN: 2025-03-10 09:44:06,949 - INFO - /home/pi/Desktop/images/10032025/09/43/image_10032025_09_44_06_30345.jpg
MAIN: 2025-03-10 09:44:06,950 - INFO - duration: 0.7324670309972134
MAIN: 2025-03-10 09:44:06,950 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:44:36,961 - INFO - taking picture
MAIN: 2025-03-10 09:44:36,961 - INFO - we take 389 photos in this while loop
MAIN: 2025-03-10 09:44:36,961 - INFO - /home/pi/Desktop/images/10032025/09/44/image_10032025_09_44_36_30028.jpg
MAIN: 2025-03-10 09:44:36,962 - INFO - duration: 0.7159053120012686
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:45:06,285 - INFO - taking picture
MAIN: 2025-03-10 09:45:06,285 - INFO - we take 390 photos in this while loop
MAIN: 2025-03-10 09:45:06,286 - INFO - /home/pi/Desktop/images/10032025/09/44/image_10032025_09_45_05_29352.jpg
MAIN: 2025-03-10 09:45:06,286 - INFO - duration: 0.6877795830005198
MAIN: 2025-03-10 09:45:06,286 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/45'
MAIN: 2025-03-10 09:45: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:45:37,568 - INFO - taking picture
MAIN: 2025-03-10 09:45:37,569 - INFO - we take 391 photos in this while loop
MAIN: 2025-03-10 09:45:37,569 - INFO - /home/pi/Desktop/images/10032025/09/45/image_10032025_09_45_37_31251.jpg
MAIN: 2025-03-10 09:45:37,569 - INFO - duration: 0.71964197899797
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:46:06,797 - INFO - cam.read() 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-10 09:46:06,996 - INFO - taking picture
MAIN: 2025-03-10 09:46:06,997 - INFO - we take 392 photos in this while loop
MAIN: 2025-03-10 09:46:06,997 - INFO - /home/pi/Desktop/images/10032025/09/45/image_10032025_09_46_06_29436.jpg
MAIN: 2025-03-10 09:46:06,997 - INFO - duration: 0.7116589580000436
MAIN: 2025-03-10 09:46:06,998 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:46:36,947 - INFO - taking picture
MAIN: 2025-03-10 09:46:36,948 - INFO - we take 393 photos in this while loop
MAIN: 2025-03-10 09:46:36,948 - INFO - /home/pi/Desktop/images/10032025/09/46/image_10032025_09_46_36_29943.jpg
MAIN: 2025-03-10 09:46:36,948 - INFO - duration: 0.718805832999351
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:47:05,460 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:47:07,346 - INFO - taking picture
MAIN: 2025-03-10 09:47:07,347 - INFO - we take 394 photos in this while loop
MAIN: 2025-03-10 09:47:07,347 - INFO - /home/pi/Desktop/images/10032025/09/46/image_10032025_09_47_06_30382.jpg
MAIN: 2025-03-10 09:47:07,347 - INFO - duration: 0.7352084889971593
MAIN: 2025-03-10 09:47:07,347 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:47:37,482 - INFO - taking picture
MAIN: 2025-03-10 09:47:37,483 - INFO - we take 395 photos in this while loop
MAIN: 2025-03-10 09:47:37,483 - INFO - /home/pi/Desktop/images/10032025/09/47/image_10032025_09_47_37_30148.jpg
MAIN: 2025-03-10 09:47:37,483 - INFO - duration: 0.7224105730019801
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:48:06,278 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:48:06,799 - INFO - taking picture
MAIN: 2025-03-10 09:48:06,800 - INFO - we take 396 photos in this while loop
MAIN: 2025-03-10 09:48:06,800 - INFO - /home/pi/Desktop/images/10032025/09/47/image_10032025_09_48_06_29307.jpg
MAIN: 2025-03-10 09:48:06,800 - INFO - duration: 0.7318622910024715
MAIN: 2025-03-10 09:48:06,801 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:48:36,888 - INFO - taking picture
MAIN: 2025-03-10 09:48:36,889 - INFO - we take 397 photos in this while loop
MAIN: 2025-03-10 09:48:36,889 - INFO - /home/pi/Desktop/images/10032025/09/48/image_10032025_09_48_36_30112.jpg
MAIN: 2025-03-10 09:48:36,889 - INFO - duration: 0.7082279159985774
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:49:05,945 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:49:07,148 - INFO - taking picture
MAIN: 2025-03-10 09:49:07,149 - INFO - we take 398 photos in this while loop
MAIN: 2025-03-10 09:49:07,149 - INFO - /home/pi/Desktop/images/10032025/09/48/image_10032025_09_49_06_30274.jpg
MAIN: 2025-03-10 09:49:07,149 - INFO - duration: 0.693555051999283
MAIN: 2025-03-10 09:49:07,149 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/49'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:49:37,303 - INFO - taking picture
MAIN: 2025-03-10 09:49:37,304 - INFO - we take 399 photos in this while loop
MAIN: 2025-03-10 09:49:37,304 - INFO - /home/pi/Desktop/images/10032025/09/49/image_10032025_09_49_36_30127.jpg
MAIN: 2025-03-10 09:49:37,304 - INFO - duration: 0.7213260409989743
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:50:06,986 - INFO - taking picture
MAIN: 2025-03-10 09:50:06,987 - INFO - we take 400 photos in this while loop
MAIN: 2025-03-10 09:50:06,987 - INFO - /home/pi/Desktop/images/10032025/09/49/image_10032025_09_50_06_29680.jpg
MAIN: 2025-03-10 09:50:06,988 - INFO - duration: 0.7241509369996493
MAIN: 2025-03-10 09:50:06,988 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/50'
MAIN: 2025-03-10 09:50:07,091 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:50:37,213 - INFO - taking picture
MAIN: 2025-03-10 09:50:37,214 - INFO - we take 401 photos in this while loop
MAIN: 2025-03-10 09:50:37,214 - INFO - /home/pi/Desktop/images/10032025/09/50/image_10032025_09_50_36_30229.jpg
MAIN: 2025-03-10 09:50:37,214 - INFO - duration: 0.7212257809987932
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:51: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:51:07,454 - INFO - taking picture
MAIN: 2025-03-10 09:51:07,454 - INFO - we take 402 photos in this while loop
MAIN: 2025-03-10 09:51:07,454 - INFO - /home/pi/Desktop/images/10032025/09/50/image_10032025_09_51_07_30264.jpg
MAIN: 2025-03-10 09:51:07,454 - INFO - duration: 0.6970384890009882
MAIN: 2025-03-10 09:51:07,455 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/51'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:51:37,522 - INFO - taking picture
MAIN: 2025-03-10 09:51:37,522 - INFO - we take 403 photos in this while loop
MAIN: 2025-03-10 09:51:37,522 - INFO - /home/pi/Desktop/images/10032025/09/51/image_10032025_09_51_37_30038.jpg
MAIN: 2025-03-10 09:51:37,523 - INFO - duration: 0.7261084890014899
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:52:06,683 - INFO - taking picture
MAIN: 2025-03-10 09:52:06,683 - INFO - we take 404 photos in this while loop
MAIN: 2025-03-10 09:52:06,683 - INFO - /home/pi/Desktop/images/10032025/09/51/image_10032025_09_52_06_29196.jpg
MAIN: 2025-03-10 09:52:06,684 - INFO - duration: 0.6907418750015495
MAIN: 2025-03-10 09:52:06,684 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/52'
MAIN: 2025-03-10 09:52: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:52:36,755 - INFO - taking picture
MAIN: 2025-03-10 09:52:36,756 - INFO - we take 405 photos in this while loop
MAIN: 2025-03-10 09:52:36,756 - INFO - /home/pi/Desktop/images/10032025/09/52/image_10032025_09_52_36_30035.jpg
MAIN: 2025-03-10 09:52:36,756 - INFO - duration: 0.7272305209990009
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:53:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:53:07,439 - INFO - taking picture
MAIN: 2025-03-10 09:53:07,439 - INFO - we take 406 photos in this while loop
MAIN: 2025-03-10 09:53:07,440 - INFO - /home/pi/Desktop/images/10032025/09/52/image_10032025_09_53_07_30669.jpg
MAIN: 2025-03-10 09:53:07,440 - INFO - duration: 0.7413265619979938
MAIN: 2025-03-10 09:53:07,440 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:53:36,369 - INFO - taking picture
MAIN: 2025-03-10 09:53:36,370 - INFO - we take 407 photos in this while loop
MAIN: 2025-03-10 09:53:36,370 - INFO - /home/pi/Desktop/images/10032025/09/53/image_10032025_09_53_35_28944.jpg
MAIN: 2025-03-10 09:53:36,370 - INFO - duration: 0.7269355729986273
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:54:06,375 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:54:06,947 - INFO - taking picture
MAIN: 2025-03-10 09:54:06,948 - INFO - we take 408 photos in this while loop
MAIN: 2025-03-10 09:54:06,948 - INFO - /home/pi/Desktop/images/10032025/09/53/image_10032025_09_54_06_30564.jpg
MAIN: 2025-03-10 09:54:06,948 - INFO - duration: 0.7401022909980384
MAIN: 2025-03-10 09:54:06,949 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/54'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:54:37,108 - INFO - taking picture
MAIN: 2025-03-10 09:54:37,109 - INFO - we take 409 photos in this while loop
MAIN: 2025-03-10 09:54:37,109 - INFO - /home/pi/Desktop/images/10032025/09/54/image_10032025_09_54_36_30184.jpg
MAIN: 2025-03-10 09:54:37,109 - INFO - duration: 0.7170120310001948
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:55: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 ! 
MAIN: 2025-03-10 09:55:06,580 - INFO - taking picture
MAIN: 2025-03-10 09:55:06,581 - INFO - we take 410 photos in this while loop
MAIN: 2025-03-10 09:55:06,582 - INFO - /home/pi/Desktop/images/10032025/09/54/image_10032025_09_55_06_29478.jpg
MAIN: 2025-03-10 09:55:06,583 - INFO - duration: 0.7118201560006128
MAIN: 2025-03-10 09:55:06,584 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/55'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:55:36,651 - INFO - taking picture
MAIN: 2025-03-10 09:55:36,651 - INFO - we take 411 photos in this while loop
MAIN: 2025-03-10 09:55:36,651 - INFO - /home/pi/Desktop/images/10032025/09/55/image_10032025_09_55_36_30064.jpg
MAIN: 2025-03-10 09:55:36,652 - INFO - duration: 0.7158805209983257
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:56:06,707 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:56:07,285 - INFO - taking picture
MAIN: 2025-03-10 09:56:07,286 - INFO - we take 412 photos in this while loop
MAIN: 2025-03-10 09:56:07,286 - INFO - /home/pi/Desktop/images/10032025/09/55/image_10032025_09_56_06_30584.jpg
MAIN: 2025-03-10 09:56:07,286 - INFO - duration: 0.7658093749996624
MAIN: 2025-03-10 09:56:07,287 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/56'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:56:37,477 - INFO - taking picture
MAIN: 2025-03-10 09:56:37,478 - INFO - we take 413 photos in this while loop
MAIN: 2025-03-10 09:56:37,478 - INFO - /home/pi/Desktop/images/10032025/09/56/image_10032025_09_56_37_30248.jpg
MAIN: 2025-03-10 09:56:37,478 - INFO - duration: 0.709228437001002
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:57:06,186 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 09:57:06,445 - INFO - taking picture
MAIN: 2025-03-10 09:57:06,446 - INFO - we take 414 photos in this while loop
MAIN: 2025-03-10 09:57:06,446 - INFO - /home/pi/Desktop/images/10032025/09/56/image_10032025_09_57_06_28958.jpg
MAIN: 2025-03-10 09:57:06,446 - INFO - duration: 0.7189805210000486
MAIN: 2025-03-10 09:57:06,446 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:57:36,649 - INFO - taking picture
MAIN: 2025-03-10 09:57:36,650 - INFO - we take 415 photos in this while loop
MAIN: 2025-03-10 09:57:36,650 - INFO - /home/pi/Desktop/images/10032025/09/57/image_10032025_09_57_36_30194.jpg
MAIN: 2025-03-10 09:57:36,650 - INFO - duration: 0.7286650000023656
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:58: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:58:07,052 - INFO - taking picture
MAIN: 2025-03-10 09:58:07,052 - INFO - we take 416 photos in this while loop
MAIN: 2025-03-10 09:58:07,052 - INFO - /home/pi/Desktop/images/10032025/09/57/image_10032025_09_58_06_30468.jpg
MAIN: 2025-03-10 09:58:07,053 - INFO - duration: 0.6626984889990126
MAIN: 2025-03-10 09:58:07,053 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/58'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:58:37,192 - INFO - taking picture
MAIN: 2025-03-10 09:58:37,192 - INFO - we take 417 photos in this while loop
MAIN: 2025-03-10 09:58:37,193 - INFO - /home/pi/Desktop/images/10032025/09/58/image_10032025_09_58_36_30096.jpg
MAIN: 2025-03-10 09:58:37,193 - INFO - duration: 0.7065142190003826
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 09:59:05,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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:59:07,585 - INFO - taking picture
MAIN: 2025-03-10 09:59:07,585 - INFO - we take 418 photos in this while loop
MAIN: 2025-03-10 09:59:07,586 - INFO - /home/pi/Desktop/images/10032025/09/58/image_10032025_09_59_07_30359.jpg
MAIN: 2025-03-10 09:59:07,586 - INFO - duration: 0.7399638019996928
MAIN: 2025-03-10 09:59:07,586 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/09/59'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 09:59:36,559 - INFO - taking picture
MAIN: 2025-03-10 09:59:36,560 - INFO - we take 419 photos in this while loop
MAIN: 2025-03-10 09:59:36,560 - INFO - /home/pi/Desktop/images/10032025/09/59/image_10032025_09_59_36_29000.jpg
MAIN: 2025-03-10 09:59:36,560 - INFO - duration: 0.7133650520008814
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10: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-10 10:00:07,255 - INFO - taking picture
MAIN: 2025-03-10 10:00:07,256 - INFO - we take 420 photos in this while loop
MAIN: 2025-03-10 10:00:07,256 - INFO - /home/pi/Desktop/images/10032025/09/59/image_10032025_10_00_06_30673.jpg
MAIN: 2025-03-10 10:00:07,256 - INFO - duration: 0.736257446998934
MAIN: 2025-03-10 10:00:07,257 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/00'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:00:37,423 - INFO - taking picture
MAIN: 2025-03-10 10:00:37,424 - INFO - we take 421 photos in this while loop
MAIN: 2025-03-10 10:00:37,424 - INFO - /home/pi/Desktop/images/10032025/10/00/image_10032025_10_00_37_30177.jpg
MAIN: 2025-03-10 10:00:37,424 - INFO - duration: 0.7264466150008957
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:01:06,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 ! 
MAIN: 2025-03-10 10:01:06,658 - INFO - taking picture
MAIN: 2025-03-10 10:01:06,659 - INFO - we take 422 photos in this while loop
MAIN: 2025-03-10 10:01:06,659 - INFO - /home/pi/Desktop/images/10032025/10/00/image_10032025_10_01_06_29257.jpg
MAIN: 2025-03-10 10:01:06,659 - INFO - duration: 0.7043327079991286
MAIN: 2025-03-10 10:01:06,660 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/01'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:01:36,589 - INFO - taking picture
MAIN: 2025-03-10 10:01:36,590 - INFO - we take 423 photos in this while loop
MAIN: 2025-03-10 10:01:36,590 - INFO - /home/pi/Desktop/images/10032025/10/01/image_10032025_10_01_36_29916.jpg
MAIN: 2025-03-10 10:01:36,590 - INFO - duration: 0.7186335930018686
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:02: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:02:06,956 - INFO - taking picture
MAIN: 2025-03-10 10:02:06,957 - INFO - we take 424 photos in this while loop
MAIN: 2025-03-10 10:02:06,957 - INFO - /home/pi/Desktop/images/10032025/10/01/image_10032025_10_02_06_30411.jpg
MAIN: 2025-03-10 10:02:06,957 - INFO - duration: 0.6739384369975596
MAIN: 2025-03-10 10:02:06,957 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/02'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:02:37,063 - INFO - taking picture
MAIN: 2025-03-10 10:02:37,064 - INFO - we take 425 photos in this while loop
MAIN: 2025-03-10 10:02:37,064 - INFO - /home/pi/Desktop/images/10032025/10/02/image_10032025_10_02_36_30063.jpg
MAIN: 2025-03-10 10:02:37,064 - INFO - duration: 0.7175923440008773
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:03: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:03:07,344 - INFO - taking picture
MAIN: 2025-03-10 10:03:07,345 - INFO - we take 426 photos in this while loop
MAIN: 2025-03-10 10:03:07,345 - INFO - /home/pi/Desktop/images/10032025/10/02/image_10032025_10_03_06_30288.jpg
MAIN: 2025-03-10 10:03:07,345 - INFO - duration: 0.7099376559999655
MAIN: 2025-03-10 10:03:07,346 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/03'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:03:37,387 - INFO - taking picture
MAIN: 2025-03-10 10:03:37,387 - INFO - we take 427 photos in this while loop
MAIN: 2025-03-10 10:03:37,388 - INFO - /home/pi/Desktop/images/10032025/10/03/image_10032025_10_03_37_30055.jpg
MAIN: 2025-03-10 10:03:37,388 - INFO - duration: 0.6972461980003573
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:04:06,606 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 10:04:06,729 - INFO - taking picture
MAIN: 2025-03-10 10:04:06,730 - INFO - we take 428 photos in this while loop
MAIN: 2025-03-10 10:04:06,730 - INFO - /home/pi/Desktop/images/10032025/10/03/image_10032025_10_04_06_29317.jpg
MAIN: 2025-03-10 10:04:06,730 - INFO - duration: 0.7215981250010373
MAIN: 2025-03-10 10:04:06,731 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/04'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:04:36,771 - INFO - taking picture
MAIN: 2025-03-10 10:04:36,771 - INFO - we take 429 photos in this while loop
MAIN: 2025-03-10 10:04:36,772 - INFO - /home/pi/Desktop/images/10032025/10/04/image_10032025_10_04_36_30043.jpg
MAIN: 2025-03-10 10:04:36,772 - INFO - duration: 0.7199439579999307
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:05: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:05:07,473 - INFO - taking picture
MAIN: 2025-03-10 10:05:07,474 - INFO - we take 430 photos in this while loop
MAIN: 2025-03-10 10:05:07,474 - INFO - /home/pi/Desktop/images/10032025/10/04/image_10032025_10_05_07_30684.jpg
MAIN: 2025-03-10 10:05:07,474 - INFO - duration: 0.7382707809993008
MAIN: 2025-03-10 10:05:07,475 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/05'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:05:36,360 - INFO - taking picture
MAIN: 2025-03-10 10:05:36,361 - INFO - we take 431 photos in this while loop
MAIN: 2025-03-10 10:05:36,361 - INFO - /home/pi/Desktop/images/10032025/10/05/image_10032025_10_05_35_28898.jpg
MAIN: 2025-03-10 10:05:36,361 - INFO - duration: 0.7261837500009278
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:06:06,790 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 10:06:07,178 - INFO - taking picture
MAIN: 2025-03-10 10:06:07,178 - INFO - we take 432 photos in this while loop
MAIN: 2025-03-10 10:06:07,179 - INFO - /home/pi/Desktop/images/10032025/10/05/image_10032025_10_06_06_30813.jpg
MAIN: 2025-03-10 10:06:07,179 - INFO - duration: 0.7306856770010199
MAIN: 2025-03-10 10:06:07,179 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/06'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:06:37,140 - INFO - taking picture
MAIN: 2025-03-10 10:06:37,140 - INFO - we take 433 photos in this while loop
MAIN: 2025-03-10 10:06:37,141 - INFO - /home/pi/Desktop/images/10032025/10/06/image_10032025_10_06_36_29971.jpg
MAIN: 2025-03-10 10:06:37,141 - INFO - duration: 0.7211184900006629
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:07:05,754 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:07:06,358 - INFO - taking picture
MAIN: 2025-03-10 10:07:06,359 - INFO - we take 434 photos in this while loop
MAIN: 2025-03-10 10:07:06,359 - INFO - /home/pi/Desktop/images/10032025/10/06/image_10032025_10_07_05_29200.jpg
MAIN: 2025-03-10 10:07:06,359 - INFO - duration: 0.7387460410027415
MAIN: 2025-03-10 10:07:06,360 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/07'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:07:36,555 - INFO - taking picture
MAIN: 2025-03-10 10:07:36,555 - INFO - we take 435 photos in this while loop
MAIN: 2025-03-10 10:07:36,556 - INFO - /home/pi/Desktop/images/10032025/10/07/image_10032025_10_07_36_30216.jpg
MAIN: 2025-03-10 10:07:36,556 - INFO - duration: 0.7184136460018635
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:08: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:08:06,926 - INFO - taking picture
MAIN: 2025-03-10 10:08:06,927 - INFO - we take 436 photos in this while loop
MAIN: 2025-03-10 10:08:06,927 - INFO - /home/pi/Desktop/images/10032025/10/07/image_10032025_10_08_06_30381.jpg
MAIN: 2025-03-10 10:08:06,927 - INFO - duration: 0.7083156759981648
MAIN: 2025-03-10 10:08:06,928 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/08'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:08:37,003 - INFO - taking picture
MAIN: 2025-03-10 10:08:37,004 - INFO - we take 437 photos in this while loop
MAIN: 2025-03-10 10:08:37,004 - INFO - /home/pi/Desktop/images/10032025/10/08/image_10032025_10_08_36_30079.jpg
MAIN: 2025-03-10 10:08:37,004 - INFO - duration: 0.7055756769987056
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:09:06,006 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 10:09:06,294 - INFO - taking picture
MAIN: 2025-03-10 10:09:06,295 - INFO - we take 438 photos in this while loop
MAIN: 2025-03-10 10:09:06,295 - INFO - /home/pi/Desktop/images/10032025/10/08/image_10032025_10_09_05_29293.jpg
MAIN: 2025-03-10 10:09:06,295 - INFO - duration: 0.7038639589991362
MAIN: 2025-03-10 10:09:06,296 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/09'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:09:36,295 - INFO - taking picture
MAIN: 2025-03-10 10:09:36,296 - INFO - we take 439 photos in this while loop
MAIN: 2025-03-10 10:09:36,296 - INFO - /home/pi/Desktop/images/10032025/10/09/image_10032025_10_09_35_29986.jpg
MAIN: 2025-03-10 10:09:36,296 - INFO - duration: 0.7181226560023788
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:10:07,173 - INFO - taking picture
MAIN: 2025-03-10 10:10:07,174 - INFO - we take 440 photos in this while loop
MAIN: 2025-03-10 10:10:07,174 - INFO - /home/pi/Desktop/images/10032025/10/09/image_10032025_10_10_06_30865.jpg
MAIN: 2025-03-10 10:10:07,174 - INFO - duration: 0.7315819270006614
MAIN: 2025-03-10 10:10:07,175 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/10'
MAIN: 2025-03-10 10:10:07,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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:10:37,272 - INFO - taking picture
MAIN: 2025-03-10 10:10:37,272 - INFO - we take 441 photos in this while loop
MAIN: 2025-03-10 10:10:37,272 - INFO - /home/pi/Desktop/images/10032025/10/10/image_10032025_10_10_36_30105.jpg
MAIN: 2025-03-10 10:10:37,273 - INFO - duration: 0.7242932289991586
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:11: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:11:07,436 - INFO - taking picture
MAIN: 2025-03-10 10:11:07,436 - INFO - we take 442 photos in this while loop
MAIN: 2025-03-10 10:11:07,436 - INFO - /home/pi/Desktop/images/10032025/10/10/image_10032025_10_11_07_30228.jpg
MAIN: 2025-03-10 10:11:07,437 - INFO - duration: 0.6597445829975186
MAIN: 2025-03-10 10:11:07,437 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/11'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:11:37,410 - INFO - taking picture
MAIN: 2025-03-10 10:11:37,411 - INFO - we take 443 photos in this while loop
MAIN: 2025-03-10 10:11:37,411 - INFO - /home/pi/Desktop/images/10032025/10/11/image_10032025_10_11_37_29917.jpg
MAIN: 2025-03-10 10:11:37,411 - INFO - duration: 0.7165961970022181
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:12:05,995 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:12:06,501 - INFO - taking picture
MAIN: 2025-03-10 10:12:06,502 - INFO - we take 444 photos in this while loop
MAIN: 2025-03-10 10:12:06,502 - INFO - /home/pi/Desktop/images/10032025/10/11/image_10032025_10_12_06_29064.jpg
MAIN: 2025-03-10 10:12:06,502 - INFO - duration: 0.7429696870021871
MAIN: 2025-03-10 10:12:06,502 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:12:36,608 - INFO - taking picture
MAIN: 2025-03-10 10:12:36,609 - INFO - we take 445 photos in this while loop
MAIN: 2025-03-10 10:12:36,609 - INFO - /home/pi/Desktop/images/10032025/10/12/image_10032025_10_12_36_30134.jpg
MAIN: 2025-03-10 10:12:36,609 - INFO - duration: 0.7152830200029712
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:13:05,701 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:13:06,900 - INFO - taking picture
MAIN: 2025-03-10 10:13:06,900 - INFO - we take 446 photos in this while loop
MAIN: 2025-03-10 10:13:06,901 - INFO - /home/pi/Desktop/images/10032025/10/12/image_10032025_10_13_06_30305.jpg
MAIN: 2025-03-10 10:13:06,901 - INFO - duration: 0.701844114002597
MAIN: 2025-03-10 10:13:06,901 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:13:37,043 - INFO - taking picture
MAIN: 2025-03-10 10:13:37,044 - INFO - we take 447 photos in this while loop
MAIN: 2025-03-10 10:13:37,044 - INFO - /home/pi/Desktop/images/10032025/10/13/image_10032025_10_13_36_30114.jpg
MAIN: 2025-03-10 10:13:37,044 - INFO - duration: 0.7306179160004831
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:14:06,196 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 10:14:06,412 - INFO - taking picture
MAIN: 2025-03-10 10:14:06,413 - INFO - we take 448 photos in this while loop
MAIN: 2025-03-10 10:14:06,413 - INFO - /home/pi/Desktop/images/10032025/10/13/image_10032025_10_14_06_29387.jpg
MAIN: 2025-03-10 10:14:06,413 - INFO - duration: 0.7120097910010372
MAIN: 2025-03-10 10:14:06,413 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:14:36,390 - INFO - taking picture
MAIN: 2025-03-10 10:14:36,391 - INFO - we take 449 photos in this while loop
MAIN: 2025-03-10 10:14:36,391 - INFO - /home/pi/Desktop/images/10032025/10/14/image_10032025_10_14_36_29970.jpg
MAIN: 2025-03-10 10:14:36,391 - INFO - duration: 0.7198059889997239
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:15:07,004 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 10:15:07,069 - INFO - taking picture
MAIN: 2025-03-10 10:15:07,069 - INFO - we take 450 photos in this while loop
MAIN: 2025-03-10 10:15:07,070 - INFO - /home/pi/Desktop/images/10032025/10/14/image_10032025_10_15_06_30725.jpg
MAIN: 2025-03-10 10:15:07,070 - INFO - duration: 0.672948281000572
MAIN: 2025-03-10 10:15:07,070 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/15'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:15:37,286 - INFO - taking picture
MAIN: 2025-03-10 10:15:37,286 - INFO - we take 451 photos in this while loop
MAIN: 2025-03-10 10:15:37,287 - INFO - /home/pi/Desktop/images/10032025/10/15/image_10032025_10_15_36_30191.jpg
MAIN: 2025-03-10 10:15:37,287 - INFO - duration: 0.6988829680012714
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:16:06,534 - INFO - taking picture
MAIN: 2025-03-10 10:16:06,535 - INFO - we take 452 photos in this while loop
MAIN: 2025-03-10 10:16:06,535 - INFO - /home/pi/Desktop/images/10032025/10/15/image_10032025_10_16_06_29234.jpg
MAIN: 2025-03-10 10:16:06,535 - INFO - duration: 0.7133531250001397
MAIN: 2025-03-10 10:16:06,536 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/16'
MAIN: 2025-03-10 10:16: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:16:36,429 - INFO - taking picture
MAIN: 2025-03-10 10:16:36,429 - INFO - we take 453 photos in this while loop
MAIN: 2025-03-10 10:16:36,430 - INFO - /home/pi/Desktop/images/10032025/10/16/image_10032025_10_16_36_29887.jpg
MAIN: 2025-03-10 10:16:36,430 - INFO - duration: 0.7203931250005553
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:17: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 ! 
MAIN: 2025-03-10 10:17:06,830 - INFO - taking picture
MAIN: 2025-03-10 10:17:06,831 - INFO - we take 454 photos in this while loop
MAIN: 2025-03-10 10:17:06,831 - INFO - /home/pi/Desktop/images/10032025/10/16/image_10032025_10_17_06_30397.jpg
MAIN: 2025-03-10 10:17:06,831 - INFO - duration: 0.7246930729997985
MAIN: 2025-03-10 10:17:06,832 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/17'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:17:36,825 - INFO - taking picture
MAIN: 2025-03-10 10:17:36,826 - INFO - we take 455 photos in this while loop
MAIN: 2025-03-10 10:17:36,826 - INFO - /home/pi/Desktop/images/10032025/10/17/image_10032025_10_17_36_29997.jpg
MAIN: 2025-03-10 10:17:36,826 - INFO - duration: 0.7217260409997834
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:18:07,004 - INFO - cam.read() return no image
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 10:18:07,415 - INFO - taking picture
MAIN: 2025-03-10 10:18:07,416 - INFO - we take 456 photos in this while loop
MAIN: 2025-03-10 10:18:07,416 - INFO - /home/pi/Desktop/images/10032025/10/17/image_10032025_10_18_07_30574.jpg
MAIN: 2025-03-10 10:18:07,416 - INFO - duration: 0.7380719270004192
MAIN: 2025-03-10 10:18:07,417 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:18:37,523 - INFO - taking picture
MAIN: 2025-03-10 10:18:37,524 - INFO - we take 457 photos in this while loop
MAIN: 2025-03-10 10:18:37,524 - INFO - /home/pi/Desktop/images/10032025/10/18/image_10032025_10_18_37_30121.jpg
MAIN: 2025-03-10 10:18:37,524 - INFO - duration: 0.7245395309982996
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:19:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:19:06,691 - INFO - taking picture
MAIN: 2025-03-10 10:19:06,692 - INFO - we take 458 photos in this while loop
MAIN: 2025-03-10 10:19:06,692 - INFO - /home/pi/Desktop/images/10032025/10/18/image_10032025_10_19_06_29225.jpg
MAIN: 2025-03-10 10:19:06,692 - INFO - duration: 0.667537239001831
MAIN: 2025-03-10 10:19:06,693 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:19:36,824 - INFO - taking picture
MAIN: 2025-03-10 10:19:36,824 - INFO - we take 459 photos in this while loop
MAIN: 2025-03-10 10:19:36,824 - INFO - /home/pi/Desktop/images/10032025/10/19/image_10032025_10_19_36_30081.jpg
MAIN: 2025-03-10 10:19:36,825 - INFO - duration: 0.7180760929986718
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:20:06,499 - INFO - taking picture
MAIN: 2025-03-10 10:20:06,500 - INFO - we take 460 photos in this while loop
MAIN: 2025-03-10 10:20:06,500 - INFO - /home/pi/Desktop/images/10032025/10/19/image_10032025_10_20_06_29675.jpg
MAIN: 2025-03-10 10:20:06,500 - INFO - duration: 0.7179888009995921
MAIN: 2025-03-10 10:20:06,501 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/20'
MAIN: 2025-03-10 10:20:07,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:20:36,677 - INFO - taking picture
MAIN: 2025-03-10 10:20:36,678 - INFO - we take 461 photos in this while loop
MAIN: 2025-03-10 10:20:36,678 - INFO - /home/pi/Desktop/images/10032025/10/20/image_10032025_10_20_36_30170.jpg
MAIN: 2025-03-10 10:20:36,678 - INFO - duration: 0.7260347910014389
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:21: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:21:06,966 - INFO - taking picture
MAIN: 2025-03-10 10:21:06,967 - INFO - we take 462 photos in this while loop
MAIN: 2025-03-10 10:21:06,967 - INFO - /home/pi/Desktop/images/10032025/10/20/image_10032025_10_21_06_30318.jpg
MAIN: 2025-03-10 10:21:06,967 - INFO - duration: 0.6962150520012074
MAIN: 2025-03-10 10:21:06,968 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:21:37,159 - INFO - taking picture
MAIN: 2025-03-10 10:21:37,159 - INFO - we take 463 photos in this while loop
MAIN: 2025-03-10 10:21:37,160 - INFO - /home/pi/Desktop/images/10032025/10/21/image_10032025_10_21_36_30156.jpg
MAIN: 2025-03-10 10:21:37,160 - INFO - duration: 0.731753177002247
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:22:06,490 - INFO - taking picture
MAIN: 2025-03-10 10:22:06,490 - INFO - we take 464 photos in this while loop
MAIN: 2025-03-10 10:22:06,490 - INFO - /home/pi/Desktop/images/10032025/10/21/image_10032025_10_22_06_29349.jpg
MAIN: 2025-03-10 10:22:06,491 - INFO - duration: 0.7133374479999475
MAIN: 2025-03-10 10:22:06,491 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/22'
MAIN: 2025-03-10 10:22: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:22:36,585 - INFO - taking picture
MAIN: 2025-03-10 10:22:36,585 - INFO - we take 465 photos in this while loop
MAIN: 2025-03-10 10:22:36,585 - INFO - /home/pi/Desktop/images/10032025/10/22/image_10032025_10_22_36_30073.jpg
MAIN: 2025-03-10 10:22:36,585 - INFO - duration: 0.7345728639993467
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:23: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:23:06,924 - INFO - taking picture
MAIN: 2025-03-10 10:23:06,925 - INFO - we take 466 photos in this while loop
MAIN: 2025-03-10 10:23:06,925 - INFO - /home/pi/Desktop/images/10032025/10/22/image_10032025_10_23_06_30335.jpg
MAIN: 2025-03-10 10:23:06,925 - INFO - duration: 0.7383429679975961
MAIN: 2025-03-10 10:23:06,925 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:23:36,995 - INFO - taking picture
MAIN: 2025-03-10 10:23:36,996 - INFO - we take 467 photos in this while loop
MAIN: 2025-03-10 10:23:36,996 - INFO - /home/pi/Desktop/images/10032025/10/23/image_10032025_10_23_36_30090.jpg
MAIN: 2025-03-10 10:23:36,996 - INFO - duration: 0.7192588539983262
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:24:06,007 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 10:24:06,345 - INFO - taking picture
MAIN: 2025-03-10 10:24:06,346 - INFO - we take 468 photos in this while loop
MAIN: 2025-03-10 10:24:06,346 - INFO - /home/pi/Desktop/images/10032025/10/23/image_10032025_10_24_05_29334.jpg
MAIN: 2025-03-10 10:24:06,346 - INFO - duration: 0.7345854160012095
MAIN: 2025-03-10 10:24:06,347 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:24:36,453 - INFO - taking picture
MAIN: 2025-03-10 10:24:36,453 - INFO - we take 469 photos in this while loop
MAIN: 2025-03-10 10:24:36,454 - INFO - /home/pi/Desktop/images/10032025/10/24/image_10032025_10_24_36_30115.jpg
MAIN: 2025-03-10 10:24:36,454 - INFO - duration: 0.7265761450034915
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:25: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:25:07,049 - INFO - taking picture
MAIN: 2025-03-10 10:25:07,049 - INFO - we take 470 photos in this while loop
MAIN: 2025-03-10 10:25:07,049 - INFO - /home/pi/Desktop/images/10032025/10/24/image_10032025_10_25_06_30605.jpg
MAIN: 2025-03-10 10:25:07,050 - INFO - duration: 0.7172695829976874
MAIN: 2025-03-10 10:25:07,050 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/25'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:25:37,068 - INFO - taking picture
MAIN: 2025-03-10 10:25:37,069 - INFO - we take 471 photos in this while loop
MAIN: 2025-03-10 10:25:37,069 - INFO - /home/pi/Desktop/images/10032025/10/25/image_10032025_10_25_36_30023.jpg
MAIN: 2025-03-10 10:25:37,069 - INFO - duration: 0.7134460420020332
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:26:06,326 - INFO - taking picture
MAIN: 2025-03-10 10:26:06,327 - INFO - we take 472 photos in this while loop
MAIN: 2025-03-10 10:26:06,327 - INFO - /home/pi/Desktop/images/10032025/10/25/image_10032025_10_26_05_29268.jpg
MAIN: 2025-03-10 10:26:06,327 - INFO - duration: 0.7033192710005096
MAIN: 2025-03-10 10:26:06,327 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/26'
MAIN: 2025-03-10 10:26: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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:26:37,546 - INFO - taking picture
MAIN: 2025-03-10 10:26:37,546 - INFO - we take 473 photos in this while loop
MAIN: 2025-03-10 10:26:37,547 - INFO - /home/pi/Desktop/images/10032025/10/26/image_10032025_10_26_37_31217.jpg
MAIN: 2025-03-10 10:26:37,547 - INFO - duration: 0.70554083299794
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:27:06,252 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 10:27:06,601 - INFO - taking picture
MAIN: 2025-03-10 10:27:06,602 - INFO - we take 474 photos in this while loop
MAIN: 2025-03-10 10:27:06,602 - INFO - /home/pi/Desktop/images/10032025/10/26/image_10032025_10_27_06_29035.jpg
MAIN: 2025-03-10 10:27:06,602 - INFO - duration: 0.7258844269999827
MAIN: 2025-03-10 10:27:06,603 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:27:36,476 - INFO - taking picture
MAIN: 2025-03-10 10:27:36,476 - INFO - we take 475 photos in this while loop
MAIN: 2025-03-10 10:27:36,476 - INFO - /home/pi/Desktop/images/10032025/10/27/image_10032025_10_27_36_29891.jpg
MAIN: 2025-03-10 10:27:36,476 - INFO - duration: 0.708477916999982
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:28:06,842 - INFO - cam.read() 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-10 10:28:07,128 - INFO - taking picture
MAIN: 2025-03-10 10:28:07,129 - INFO - we take 476 photos in this while loop
MAIN: 2025-03-10 10:28:07,129 - INFO - /home/pi/Desktop/images/10032025/10/27/image_10032025_10_28_06_30638.jpg
MAIN: 2025-03-10 10:28:07,129 - INFO - duration: 0.7227183849972789
MAIN: 2025-03-10 10:28:07,129 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:28:37,196 - INFO - taking picture
MAIN: 2025-03-10 10:28:37,197 - INFO - we take 477 photos in this while loop
MAIN: 2025-03-10 10:28:37,197 - INFO - /home/pi/Desktop/images/10032025/10/28/image_10032025_10_28_36_30070.jpg
MAIN: 2025-03-10 10:28:37,197 - INFO - duration: 0.7208837500002119
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:29:06,585 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:29:07,393 - INFO - taking picture
MAIN: 2025-03-10 10:29:07,394 - INFO - we take 478 photos in this while loop
MAIN: 2025-03-10 10:29:07,394 - INFO - /home/pi/Desktop/images/10032025/10/28/image_10032025_10_29_07_30253.jpg
MAIN: 2025-03-10 10:29:07,394 - INFO - duration: 0.6639168229994539
MAIN: 2025-03-10 10:29:07,394 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:29:37,326 - INFO - taking picture
MAIN: 2025-03-10 10:29:37,327 - INFO - we take 479 photos in this while loop
MAIN: 2025-03-10 10:29:37,327 - INFO - /home/pi/Desktop/images/10032025/10/29/image_10032025_10_29_36_29883.jpg
MAIN: 2025-03-10 10:29:37,327 - INFO - duration: 0.7136947910003073
[ WARN:0] global /tmp/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:30:06,534 - INFO - taking picture
MAIN: 2025-03-10 10:30:06,534 - INFO - we take 480 photos in this while loop
MAIN: 2025-03-10 10:30:06,535 - INFO - /home/pi/Desktop/images/10032025/10/29/image_10032025_10_30_06_29229.jpg
MAIN: 2025-03-10 10:30:06,535 - INFO - duration: 0.6913466149999294
MAIN: 2025-03-10 10:30:06,535 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/30'
MAIN: 2025-03-10 10:30: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:30:36,591 - INFO - taking picture
MAIN: 2025-03-10 10:30:36,591 - INFO - we take 481 photos in this while loop
MAIN: 2025-03-10 10:30:36,592 - INFO - /home/pi/Desktop/images/10032025/10/30/image_10032025_10_30_36_30023.jpg
MAIN: 2025-03-10 10:30:36,592 - INFO - duration: 0.7245934370002942
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:31:05,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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:31:06,679 - INFO - taking picture
MAIN: 2025-03-10 10:31:06,680 - INFO - we take 482 photos in this while loop
MAIN: 2025-03-10 10:31:06,680 - INFO - /home/pi/Desktop/images/10032025/10/30/image_10032025_10_31_06_30128.jpg
MAIN: 2025-03-10 10:31:06,680 - INFO - duration: 0.684311354001693
MAIN: 2025-03-10 10:31:06,680 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:31:36,811 - INFO - taking picture
MAIN: 2025-03-10 10:31:36,812 - INFO - we take 483 photos in this while loop
MAIN: 2025-03-10 10:31:36,812 - INFO - /home/pi/Desktop/images/10032025/10/31/image_10032025_10_31_36_30119.jpg
MAIN: 2025-03-10 10:31:36,812 - INFO - duration: 0.6970819790003588
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:32:06,388 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:32:07,150 - INFO - taking picture
MAIN: 2025-03-10 10:32:07,150 - INFO - we take 484 photos in this while loop
MAIN: 2025-03-10 10:32:07,150 - INFO - /home/pi/Desktop/images/10032025/10/31/image_10032025_10_32_06_30343.jpg
MAIN: 2025-03-10 10:32:07,150 - INFO - duration: 0.6919326040006126
MAIN: 2025-03-10 10:32:07,151 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/32'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:32:37,261 - INFO - taking picture
MAIN: 2025-03-10 10:32:37,261 - INFO - we take 485 photos in this while loop
MAIN: 2025-03-10 10:32:37,262 - INFO - /home/pi/Desktop/images/10032025/10/32/image_10032025_10_32_36_30084.jpg
MAIN: 2025-03-10 10:32:37,262 - INFO - duration: 0.7192158850011765
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:33: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 ! 
MAIN: 2025-03-10 10:33:06,455 - INFO - taking picture
MAIN: 2025-03-10 10:33:06,456 - INFO - we take 486 photos in this while loop
MAIN: 2025-03-10 10:33:06,456 - INFO - /home/pi/Desktop/images/10032025/10/32/image_10032025_10_33_06_29197.jpg
MAIN: 2025-03-10 10:33:06,456 - INFO - duration: 0.7156903640025121
MAIN: 2025-03-10 10:33:06,456 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:33:36,291 - INFO - taking picture
MAIN: 2025-03-10 10:33:36,291 - INFO - we take 487 photos in this while loop
MAIN: 2025-03-10 10:33:36,291 - INFO - /home/pi/Desktop/images/10032025/10/33/image_10032025_10_33_35_29832.jpg
MAIN: 2025-03-10 10:33:36,292 - INFO - duration: 0.7184823429997778
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:34: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 ! 
MAIN: 2025-03-10 10:34:07,016 - INFO - taking picture
MAIN: 2025-03-10 10:34:07,016 - INFO - we take 488 photos in this while loop
MAIN: 2025-03-10 10:34:07,016 - INFO - /home/pi/Desktop/images/10032025/10/33/image_10032025_10_34_06_30715.jpg
MAIN: 2025-03-10 10:34:07,017 - INFO - duration: 0.7278007290005917
MAIN: 2025-03-10 10:34:07,017 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=31 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:34:36,965 - INFO - taking picture
MAIN: 2025-03-10 10:34:36,966 - INFO - we take 489 photos in this while loop
MAIN: 2025-03-10 10:34:36,966 - INFO - /home/pi/Desktop/images/10032025/10/34/image_10032025_10_34_36_29966.jpg
MAIN: 2025-03-10 10:34:36,966 - INFO - duration: 0.7107249479995517
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:35:06,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=41 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:35:07,608 - INFO - taking picture
MAIN: 2025-03-10 10:35:07,609 - INFO - we take 490 photos in this while loop
MAIN: 2025-03-10 10:35:07,609 - INFO - /home/pi/Desktop/images/10032025/10/34/image_10032025_10_35_07_30542.jpg
MAIN: 2025-03-10 10:35:07,609 - INFO - duration: 0.8113109369987797
MAIN: 2025-03-10 10:35:07,610 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:35:37,412 - INFO - taking picture
MAIN: 2025-03-10 10:35:37,413 - INFO - we take 491 photos in this while loop
MAIN: 2025-03-10 10:35:37,413 - INFO - /home/pi/Desktop/images/10032025/10/35/image_10032025_10_35_37_29906.jpg
MAIN: 2025-03-10 10:35:37,413 - INFO - duration: 0.7079989579979156
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:36:06,452 - INFO - taking picture
MAIN: 2025-03-10 10:36:06,453 - INFO - we take 492 photos in this while loop
MAIN: 2025-03-10 10:36:06,453 - INFO - /home/pi/Desktop/images/10032025/10/35/image_10032025_10_36_06_29059.jpg
MAIN: 2025-03-10 10:36:06,453 - INFO - duration: 0.6881821349998063
MAIN: 2025-03-10 10:36:06,453 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/36'
MAIN: 2025-03-10 10:36: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:36:36,464 - INFO - taking picture
MAIN: 2025-03-10 10:36:36,464 - INFO - we take 493 photos in this while loop
MAIN: 2025-03-10 10:36:36,465 - INFO - /home/pi/Desktop/images/10032025/10/36/image_10032025_10_36_36_29991.jpg
MAIN: 2025-03-10 10:36:36,465 - INFO - duration: 0.7087787489981565
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:37:05,701 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:37:06,704 - INFO - taking picture
MAIN: 2025-03-10 10:37:06,705 - INFO - we take 494 photos in this while loop
MAIN: 2025-03-10 10:37:06,705 - INFO - /home/pi/Desktop/images/10032025/10/36/image_10032025_10_37_06_30293.jpg
MAIN: 2025-03-10 10:37:06,705 - INFO - duration: 0.6552337489993079
MAIN: 2025-03-10 10:37:06,706 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:37:36,563 - INFO - taking picture
MAIN: 2025-03-10 10:37:36,564 - INFO - we take 495 photos in this while loop
MAIN: 2025-03-10 10:37:36,564 - INFO - /home/pi/Desktop/images/10032025/10/37/image_10032025_10_37_36_29799.jpg
MAIN: 2025-03-10 10:37:36,564 - INFO - duration: 0.7147395829997549
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10: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 ! 
MAIN: 2025-03-10 10:38:06,885 - INFO - taking picture
MAIN: 2025-03-10 10:38:06,885 - INFO - we take 496 photos in this while loop
MAIN: 2025-03-10 10:38:06,885 - INFO - /home/pi/Desktop/images/10032025/10/37/image_10032025_10_38_06_30298.jpg
MAIN: 2025-03-10 10:38:06,886 - INFO - duration: 0.7374923959978332
MAIN: 2025-03-10 10:38:06,886 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:38:36,746 - INFO - taking picture
MAIN: 2025-03-10 10:38:36,747 - INFO - we take 497 photos in this while loop
MAIN: 2025-03-10 10:38:36,747 - INFO - /home/pi/Desktop/images/10032025/10/38/image_10032025_10_38_36_29873.jpg
MAIN: 2025-03-10 10:38:36,747 - INFO - duration: 0.7254804680014786
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:39:06,374 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:39:07,140 - INFO - taking picture
MAIN: 2025-03-10 10:39:07,140 - INFO - we take 498 photos in this while loop
MAIN: 2025-03-10 10:39:07,141 - INFO - /home/pi/Desktop/images/10032025/10/38/image_10032025_10_39_06_30422.jpg
MAIN: 2025-03-10 10:39:07,141 - INFO - duration: 0.6967203120002523
MAIN: 2025-03-10 10:39:07,141 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:39:37,204 - INFO - taking picture
MAIN: 2025-03-10 10:39:37,205 - INFO - we take 499 photos in this while loop
MAIN: 2025-03-10 10:39:37,205 - INFO - /home/pi/Desktop/images/10032025/10/39/image_10032025_10_39_36_30041.jpg
MAIN: 2025-03-10 10:39:37,205 - INFO - duration: 0.7194213539987686
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:40:06,631 - INFO - taking picture
MAIN: 2025-03-10 10:40:06,632 - INFO - we take 500 photos in this while loop
MAIN: 2025-03-10 10:40:06,632 - INFO - /home/pi/Desktop/images/10032025/10/39/image_10032025_10_40_06_29391.jpg
MAIN: 2025-03-10 10:40:06,632 - INFO - duration: 0.7542611449971446
MAIN: 2025-03-10 10:40:06,633 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/40'
MAIN: 2025-03-10 10:40:07,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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:40:36,643 - INFO - taking picture
MAIN: 2025-03-10 10:40:36,643 - INFO - we take 501 photos in this while loop
MAIN: 2025-03-10 10:40:36,644 - INFO - /home/pi/Desktop/images/10032025/10/40/image_10032025_10_40_36_30047.jpg
MAIN: 2025-03-10 10:40:36,644 - INFO - duration: 0.7178767709992826
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:41: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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:41:06,872 - INFO - taking picture
MAIN: 2025-03-10 10:41:06,873 - INFO - we take 502 photos in this while loop
MAIN: 2025-03-10 10:41:06,873 - INFO - /home/pi/Desktop/images/10032025/10/40/image_10032025_10_41_06_30285.jpg
MAIN: 2025-03-10 10:41:06,873 - INFO - duration: 0.6624975000013364
MAIN: 2025-03-10 10:41:06,874 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:41:36,902 - INFO - taking picture
MAIN: 2025-03-10 10:41:36,903 - INFO - we take 503 photos in this while loop
MAIN: 2025-03-10 10:41:36,903 - INFO - /home/pi/Desktop/images/10032025/10/41/image_10032025_10_41_36_29972.jpg
MAIN: 2025-03-10 10:41:36,903 - INFO - duration: 0.7194563529992593
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:42:06,311 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:42:07,185 - INFO - taking picture
MAIN: 2025-03-10 10:42:07,185 - INFO - we take 504 photos in this while loop
MAIN: 2025-03-10 10:42:07,186 - INFO - /home/pi/Desktop/images/10032025/10/41/image_10032025_10_42_06_30339.jpg
MAIN: 2025-03-10 10:42:07,186 - INFO - duration: 0.6618030729987368
MAIN: 2025-03-10 10:42:07,186 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/42'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:42:37,266 - INFO - taking picture
MAIN: 2025-03-10 10:42:37,267 - INFO - we take 505 photos in this while loop
MAIN: 2025-03-10 10:42:37,267 - INFO - /home/pi/Desktop/images/10032025/10/42/image_10032025_10_42_36_30022.jpg
MAIN: 2025-03-10 10:42:37,267 - INFO - duration: 0.7207552079999004
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:43:06,153 - INFO - cam.read() 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-10 10:43:06,385 - INFO - taking picture
MAIN: 2025-03-10 10:43:06,385 - INFO - we take 506 photos in this while loop
MAIN: 2025-03-10 10:43:06,385 - INFO - /home/pi/Desktop/images/10032025/10/42/image_10032025_10_43_05_29113.jpg
MAIN: 2025-03-10 10:43:06,386 - INFO - duration: 0.725879427001928
MAIN: 2025-03-10 10:43:06,386 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:43:37,555 - INFO - taking picture
MAIN: 2025-03-10 10:43:37,556 - INFO - we take 507 photos in this while loop
MAIN: 2025-03-10 10:43:37,556 - INFO - /home/pi/Desktop/images/10032025/10/43/image_10032025_10_43_37_31173.jpg
MAIN: 2025-03-10 10:43:37,556 - INFO - duration: 0.7233504690011614
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:44: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 ! 
MAIN: 2025-03-10 10:44:07,002 - INFO - taking picture
MAIN: 2025-03-10 10:44:07,003 - INFO - we take 508 photos in this while loop
MAIN: 2025-03-10 10:44:07,003 - INFO - /home/pi/Desktop/images/10032025/10/43/image_10032025_10_44_06_29440.jpg
MAIN: 2025-03-10 10:44:07,003 - INFO - duration: 0.7296094270022877
MAIN: 2025-03-10 10:44:07,004 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/44'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:44:36,933 - INFO - taking picture
MAIN: 2025-03-10 10:44:36,934 - INFO - we take 509 photos in this while loop
MAIN: 2025-03-10 10:44:36,934 - INFO - /home/pi/Desktop/images/10032025/10/44/image_10032025_10_44_36_29954.jpg
MAIN: 2025-03-10 10:44:36,934 - INFO - duration: 0.705815885001357
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:45:06,795 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:45:07,571 - INFO - taking picture
MAIN: 2025-03-10 10:45:07,571 - INFO - we take 510 photos in this while loop
MAIN: 2025-03-10 10:45:07,572 - INFO - /home/pi/Desktop/images/10032025/10/44/image_10032025_10_45_07_30632.jpg
MAIN: 2025-03-10 10:45:07,572 - INFO - duration: 0.7110080730017216
MAIN: 2025-03-10 10:45:07,572 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:45:36,387 - INFO - taking picture
MAIN: 2025-03-10 10:45:36,388 - INFO - we take 511 photos in this while loop
MAIN: 2025-03-10 10:45:36,388 - INFO - /home/pi/Desktop/images/10032025/10/45/image_10032025_10_45_36_28830.jpg
MAIN: 2025-03-10 10:45:36,388 - INFO - duration: 0.6967238020006334
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:46: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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:46:06,737 - INFO - taking picture
MAIN: 2025-03-10 10:46:06,738 - INFO - we take 512 photos in this while loop
MAIN: 2025-03-10 10:46:06,738 - INFO - /home/pi/Desktop/images/10032025/10/45/image_10032025_10_46_06_30337.jpg
MAIN: 2025-03-10 10:46:06,738 - INFO - duration: 0.7088079679997463
MAIN: 2025-03-10 10:46:06,738 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:46:36,668 - INFO - taking picture
MAIN: 2025-03-10 10:46:36,669 - INFO - we take 513 photos in this while loop
MAIN: 2025-03-10 10:46:36,669 - INFO - /home/pi/Desktop/images/10032025/10/46/image_10032025_10_46_36_29953.jpg
MAIN: 2025-03-10 10:46:36,669 - INFO - duration: 0.6862442700003157
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:47:05,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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:47:06,817 - INFO - taking picture
MAIN: 2025-03-10 10:47:06,818 - INFO - we take 514 photos in this while loop
MAIN: 2025-03-10 10:47:06,818 - INFO - /home/pi/Desktop/images/10032025/10/46/image_10032025_10_47_06_30184.jpg
MAIN: 2025-03-10 10:47:06,818 - INFO - duration: 0.6508598950022133
MAIN: 2025-03-10 10:47:06,819 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:47:36,675 - INFO - taking picture
MAIN: 2025-03-10 10:47:36,675 - INFO - we take 515 photos in this while loop
MAIN: 2025-03-10 10:47:36,676 - INFO - /home/pi/Desktop/images/10032025/10/47/image_10032025_10_47_36_29781.jpg
MAIN: 2025-03-10 10:47:36,676 - INFO - duration: 0.7266317699977662
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:48:06,324 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:48:07,016 - INFO - taking picture
MAIN: 2025-03-10 10:48:07,016 - INFO - we take 516 photos in this while loop
MAIN: 2025-03-10 10:48:07,016 - INFO - /home/pi/Desktop/images/10032025/10/47/image_10032025_10_48_06_30394.jpg
MAIN: 2025-03-10 10:48:07,017 - INFO - duration: 0.6725544789987907
MAIN: 2025-03-10 10:48:07,017 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:48:36,785 - INFO - taking picture
MAIN: 2025-03-10 10:48:36,785 - INFO - we take 517 photos in this while loop
MAIN: 2025-03-10 10:48:36,786 - INFO - /home/pi/Desktop/images/10032025/10/48/image_10032025_10_48_36_29736.jpg
MAIN: 2025-03-10 10:48:36,786 - INFO - duration: 0.7053983330006304
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 10:49: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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:49:06,918 - INFO - taking picture
MAIN: 2025-03-10 10:49:06,919 - INFO - we take 518 photos in this while loop
MAIN: 2025-03-10 10:49:06,919 - INFO - /home/pi/Desktop/images/10032025/10/48/image_10032025_10_49_06_30193.jpg
MAIN: 2025-03-10 10:49:06,919 - INFO - duration: 0.6452504160006356
MAIN: 2025-03-10 10:49:06,920 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:49:36,759 - INFO - taking picture
MAIN: 2025-03-10 10:49:36,760 - INFO - we take 519 photos in this while loop
MAIN: 2025-03-10 10:49:36,760 - INFO - /home/pi/Desktop/images/10032025/10/49/image_10032025_10_49_36_29781.jpg
MAIN: 2025-03-10 10:49:36,760 - INFO - duration: 0.704261614002462
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:50:07,271 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 10:50:07,280 - INFO - taking picture
MAIN: 2025-03-10 10:50:07,281 - INFO - we take 520 photos in this while loop
MAIN: 2025-03-10 10:50:07,282 - INFO - /home/pi/Desktop/images/10032025/10/49/image_10032025_10_50_06_30545.jpg
MAIN: 2025-03-10 10:50:07,283 - INFO - duration: 0.6813328640018881
MAIN: 2025-03-10 10:50:07,284 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:50:37,019 - INFO - taking picture
MAIN: 2025-03-10 10:50:37,020 - INFO - we take 521 photos in this while loop
MAIN: 2025-03-10 10:50:37,020 - INFO - /home/pi/Desktop/images/10032025/10/50/image_10032025_10_50_36_29706.jpg
MAIN: 2025-03-10 10:50:37,020 - INFO - duration: 0.7114615099999355
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:51:06,295 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:51:07,032 - INFO - taking picture
MAIN: 2025-03-10 10:51:07,033 - INFO - we take 522 photos in this while loop
MAIN: 2025-03-10 10:51:07,033 - INFO - /home/pi/Desktop/images/10032025/10/50/image_10032025_10_51_06_30078.jpg
MAIN: 2025-03-10 10:51:07,033 - INFO - duration: 0.6459189059969503
MAIN: 2025-03-10 10:51:07,034 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:51:36,826 - INFO - taking picture
MAIN: 2025-03-10 10:51:36,827 - INFO - we take 523 photos in this while loop
MAIN: 2025-03-10 10:51:36,827 - INFO - /home/pi/Desktop/images/10032025/10/51/image_10032025_10_51_36_29734.jpg
MAIN: 2025-03-10 10:51:36,827 - INFO - duration: 0.7052134369987471
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:52: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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:52:07,102 - INFO - taking picture
MAIN: 2025-03-10 10:52:07,102 - INFO - we take 524 photos in this while loop
MAIN: 2025-03-10 10:52:07,103 - INFO - /home/pi/Desktop/images/10032025/10/51/image_10032025_10_52_06_30337.jpg
MAIN: 2025-03-10 10:52:07,103 - INFO - duration: 0.6440642699999444
MAIN: 2025-03-10 10:52:07,103 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:52:36,913 - INFO - taking picture
MAIN: 2025-03-10 10:52:36,914 - INFO - we take 525 photos in this while loop
MAIN: 2025-03-10 10:52:36,914 - INFO - /home/pi/Desktop/images/10032025/10/52/image_10032025_10_52_36_29753.jpg
MAIN: 2025-03-10 10:52:36,914 - INFO - duration: 0.7020671350001066
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:53:05,650 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:53:07,009 - INFO - taking picture
MAIN: 2025-03-10 10:53:07,009 - INFO - we take 526 photos in this while loop
MAIN: 2025-03-10 10:53:07,009 - INFO - /home/pi/Desktop/images/10032025/10/52/image_10032025_10_53_06_30117.jpg
MAIN: 2025-03-10 10:53:07,010 - INFO - duration: 0.6799778120002884
MAIN: 2025-03-10 10:53:07,010 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:53:36,925 - INFO - taking picture
MAIN: 2025-03-10 10:53:36,926 - INFO - we take 527 photos in this while loop
MAIN: 2025-03-10 10:53:36,926 - INFO - /home/pi/Desktop/images/10032025/10/53/image_10032025_10_53_36_29896.jpg
MAIN: 2025-03-10 10:53:36,926 - INFO - duration: 0.7001210929993249
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:54:06,983 - INFO - taking picture
MAIN: 2025-03-10 10:54:06,984 - INFO - we take 528 photos in this while loop
MAIN: 2025-03-10 10:54:06,984 - INFO - /home/pi/Desktop/images/10032025/10/53/image_10032025_10_54_06_30115.jpg
MAIN: 2025-03-10 10:54:06,984 - INFO - duration: 0.6421521869997378
MAIN: 2025-03-10 10:54:06,985 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/54'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:54:36,874 - INFO - taking picture
MAIN: 2025-03-10 10:54:36,875 - INFO - we take 529 photos in this while loop
MAIN: 2025-03-10 10:54:36,875 - INFO - /home/pi/Desktop/images/10032025/10/54/image_10032025_10_54_36_29833.jpg
MAIN: 2025-03-10 10:54:36,875 - INFO - duration: 0.6996961969998665
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:55: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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:55:07,296 - INFO - taking picture
MAIN: 2025-03-10 10:55:07,297 - INFO - we take 530 photos in this while loop
MAIN: 2025-03-10 10:55:07,297 - INFO - /home/pi/Desktop/images/10032025/10/54/image_10032025_10_55_06_30432.jpg
MAIN: 2025-03-10 10:55:07,297 - INFO - duration: 0.6889353649967234
MAIN: 2025-03-10 10:55:07,298 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:55:37,216 - INFO - taking picture
MAIN: 2025-03-10 10:55:37,216 - INFO - we take 531 photos in this while loop
MAIN: 2025-03-10 10:55:37,216 - INFO - /home/pi/Desktop/images/10032025/10/55/image_10032025_10_55_36_29901.jpg
MAIN: 2025-03-10 10:55:37,217 - INFO - duration: 0.7071241669982555
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:56:06,297 - INFO - taking picture
MAIN: 2025-03-10 10:56:06,298 - INFO - we take 532 photos in this while loop
MAIN: 2025-03-10 10:56:06,298 - INFO - /home/pi/Desktop/images/10032025/10/55/image_10032025_10_56_05_29110.jpg
MAIN: 2025-03-10 10:56:06,298 - INFO - duration: 0.6777567710014409
MAIN: 2025-03-10 10:56:06,299 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/56'
MAIN: 2025-03-10 10:56:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:56:37,324 - INFO - taking picture
MAIN: 2025-03-10 10:56:37,324 - INFO - we take 533 photos in this while loop
MAIN: 2025-03-10 10:56:37,324 - INFO - /home/pi/Desktop/images/10032025/10/56/image_10032025_10_56_36_31002.jpg
MAIN: 2025-03-10 10:56:37,325 - INFO - duration: 0.7017754679982318
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:57:06,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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:57:07,299 - INFO - taking picture
MAIN: 2025-03-10 10:57:07,300 - INFO - we take 534 photos in this while loop
MAIN: 2025-03-10 10:57:07,300 - INFO - /home/pi/Desktop/images/10032025/10/56/image_10032025_10_57_06_30031.jpg
MAIN: 2025-03-10 10:57:07,300 - INFO - duration: 0.6463618749985471
MAIN: 2025-03-10 10:57:07,301 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:57:37,128 - INFO - taking picture
MAIN: 2025-03-10 10:57:37,129 - INFO - we take 535 photos in this while loop
MAIN: 2025-03-10 10:57:37,129 - INFO - /home/pi/Desktop/images/10032025/10/57/image_10032025_10_57_36_29765.jpg
MAIN: 2025-03-10 10:57:37,129 - INFO - duration: 0.7099791139989975
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:58:06,668 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:58:07,438 - INFO - taking picture
MAIN: 2025-03-10 10:58:07,438 - INFO - we take 536 photos in this while loop
MAIN: 2025-03-10 10:58:07,438 - INFO - /home/pi/Desktop/images/10032025/10/57/image_10032025_10_58_07_30366.jpg
MAIN: 2025-03-10 10:58:07,439 - INFO - duration: 0.6527897400010261
MAIN: 2025-03-10 10:58:07,439 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:58:37,359 - INFO - taking picture
MAIN: 2025-03-10 10:58:37,360 - INFO - we take 537 photos in this while loop
MAIN: 2025-03-10 10:58:37,360 - INFO - /home/pi/Desktop/images/10032025/10/58/image_10032025_10_58_36_29869.jpg
MAIN: 2025-03-10 10:58:37,360 - INFO - duration: 0.7041351560001203
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 10:59:05,688 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:59:07,479 - INFO - taking picture
MAIN: 2025-03-10 10:59:07,480 - INFO - we take 538 photos in this while loop
MAIN: 2025-03-10 10:59:07,480 - INFO - /home/pi/Desktop/images/10032025/10/58/image_10032025_10_59_07_30143.jpg
MAIN: 2025-03-10 10:59:07,480 - INFO - duration: 0.6807846359988616
MAIN: 2025-03-10 10:59:07,481 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/10/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=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 10:59:37,239 - INFO - taking picture
MAIN: 2025-03-10 10:59:37,239 - INFO - we take 539 photos in this while loop
MAIN: 2025-03-10 10:59:37,239 - INFO - /home/pi/Desktop/images/10032025/10/59/image_10032025_10_59_36_29735.jpg
MAIN: 2025-03-10 10:59:37,240 - INFO - duration: 0.7049213020000025
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=17 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:00:06,642 - INFO - taking picture
MAIN: 2025-03-10 11:00:06,643 - INFO - we take 540 photos in this while loop
MAIN: 2025-03-10 11:00:06,643 - INFO - /home/pi/Desktop/images/10032025/10/59/image_10032025_11_00_06_29410.jpg
MAIN: 2025-03-10 11:00:06,643 - INFO - duration: 0.6982535419992928
MAIN: 2025-03-10 11:00:06,644 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/00'
MAIN: 2025-03-10 11:00:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:00:36,314 - INFO - taking picture
MAIN: 2025-03-10 11:00:36,315 - INFO - we take 541 photos in this while loop
MAIN: 2025-03-10 11:00:36,315 - INFO - /home/pi/Desktop/images/10032025/11/00/image_10032025_11_00_35_29673.jpg
MAIN: 2025-03-10 11:00:36,315 - INFO - duration: 0.6966303120025259
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:01:06,148 - INFO - cam.read() 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-10 11:01:06,479 - INFO - taking picture
MAIN: 2025-03-10 11:01:06,479 - INFO - we take 542 photos in this while loop
MAIN: 2025-03-10 11:01:06,479 - INFO - /home/pi/Desktop/images/10032025/11/00/image_10032025_11_01_06_30138.jpg
MAIN: 2025-03-10 11:01:06,480 - INFO - duration: 0.722186615003011
MAIN: 2025-03-10 11:01:06,480 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:01:36,281 - INFO - taking picture
MAIN: 2025-03-10 11:01:36,281 - INFO - we take 543 photos in this while loop
MAIN: 2025-03-10 11:01:36,281 - INFO - /home/pi/Desktop/images/10032025/11/01/image_10032025_11_01_35_29848.jpg
MAIN: 2025-03-10 11:01:36,282 - INFO - duration: 0.6756736979987181
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:02:06,379 - INFO - taking picture
MAIN: 2025-03-10 11:02:06,379 - INFO - we take 544 photos in this while loop
MAIN: 2025-03-10 11:02:06,379 - INFO - /home/pi/Desktop/images/10032025/11/01/image_10032025_11_02_05_30093.jpg
MAIN: 2025-03-10 11:02:06,380 - INFO - duration: 0.6806570310000097
MAIN: 2025-03-10 11:02:06,380 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/02'
MAIN: 2025-03-10 11:02: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:02:37,470 - INFO - taking picture
MAIN: 2025-03-10 11:02:37,471 - INFO - we take 545 photos in this while loop
MAIN: 2025-03-10 11:02:37,471 - INFO - /home/pi/Desktop/images/10032025/11/02/image_10032025_11_02_37_31073.jpg
MAIN: 2025-03-10 11:02:37,471 - INFO - duration: 0.698720364998735
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:03:06,450 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:03:07,430 - INFO - taking picture
MAIN: 2025-03-10 11:03:07,430 - INFO - we take 546 photos in this while loop
MAIN: 2025-03-10 11:03:07,431 - INFO - /home/pi/Desktop/images/10032025/11/02/image_10032025_11_03_07_30017.jpg
MAIN: 2025-03-10 11:03:07,431 - INFO - duration: 0.6405699999995704
MAIN: 2025-03-10 11:03:07,431 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:03:37,081 - INFO - taking picture
MAIN: 2025-03-10 11:03:37,082 - INFO - we take 547 photos in this while loop
MAIN: 2025-03-10 11:03:37,082 - INFO - /home/pi/Desktop/images/10032025/11/03/image_10032025_11_03_36_29592.jpg
MAIN: 2025-03-10 11:03:37,082 - INFO - duration: 0.6992989060017862
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:04:06,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:04:07,365 - INFO - taking picture
MAIN: 2025-03-10 11:04:07,365 - INFO - we take 548 photos in this while loop
MAIN: 2025-03-10 11:04:07,366 - INFO - /home/pi/Desktop/images/10032025/11/03/image_10032025_11_04_06_30309.jpg
MAIN: 2025-03-10 11:04:07,366 - INFO - duration: 0.6732830200016906
MAIN: 2025-03-10 11:04:07,366 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:04:37,071 - INFO - taking picture
MAIN: 2025-03-10 11:04:37,072 - INFO - we take 549 photos in this while loop
MAIN: 2025-03-10 11:04:37,072 - INFO - /home/pi/Desktop/images/10032025/11/04/image_10032025_11_04_36_29682.jpg
MAIN: 2025-03-10 11:04:37,072 - INFO - duration: 0.696912292001798
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:05:06,498 - INFO - taking picture
MAIN: 2025-03-10 11:05:06,499 - INFO - we take 550 photos in this while loop
MAIN: 2025-03-10 11:05:06,499 - INFO - /home/pi/Desktop/images/10032025/11/04/image_10032025_11_05_06_29433.jpg
MAIN: 2025-03-10 11:05:06,499 - INFO - duration: 0.6899372389998462
MAIN: 2025-03-10 11:05:06,500 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/05'
MAIN: 2025-03-10 11:05:06,775 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:05:36,273 - INFO - taking picture
MAIN: 2025-03-10 11:05:36,274 - INFO - we take 551 photos in this while loop
MAIN: 2025-03-10 11:05:36,274 - INFO - /home/pi/Desktop/images/10032025/11/05/image_10032025_11_05_35_29770.jpg
MAIN: 2025-03-10 11:05:36,274 - INFO - duration: 0.6944100000000617
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:06:06,455 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 11:06:06,674 - INFO - taking picture
MAIN: 2025-03-10 11:06:06,674 - INFO - we take 552 photos in this while loop
MAIN: 2025-03-10 11:06:06,674 - INFO - /home/pi/Desktop/images/10032025/11/05/image_10032025_11_06_06_30400.jpg
MAIN: 2025-03-10 11:06:06,674 - INFO - duration: 0.6945041660001152
MAIN: 2025-03-10 11:06:06,675 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/06'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:06:36,460 - INFO - taking picture
MAIN: 2025-03-10 11:06:36,461 - INFO - we take 553 photos in this while loop
MAIN: 2025-03-10 11:06:36,461 - INFO - /home/pi/Desktop/images/10032025/11/06/image_10032025_11_06_36_29780.jpg
MAIN: 2025-03-10 11:06:36,461 - INFO - duration: 0.7005348439997761
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:07:06,298 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:07:06,920 - INFO - taking picture
MAIN: 2025-03-10 11:07:06,920 - INFO - we take 554 photos in this while loop
MAIN: 2025-03-10 11:07:06,920 - INFO - /home/pi/Desktop/images/10032025/11/06/image_10032025_11_07_06_30460.jpg
MAIN: 2025-03-10 11:07:06,921 - INFO - duration: 0.6992414060005103
MAIN: 2025-03-10 11:07:06,921 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/07'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:07:36,492 - INFO - taking picture
MAIN: 2025-03-10 11:07:36,492 - INFO - we take 555 photos in this while loop
MAIN: 2025-03-10 11:07:36,493 - INFO - /home/pi/Desktop/images/10032025/11/07/image_10032025_11_07_36_29575.jpg
MAIN: 2025-03-10 11:07:36,493 - INFO - duration: 0.6963749480019032
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:08:06,801 - INFO - taking picture
MAIN: 2025-03-10 11:08:06,802 - INFO - we take 556 photos in this while loop
MAIN: 2025-03-10 11:08:06,802 - INFO - /home/pi/Desktop/images/10032025/11/07/image_10032025_11_08_06_30313.jpg
MAIN: 2025-03-10 11:08:06,802 - INFO - duration: 0.6925854690016422
MAIN: 2025-03-10 11:08:06,803 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/08'
MAIN: 2025-03-10 11:08: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:08:36,626 - INFO - taking picture
MAIN: 2025-03-10 11:08:36,627 - INFO - we take 557 photos in this while loop
MAIN: 2025-03-10 11:08:36,627 - INFO - /home/pi/Desktop/images/10032025/11/08/image_10032025_11_08_36_29811.jpg
MAIN: 2025-03-10 11:08:36,627 - INFO - duration: 0.7058067709986062
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:09:05,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=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:09:06,570 - INFO - taking picture
MAIN: 2025-03-10 11:09:06,571 - INFO - we take 558 photos in this while loop
MAIN: 2025-03-10 11:09:06,571 - INFO - /home/pi/Desktop/images/10032025/11/08/image_10032025_11_09_06_29973.jpg
MAIN: 2025-03-10 11:09:06,571 - INFO - duration: 0.6759615100017982
MAIN: 2025-03-10 11:09:06,571 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:09:36,324 - INFO - taking picture
MAIN: 2025-03-10 11:09:36,324 - INFO - we take 559 photos in this while loop
MAIN: 2025-03-10 11:09:36,324 - INFO - /home/pi/Desktop/images/10032025/11/09/image_10032025_11_09_35_29718.jpg
MAIN: 2025-03-10 11:09:36,325 - INFO - duration: 0.710768385000847
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:10:06,515 - INFO - cam.read() 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-10 11:10:06,815 - INFO - taking picture
MAIN: 2025-03-10 11:10:06,815 - INFO - we take 560 photos in this while loop
MAIN: 2025-03-10 11:10:06,815 - INFO - /home/pi/Desktop/images/10032025/11/09/image_10032025_11_10_06_30500.jpg
MAIN: 2025-03-10 11:10:06,816 - INFO - duration: 0.7015742699986731
MAIN: 2025-03-10 11:10:06,816 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:10:36,435 - INFO - taking picture
MAIN: 2025-03-10 11:10:36,437 - INFO - we take 561 photos in this while loop
MAIN: 2025-03-10 11:10:36,438 - INFO - /home/pi/Desktop/images/10032025/11/10/image_10032025_11_10_36_29633.jpg
MAIN: 2025-03-10 11:10:36,438 - INFO - duration: 0.6901109890022781
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=33 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:11: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-10 11:11:06,507 - INFO - taking picture
MAIN: 2025-03-10 11:11:06,507 - INFO - we take 562 photos in this while loop
MAIN: 2025-03-10 11:11:06,508 - INFO - /home/pi/Desktop/images/10032025/11/10/image_10032025_11_11_06_30054.jpg
MAIN: 2025-03-10 11:11:06,508 - INFO - duration: 0.7051580730003479
MAIN: 2025-03-10 11:11:06,508 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/11'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:11:37,455 - INFO - taking picture
MAIN: 2025-03-10 11:11:37,455 - INFO - we take 563 photos in this while loop
MAIN: 2025-03-10 11:11:37,455 - INFO - /home/pi/Desktop/images/10032025/11/11/image_10032025_11_11_37_30956.jpg
MAIN: 2025-03-10 11:11:37,456 - INFO - duration: 0.696727604001353
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:12:06,245 - INFO - taking picture
MAIN: 2025-03-10 11:12:06,246 - INFO - we take 564 photos in this while loop
MAIN: 2025-03-10 11:12:06,246 - INFO - /home/pi/Desktop/images/10032025/11/11/image_10032025_11_12_05_28813.jpg
MAIN: 2025-03-10 11:12:06,246 - INFO - duration: 0.6738254160009092
MAIN: 2025-03-10 11:12:06,246 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/12'
MAIN: 2025-03-10 11:12: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:12:37,331 - INFO - taking picture
MAIN: 2025-03-10 11:12:37,332 - INFO - we take 565 photos in this while loop
MAIN: 2025-03-10 11:12:37,332 - INFO - /home/pi/Desktop/images/10032025/11/12/image_10032025_11_12_36_31056.jpg
MAIN: 2025-03-10 11:12:37,332 - INFO - duration: 0.7037792699993588
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:13:06,340 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:13:07,290 - INFO - taking picture
MAIN: 2025-03-10 11:13:07,291 - INFO - we take 566 photos in this while loop
MAIN: 2025-03-10 11:13:07,291 - INFO - /home/pi/Desktop/images/10032025/11/12/image_10032025_11_13_06_30023.jpg
MAIN: 2025-03-10 11:13:07,291 - INFO - duration: 0.6393719270017755
MAIN: 2025-03-10 11:13:07,292 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/13'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:13:36,788 - INFO - taking picture
MAIN: 2025-03-10 11:13:36,789 - INFO - we take 567 photos in this while loop
MAIN: 2025-03-10 11:13:36,789 - INFO - /home/pi/Desktop/images/10032025/11/13/image_10032025_11_13_36_29447.jpg
MAIN: 2025-03-10 11:13:36,789 - INFO - duration: 0.6894105200008198
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:14:06,079 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:14:06,771 - INFO - taking picture
MAIN: 2025-03-10 11:14:06,772 - INFO - we take 568 photos in this while loop
MAIN: 2025-03-10 11:14:06,772 - INFO - /home/pi/Desktop/images/10032025/11/13/image_10032025_11_14_06_29995.jpg
MAIN: 2025-03-10 11:14:06,772 - INFO - duration: 0.677051302001928
MAIN: 2025-03-10 11:14:06,773 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:14:36,531 - INFO - taking picture
MAIN: 2025-03-10 11:14:36,532 - INFO - we take 569 photos in this while loop
MAIN: 2025-03-10 11:14:36,532 - INFO - /home/pi/Desktop/images/10032025/11/14/image_10032025_11_14_36_29745.jpg
MAIN: 2025-03-10 11:14:36,532 - INFO - duration: 0.6918006240011891
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 11:15:06,417 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:15:06,871 - INFO - taking picture
MAIN: 2025-03-10 11:15:06,872 - INFO - we take 570 photos in this while loop
MAIN: 2025-03-10 11:15:06,872 - INFO - /home/pi/Desktop/images/10032025/11/14/image_10032025_11_15_06_30320.jpg
MAIN: 2025-03-10 11:15:06,872 - INFO - duration: 0.7120374999976775
MAIN: 2025-03-10 11:15:06,873 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:15:36,565 - INFO - taking picture
MAIN: 2025-03-10 11:15:36,566 - INFO - we take 571 photos in this while loop
MAIN: 2025-03-10 11:15:36,566 - INFO - /home/pi/Desktop/images/10032025/11/15/image_10032025_11_15_36_29709.jpg
MAIN: 2025-03-10 11:15:36,566 - INFO - duration: 0.696406510000088
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:16:06,393 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:16:06,961 - INFO - taking picture
MAIN: 2025-03-10 11:16:06,962 - INFO - we take 572 photos in this while loop
MAIN: 2025-03-10 11:16:06,962 - INFO - /home/pi/Desktop/images/10032025/11/15/image_10032025_11_16_06_30388.jpg
MAIN: 2025-03-10 11:16:06,963 - INFO - duration: 0.7050998439990508
MAIN: 2025-03-10 11:16:06,963 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:16:36,510 - INFO - taking picture
MAIN: 2025-03-10 11:16:36,511 - INFO - we take 573 photos in this while loop
MAIN: 2025-03-10 11:16:36,511 - INFO - /home/pi/Desktop/images/10032025/11/16/image_10032025_11_16_36_29567.jpg
MAIN: 2025-03-10 11:16:36,511 - INFO - duration: 0.6855828119987564
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:17: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=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:17:06,579 - INFO - taking picture
MAIN: 2025-03-10 11:17:06,580 - INFO - we take 574 photos in this while loop
MAIN: 2025-03-10 11:17:06,580 - INFO - /home/pi/Desktop/images/10032025/11/16/image_10032025_11_17_06_30056.jpg
MAIN: 2025-03-10 11:17:06,580 - INFO - duration: 0.6982435419995454
MAIN: 2025-03-10 11:17:06,581 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:17:37,525 - INFO - taking picture
MAIN: 2025-03-10 11:17:37,525 - INFO - we take 575 photos in this while loop
MAIN: 2025-03-10 11:17:37,526 - INFO - /home/pi/Desktop/images/10032025/11/17/image_10032025_11_17_37_30956.jpg
MAIN: 2025-03-10 11:17:37,526 - INFO - duration: 0.6876532810019853
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:18:06,423 - INFO - taking picture
MAIN: 2025-03-10 11:18:06,423 - INFO - we take 576 photos in this while loop
MAIN: 2025-03-10 11:18:06,424 - INFO - /home/pi/Desktop/images/10032025/11/17/image_10032025_11_18_06_28914.jpg
MAIN: 2025-03-10 11:18:06,424 - INFO - duration: 0.6711963020024996
MAIN: 2025-03-10 11:18:06,424 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/18'
MAIN: 2025-03-10 11:18:06,687 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:18:37,445 - INFO - taking picture
MAIN: 2025-03-10 11:18:37,446 - INFO - we take 577 photos in this while loop
MAIN: 2025-03-10 11:18:37,446 - INFO - /home/pi/Desktop/images/10032025/11/18/image_10032025_11_18_37_31004.jpg
MAIN: 2025-03-10 11:18:37,446 - INFO - duration: 0.6892164059972856
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:19: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:19:07,375 - INFO - taking picture
MAIN: 2025-03-10 11:19:07,376 - INFO - we take 578 photos in this while loop
MAIN: 2025-03-10 11:19:07,376 - INFO - /home/pi/Desktop/images/10032025/11/18/image_10032025_11_19_06_29981.jpg
MAIN: 2025-03-10 11:19:07,376 - INFO - duration: 0.6384050000015122
MAIN: 2025-03-10 11:19:07,377 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:19:37,016 - INFO - taking picture
MAIN: 2025-03-10 11:19:37,016 - INFO - we take 579 photos in this while loop
MAIN: 2025-03-10 11:19:37,016 - INFO - /home/pi/Desktop/images/10032025/11/19/image_10032025_11_19_36_29585.jpg
MAIN: 2025-03-10 11:19:37,017 - INFO - duration: 0.6929812500020489
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 11:20:06,906 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:20:07,370 - INFO - taking picture
MAIN: 2025-03-10 11:20:07,371 - INFO - we take 580 photos in this while loop
MAIN: 2025-03-10 11:20:07,371 - INFO - /home/pi/Desktop/images/10032025/11/19/image_10032025_11_20_06_30339.jpg
MAIN: 2025-03-10 11:20:07,371 - INFO - duration: 0.7077138539971202
MAIN: 2025-03-10 11:20:07,372 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:20:37,040 - INFO - taking picture
MAIN: 2025-03-10 11:20:37,040 - INFO - we take 581 photos in this while loop
MAIN: 2025-03-10 11:20:37,041 - INFO - /home/pi/Desktop/images/10032025/11/20/image_10032025_11_20_36_29682.jpg
MAIN: 2025-03-10 11:20:37,041 - INFO - duration: 0.695345364001696
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:21:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:21:07,081 - INFO - taking picture
MAIN: 2025-03-10 11:21:07,081 - INFO - we take 582 photos in this while loop
MAIN: 2025-03-10 11:21:07,081 - INFO - /home/pi/Desktop/images/10032025/11/20/image_10032025_11_21_06_30056.jpg
MAIN: 2025-03-10 11:21:07,081 - INFO - duration: 0.6798599469984765
MAIN: 2025-03-10 11:21:07,082 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:21:36,961 - INFO - taking picture
MAIN: 2025-03-10 11:21:36,961 - INFO - we take 583 photos in this while loop
MAIN: 2025-03-10 11:21:36,962 - INFO - /home/pi/Desktop/images/10032025/11/21/image_10032025_11_21_36_29845.jpg
MAIN: 2025-03-10 11:21:36,962 - INFO - duration: 0.7150636980004492
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:22:06,829 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 11:22:07,143 - INFO - taking picture
MAIN: 2025-03-10 11:22:07,144 - INFO - we take 584 photos in this while loop
MAIN: 2025-03-10 11:22:07,144 - INFO - /home/pi/Desktop/images/10032025/11/21/image_10032025_11_22_06_30191.jpg
MAIN: 2025-03-10 11:22:07,144 - INFO - duration: 0.7062022919999436
MAIN: 2025-03-10 11:22:07,144 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:22:36,825 - INFO - taking picture
MAIN: 2025-03-10 11:22:36,826 - INFO - we take 585 photos in this while loop
MAIN: 2025-03-10 11:22:36,826 - INFO - /home/pi/Desktop/images/10032025/11/22/image_10032025_11_22_36_29687.jpg
MAIN: 2025-03-10 11:22:36,826 - INFO - duration: 0.7002932289979071
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:23:06,617 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:23:07,058 - INFO - taking picture
MAIN: 2025-03-10 11:23:07,059 - INFO - we take 586 photos in this while loop
MAIN: 2025-03-10 11:23:07,059 - INFO - /home/pi/Desktop/images/10032025/11/22/image_10032025_11_23_06_30217.jpg
MAIN: 2025-03-10 11:23:07,059 - INFO - duration: 0.7166457810017164
MAIN: 2025-03-10 11:23:07,060 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:23:36,854 - INFO - taking picture
MAIN: 2025-03-10 11:23:36,855 - INFO - we take 587 photos in this while loop
MAIN: 2025-03-10 11:23:36,855 - INFO - /home/pi/Desktop/images/10032025/11/23/image_10032025_11_23_36_29805.jpg
MAIN: 2025-03-10 11:23:36,855 - INFO - duration: 0.7072721869990346
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=23 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:24:06,919 - INFO - cam.read() 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-10 11:24:07,230 - INFO - taking picture
MAIN: 2025-03-10 11:24:07,231 - INFO - we take 588 photos in this while loop
MAIN: 2025-03-10 11:24:07,231 - INFO - /home/pi/Desktop/images/10032025/11/23/image_10032025_11_24_06_30382.jpg
MAIN: 2025-03-10 11:24:07,231 - INFO - duration: 0.7008105210006761
MAIN: 2025-03-10 11:24:07,232 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=37 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:24:36,970 - INFO - taking picture
MAIN: 2025-03-10 11:24:36,970 - INFO - we take 589 photos in this while loop
MAIN: 2025-03-10 11:24:36,970 - INFO - /home/pi/Desktop/images/10032025/11/24/image_10032025_11_24_36_29743.jpg
MAIN: 2025-03-10 11:24:36,970 - INFO - duration: 0.6965668749980978
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:25:06,533 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=37 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:25:07,226 - INFO - taking picture
MAIN: 2025-03-10 11:25:07,227 - INFO - we take 590 photos in this while loop
MAIN: 2025-03-10 11:25:07,228 - INFO - /home/pi/Desktop/images/10032025/11/24/image_10032025_11_25_06_30264.jpg
MAIN: 2025-03-10 11:25:07,228 - INFO - duration: 0.6901562489983917
MAIN: 2025-03-10 11:25:07,229 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=37 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:25:37,097 - INFO - taking picture
MAIN: 2025-03-10 11:25:37,097 - INFO - we take 591 photos in this while loop
MAIN: 2025-03-10 11:25:37,097 - INFO - /home/pi/Desktop/images/10032025/11/25/image_10032025_11_25_36_29842.jpg
MAIN: 2025-03-10 11:25:37,098 - INFO - duration: 0.7169646349975665
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:26:06,158 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=37 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:26:07,263 - INFO - taking picture
MAIN: 2025-03-10 11:26:07,263 - INFO - we take 592 photos in this while loop
MAIN: 2025-03-10 11:26:07,264 - INFO - /home/pi/Desktop/images/10032025/11/25/image_10032025_11_26_06_30225.jpg
MAIN: 2025-03-10 11:26:07,264 - INFO - duration: 0.6572979160009709
MAIN: 2025-03-10 11:26:07,264 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/26'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=37 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:26:37,223 - INFO - taking picture
MAIN: 2025-03-10 11:26:37,223 - INFO - we take 593 photos in this while loop
MAIN: 2025-03-10 11:26:37,224 - INFO - /home/pi/Desktop/images/10032025/11/26/image_10032025_11_26_36_29913.jpg
MAIN: 2025-03-10 11:26:37,224 - INFO - duration: 0.7038065630003985
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:27: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=37 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:27:07,380 - INFO - taking picture
MAIN: 2025-03-10 11:27:07,380 - INFO - we take 594 photos in this while loop
MAIN: 2025-03-10 11:27:07,381 - INFO - /home/pi/Desktop/images/10032025/11/26/image_10032025_11_27_06_30198.jpg
MAIN: 2025-03-10 11:27:07,381 - INFO - duration: 0.6618276039989723
MAIN: 2025-03-10 11:27:07,381 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/27'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:27:37,380 - INFO - taking picture
MAIN: 2025-03-10 11:27:37,380 - INFO - we take 595 photos in this while loop
MAIN: 2025-03-10 11:27:37,380 - INFO - /home/pi/Desktop/images/10032025/11/27/image_10032025_11_27_36_29948.jpg
MAIN: 2025-03-10 11:27:37,381 - INFO - duration: 0.713330937000137
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:28:06,278 - INFO - taking picture
MAIN: 2025-03-10 11:28:06,278 - INFO - we take 596 photos in this while loop
MAIN: 2025-03-10 11:28:06,278 - INFO - /home/pi/Desktop/images/10032025/11/27/image_10032025_11_28_05_28959.jpg
MAIN: 2025-03-10 11:28:06,279 - INFO - duration: 0.651951822997944
MAIN: 2025-03-10 11:28:06,279 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/28'
MAIN: 2025-03-10 11:28:06,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:28:37,539 - INFO - taking picture
MAIN: 2025-03-10 11:28:37,540 - INFO - we take 597 photos in this while loop
MAIN: 2025-03-10 11:28:37,540 - INFO - /home/pi/Desktop/images/10032025/11/28/image_10032025_11_28_37_31221.jpg
MAIN: 2025-03-10 11:28:37,540 - INFO - duration: 0.6923879169989959
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:29:06,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 ! 
MAIN: 2025-03-10 11:29:06,486 - INFO - taking picture
MAIN: 2025-03-10 11:29:06,487 - INFO - we take 598 photos in this while loop
MAIN: 2025-03-10 11:29:06,487 - INFO - /home/pi/Desktop/images/10032025/11/28/image_10032025_11_29_06_28950.jpg
MAIN: 2025-03-10 11:29:06,487 - INFO - duration: 0.6887364579997666
MAIN: 2025-03-10 11:29:06,488 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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-10 11:29:36,345 - INFO - taking picture
MAIN: 2025-03-10 11:29:36,345 - INFO - we take 599 photos in this while loop
MAIN: 2025-03-10 11:29:36,346 - INFO - /home/pi/Desktop/images/10032025/11/29/image_10032025_11_29_35_29831.jpg
MAIN: 2025-03-10 11:29:36,346 - INFO - duration: 0.7158631250022154
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:30: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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:30:07,074 - INFO - taking picture
MAIN: 2025-03-10 11:30:07,075 - INFO - we take 600 photos in this while loop
MAIN: 2025-03-10 11:30:07,075 - INFO - /home/pi/Desktop/images/10032025/11/29/image_10032025_11_30_06_30717.jpg
MAIN: 2025-03-10 11:30:07,075 - INFO - duration: 0.7280653640009405
MAIN: 2025-03-10 11:30:07,076 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/30'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:30:37,075 - INFO - taking picture
MAIN: 2025-03-10 11:30:37,075 - INFO - we take 601 photos in this while loop
MAIN: 2025-03-10 11:30:37,075 - INFO - /home/pi/Desktop/images/10032025/11/30/image_10032025_11_30_36_30007.jpg
MAIN: 2025-03-10 11:30:37,076 - INFO - duration: 0.7211646350006049
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:31: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-10 11:31:06,326 - INFO - taking picture
MAIN: 2025-03-10 11:31:06,327 - INFO - we take 602 photos in this while loop
MAIN: 2025-03-10 11:31:06,327 - INFO - /home/pi/Desktop/images/10032025/11/30/image_10032025_11_31_05_29234.jpg
MAIN: 2025-03-10 11:31:06,327 - INFO - duration: 0.7376987489988096
MAIN: 2025-03-10 11:31:06,327 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:31:36,353 - INFO - taking picture
MAIN: 2025-03-10 11:31:36,354 - INFO - we take 603 photos in this while loop
MAIN: 2025-03-10 11:31:36,354 - INFO - /home/pi/Desktop/images/10032025/11/31/image_10032025_11_31_35_30047.jpg
MAIN: 2025-03-10 11:31:36,354 - INFO - duration: 0.7172160410009383
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:32:06,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 ! 
MAIN: 2025-03-10 11:32:06,967 - INFO - taking picture
MAIN: 2025-03-10 11:32:06,968 - INFO - we take 604 photos in this while loop
MAIN: 2025-03-10 11:32:06,968 - INFO - /home/pi/Desktop/images/10032025/11/31/image_10032025_11_32_06_30611.jpg
MAIN: 2025-03-10 11:32:06,968 - INFO - duration: 0.7191894789975777
MAIN: 2025-03-10 11:32:06,969 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/32'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:32:36,828 - INFO - taking picture
MAIN: 2025-03-10 11:32:36,829 - INFO - we take 605 photos in this while loop
MAIN: 2025-03-10 11:32:36,829 - INFO - /home/pi/Desktop/images/10032025/11/32/image_10032025_11_32_36_29874.jpg
MAIN: 2025-03-10 11:32:36,829 - INFO - duration: 0.7060064580000471
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:33:06,453 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:33:07,273 - INFO - taking picture
MAIN: 2025-03-10 11:33:07,273 - INFO - we take 606 photos in this while loop
MAIN: 2025-03-10 11:33:07,274 - INFO - /home/pi/Desktop/images/10032025/11/32/image_10032025_11_33_06_30484.jpg
MAIN: 2025-03-10 11:33:07,274 - INFO - duration: 0.6662696870007494
MAIN: 2025-03-10 11:33:07,274 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:33:37,247 - INFO - taking picture
MAIN: 2025-03-10 11:33:37,247 - INFO - we take 607 photos in this while loop
MAIN: 2025-03-10 11:33:37,247 - INFO - /home/pi/Desktop/images/10032025/11/33/image_10032025_11_33_36_29920.jpg
MAIN: 2025-03-10 11:33:37,248 - INFO - duration: 0.7197790620011801
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:34:06,279 - INFO - taking picture
MAIN: 2025-03-10 11:34:06,279 - INFO - we take 608 photos in this while loop
MAIN: 2025-03-10 11:34:06,279 - INFO - /home/pi/Desktop/images/10032025/11/33/image_10032025_11_34_05_29090.jpg
MAIN: 2025-03-10 11:34:06,279 - INFO - duration: 0.6608496350017958
MAIN: 2025-03-10 11:34:06,280 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/34'
MAIN: 2025-03-10 11:34:06,969 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:34:37,526 - INFO - taking picture
MAIN: 2025-03-10 11:34:37,526 - INFO - we take 609 photos in this while loop
MAIN: 2025-03-10 11:34:37,527 - INFO - /home/pi/Desktop/images/10032025/11/34/image_10032025_11_34_37_31201.jpg
MAIN: 2025-03-10 11:34:37,527 - INFO - duration: 0.7069100519984204
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:35: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 ! 
MAIN: 2025-03-10 11:35:06,780 - INFO - taking picture
MAIN: 2025-03-10 11:35:06,781 - INFO - we take 610 photos in this while loop
MAIN: 2025-03-10 11:35:06,781 - INFO - /home/pi/Desktop/images/10032025/11/34/image_10032025_11_35_06_29232.jpg
MAIN: 2025-03-10 11:35:06,781 - INFO - duration: 0.7288634369979263
MAIN: 2025-03-10 11:35:06,782 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/35'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:35:36,692 - INFO - taking picture
MAIN: 2025-03-10 11:35:36,692 - INFO - we take 611 photos in this while loop
MAIN: 2025-03-10 11:35:36,693 - INFO - /home/pi/Desktop/images/10032025/11/35/image_10032025_11_35_36_29927.jpg
MAIN: 2025-03-10 11:35:36,693 - INFO - duration: 0.7129456239999854
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:36:05,846 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:36:07,181 - INFO - taking picture
MAIN: 2025-03-10 11:36:07,182 - INFO - we take 612 photos in this while loop
MAIN: 2025-03-10 11:36:07,182 - INFO - /home/pi/Desktop/images/10032025/11/35/image_10032025_11_36_06_30483.jpg
MAIN: 2025-03-10 11:36:07,182 - INFO - duration: 0.7189918740004941
MAIN: 2025-03-10 11:36:07,183 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/36'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:36:37,128 - INFO - taking picture
MAIN: 2025-03-10 11:36:37,129 - INFO - we take 613 photos in this while loop
MAIN: 2025-03-10 11:36:37,129 - INFO - /home/pi/Desktop/images/10032025/11/36/image_10032025_11_36_36_29956.jpg
MAIN: 2025-03-10 11:36:37,129 - INFO - duration: 0.7094537490011135
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:37:06,249 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:37:07,442 - INFO - taking picture
MAIN: 2025-03-10 11:37:07,443 - INFO - we take 614 photos in this while loop
MAIN: 2025-03-10 11:37:07,443 - INFO - /home/pi/Desktop/images/10032025/11/36/image_10032025_11_37_07_30344.jpg
MAIN: 2025-03-10 11:37:07,443 - INFO - duration: 0.6794957290003367
MAIN: 2025-03-10 11:37:07,444 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:37:37,290 - INFO - taking picture
MAIN: 2025-03-10 11:37:37,291 - INFO - we take 615 photos in this while loop
MAIN: 2025-03-10 11:37:37,291 - INFO - /home/pi/Desktop/images/10032025/11/37/image_10032025_11_37_36_29820.jpg
MAIN: 2025-03-10 11:37:37,291 - INFO - duration: 0.7069381770015752
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:38:06,334 - INFO - taking picture
MAIN: 2025-03-10 11:38:06,335 - INFO - we take 616 photos in this while loop
MAIN: 2025-03-10 11:38:06,335 - INFO - /home/pi/Desktop/images/10032025/11/37/image_10032025_11_38_05_29045.jpg
MAIN: 2025-03-10 11:38:06,335 - INFO - duration: 0.7051304679989698
MAIN: 2025-03-10 11:38:06,336 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/38'
MAIN: 2025-03-10 11:38: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:38:37,511 - INFO - taking picture
MAIN: 2025-03-10 11:38:37,511 - INFO - we take 617 photos in this while loop
MAIN: 2025-03-10 11:38:37,511 - INFO - /home/pi/Desktop/images/10032025/11/38/image_10032025_11_38_37_31174.jpg
MAIN: 2025-03-10 11:38:37,512 - INFO - duration: 0.7070322920008039
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:39: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-10 11:39:06,406 - INFO - taking picture
MAIN: 2025-03-10 11:39:06,406 - INFO - we take 618 photos in this while loop
MAIN: 2025-03-10 11:39:06,406 - INFO - /home/pi/Desktop/images/10032025/11/38/image_10032025_11_39_05_28904.jpg
MAIN: 2025-03-10 11:39:06,407 - INFO - duration: 0.6978447389992652
MAIN: 2025-03-10 11:39:06,407 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:39:36,315 - INFO - taking picture
MAIN: 2025-03-10 11:39:36,315 - INFO - we take 619 photos in this while loop
MAIN: 2025-03-10 11:39:36,315 - INFO - /home/pi/Desktop/images/10032025/11/39/image_10032025_11_39_35_29897.jpg
MAIN: 2025-03-10 11:39:36,315 - INFO - duration: 0.7093127080006525
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:40:06,452 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 11:40:06,705 - INFO - taking picture
MAIN: 2025-03-10 11:40:06,706 - INFO - we take 620 photos in this while loop
MAIN: 2025-03-10 11:40:06,707 - INFO - /home/pi/Desktop/images/10032025/11/39/image_10032025_11_40_06_30405.jpg
MAIN: 2025-03-10 11:40:06,707 - INFO - duration: 0.6950774470024044
MAIN: 2025-03-10 11:40:06,708 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:40:36,489 - INFO - taking picture
MAIN: 2025-03-10 11:40:36,490 - INFO - we take 621 photos in this while loop
MAIN: 2025-03-10 11:40:36,490 - INFO - /home/pi/Desktop/images/10032025/11/40/image_10032025_11_40_36_29775.jpg
MAIN: 2025-03-10 11:40:36,490 - INFO - duration: 0.7026872909991653
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:41:05,894 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:41:06,623 - INFO - taking picture
MAIN: 2025-03-10 11:41:06,623 - INFO - we take 622 photos in this while loop
MAIN: 2025-03-10 11:41:06,623 - INFO - /home/pi/Desktop/images/10032025/11/40/image_10032025_11_41_06_30158.jpg
MAIN: 2025-03-10 11:41:06,624 - INFO - duration: 0.67766817699885
MAIN: 2025-03-10 11:41:06,624 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:41:36,388 - INFO - taking picture
MAIN: 2025-03-10 11:41:36,388 - INFO - we take 623 photos in this while loop
MAIN: 2025-03-10 11:41:36,388 - INFO - /home/pi/Desktop/images/10032025/11/41/image_10032025_11_41_36_29739.jpg
MAIN: 2025-03-10 11:41:36,389 - INFO - duration: 0.7031690099975094
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:42: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:42:06,812 - INFO - taking picture
MAIN: 2025-03-10 11:42:06,813 - INFO - we take 624 photos in this while loop
MAIN: 2025-03-10 11:42:06,813 - INFO - /home/pi/Desktop/images/10032025/11/41/image_10032025_11_42_06_30413.jpg
MAIN: 2025-03-10 11:42:06,813 - INFO - duration: 0.71415380200051
MAIN: 2025-03-10 11:42:06,814 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:42:36,628 - INFO - taking picture
MAIN: 2025-03-10 11:42:36,628 - INFO - we take 625 photos in this while loop
MAIN: 2025-03-10 11:42:36,628 - INFO - /home/pi/Desktop/images/10032025/11/42/image_10032025_11_42_36_29821.jpg
MAIN: 2025-03-10 11:42:36,629 - INFO - duration: 0.7080333859994425
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:43:06,075 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:43:06,870 - INFO - taking picture
MAIN: 2025-03-10 11:43:06,870 - INFO - we take 626 photos in this while loop
MAIN: 2025-03-10 11:43:06,870 - INFO - /home/pi/Desktop/images/10032025/11/42/image_10032025_11_43_06_30293.jpg
MAIN: 2025-03-10 11:43:06,871 - INFO - duration: 0.6564022919992567
MAIN: 2025-03-10 11:43:06,871 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:43:36,756 - INFO - taking picture
MAIN: 2025-03-10 11:43:36,756 - INFO - we take 627 photos in this while loop
MAIN: 2025-03-10 11:43:36,757 - INFO - /home/pi/Desktop/images/10032025/11/43/image_10032025_11_43_36_29841.jpg
MAIN: 2025-03-10 11:43:36,757 - INFO - duration: 0.7009701040005893
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:44:06,524 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (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-10 11:44:07,137 - INFO - taking picture
MAIN: 2025-03-10 11:44:07,137 - INFO - we take 628 photos in this while loop
MAIN: 2025-03-10 11:44:07,138 - INFO - /home/pi/Desktop/images/10032025/11/43/image_10032025_11_44_06_30366.jpg
MAIN: 2025-03-10 11:44:07,138 - INFO - duration: 0.7156747389999509
MAIN: 2025-03-10 11:44:07,138 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/44'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:44:36,961 - INFO - taking picture
MAIN: 2025-03-10 11:44:36,962 - INFO - we take 629 photos in this while loop
MAIN: 2025-03-10 11:44:36,962 - INFO - /home/pi/Desktop/images/10032025/11/44/image_10032025_11_44_36_29829.jpg
MAIN: 2025-03-10 11:44:36,962 - INFO - duration: 0.7104248950017791
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:45:06,811 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:45:07,346 - INFO - taking picture
MAIN: 2025-03-10 11:45:07,347 - INFO - we take 630 photos in this while loop
MAIN: 2025-03-10 11:45:07,347 - INFO - /home/pi/Desktop/images/10032025/11/44/image_10032025_11_45_06_30398.jpg
MAIN: 2025-03-10 11:45:07,347 - INFO - duration: 0.696893332999025
MAIN: 2025-03-10 11:45:07,348 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:45:37,017 - INFO - taking picture
MAIN: 2025-03-10 11:45:37,018 - INFO - we take 631 photos in this while loop
MAIN: 2025-03-10 11:45:37,018 - INFO - /home/pi/Desktop/images/10032025/11/45/image_10032025_11_45_36_29671.jpg
MAIN: 2025-03-10 11:45:37,018 - INFO - duration: 0.695806770996569
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:46: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:46:07,267 - INFO - taking picture
MAIN: 2025-03-10 11:46:07,268 - INFO - we take 632 photos in this while loop
MAIN: 2025-03-10 11:46:07,268 - INFO - /home/pi/Desktop/images/10032025/11/45/image_10032025_11_46_06_30232.jpg
MAIN: 2025-03-10 11:46:07,268 - INFO - duration: 0.7132683330019063
MAIN: 2025-03-10 11:46:07,269 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:46:37,146 - INFO - taking picture
MAIN: 2025-03-10 11:46:37,147 - INFO - we take 633 photos in this while loop
MAIN: 2025-03-10 11:46:37,147 - INFO - /home/pi/Desktop/images/10032025/11/46/image_10032025_11_46_36_29892.jpg
MAIN: 2025-03-10 11:46:37,147 - INFO - duration: 0.699222864001058
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:47:05,605 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:47:07,278 - INFO - taking picture
MAIN: 2025-03-10 11:47:07,278 - INFO - we take 634 photos in this while loop
MAIN: 2025-03-10 11:47:07,279 - INFO - /home/pi/Desktop/images/10032025/11/46/image_10032025_11_47_06_30135.jpg
MAIN: 2025-03-10 11:47:07,279 - INFO - duration: 0.6952034890018695
MAIN: 2025-03-10 11:47:07,279 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:47:37,059 - INFO - taking picture
MAIN: 2025-03-10 11:47:37,059 - INFO - we take 635 photos in this while loop
MAIN: 2025-03-10 11:47:37,059 - INFO - /home/pi/Desktop/images/10032025/11/47/image_10032025_11_47_36_29775.jpg
MAIN: 2025-03-10 11:47:37,060 - INFO - duration: 0.7007342180004343
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:48:06,266 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:48:07,526 - INFO - taking picture
MAIN: 2025-03-10 11:48:07,526 - INFO - we take 636 photos in this while loop
MAIN: 2025-03-10 11:48:07,526 - INFO - /home/pi/Desktop/images/10032025/11/47/image_10032025_11_48_07_30468.jpg
MAIN: 2025-03-10 11:48:07,527 - INFO - duration: 0.6996344789986324
MAIN: 2025-03-10 11:48:07,527 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/48'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:48:37,278 - INFO - taking picture
MAIN: 2025-03-10 11:48:37,279 - INFO - we take 637 photos in this while loop
MAIN: 2025-03-10 11:48:37,279 - INFO - /home/pi/Desktop/images/10032025/11/48/image_10032025_11_48_36_29758.jpg
MAIN: 2025-03-10 11:48:37,279 - INFO - duration: 0.6932614580000518
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:49: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:49:07,194 - INFO - taking picture
MAIN: 2025-03-10 11:49:07,194 - INFO - we take 638 photos in this while loop
MAIN: 2025-03-10 11:49:07,195 - INFO - /home/pi/Desktop/images/10032025/11/48/image_10032025_11_49_06_29964.jpg
MAIN: 2025-03-10 11:49:07,195 - INFO - duration: 0.6446930210004211
MAIN: 2025-03-10 11:49:07,195 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:49:36,920 - INFO - taking picture
MAIN: 2025-03-10 11:49:36,920 - INFO - we take 639 photos in this while loop
MAIN: 2025-03-10 11:49:36,921 - INFO - /home/pi/Desktop/images/10032025/11/49/image_10032025_11_49_36_29665.jpg
MAIN: 2025-03-10 11:49:36,921 - INFO - duration: 0.7050728650028759
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:50:07,220 - INFO - taking picture
MAIN: 2025-03-10 11:50:07,220 - INFO - we take 640 photos in this while loop
MAIN: 2025-03-10 11:50:07,221 - INFO - /home/pi/Desktop/images/10032025/11/49/image_10032025_11_50_06_30313.jpg
MAIN: 2025-03-10 11:50:07,221 - INFO - duration: 0.6914521880025859
MAIN: 2025-03-10 11:50:07,221 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/50'
MAIN: 2025-03-10 11:50: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:50:36,894 - INFO - taking picture
MAIN: 2025-03-10 11:50:36,895 - INFO - we take 641 photos in this while loop
MAIN: 2025-03-10 11:50:36,895 - INFO - /home/pi/Desktop/images/10032025/11/50/image_10032025_11_50_36_29666.jpg
MAIN: 2025-03-10 11:50:36,895 - INFO - duration: 0.6995991660005529
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:51:06,582 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 11:51:06,929 - INFO - taking picture
MAIN: 2025-03-10 11:51:06,930 - INFO - we take 642 photos in this while loop
MAIN: 2025-03-10 11:51:06,930 - INFO - /home/pi/Desktop/images/10032025/11/50/image_10032025_11_51_06_30025.jpg
MAIN: 2025-03-10 11:51:06,930 - INFO - duration: 0.7084286979988974
MAIN: 2025-03-10 11:51:06,931 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:51:36,554 - INFO - taking picture
MAIN: 2025-03-10 11:51:36,555 - INFO - we take 643 photos in this while loop
MAIN: 2025-03-10 11:51:36,555 - INFO - /home/pi/Desktop/images/10032025/11/51/image_10032025_11_51_36_29654.jpg
MAIN: 2025-03-10 11:51:36,555 - INFO - duration: 0.6794660409977951
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:52: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:52:06,723 - INFO - taking picture
MAIN: 2025-03-10 11:52:06,723 - INFO - we take 644 photos in this while loop
MAIN: 2025-03-10 11:52:06,724 - INFO - /home/pi/Desktop/images/10032025/11/51/image_10032025_11_52_06_30152.jpg
MAIN: 2025-03-10 11:52:06,724 - INFO - duration: 0.6951300509972498
MAIN: 2025-03-10 11:52:06,724 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:52:36,502 - INFO - taking picture
MAIN: 2025-03-10 11:52:36,503 - INFO - we take 645 photos in this while loop
MAIN: 2025-03-10 11:52:36,503 - INFO - /home/pi/Desktop/images/10032025/11/52/image_10032025_11_52_36_29799.jpg
MAIN: 2025-03-10 11:52:36,503 - INFO - duration: 0.6756217189977178
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:53: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:53:06,701 - INFO - taking picture
MAIN: 2025-03-10 11:53:06,702 - INFO - we take 646 photos in this while loop
MAIN: 2025-03-10 11:53:06,702 - INFO - /home/pi/Desktop/images/10032025/11/52/image_10032025_11_53_06_30184.jpg
MAIN: 2025-03-10 11:53:06,702 - INFO - duration: 0.6901588539985823
MAIN: 2025-03-10 11:53:06,703 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:53:36,526 - INFO - taking picture
MAIN: 2025-03-10 11:53:36,527 - INFO - we take 647 photos in this while loop
MAIN: 2025-03-10 11:53:36,527 - INFO - /home/pi/Desktop/images/10032025/11/53/image_10032025_11_53_36_29813.jpg
MAIN: 2025-03-10 11:53:36,527 - INFO - duration: 0.7018047390010906
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:54: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 ! 
MAIN: 2025-03-10 11:54:06,958 - INFO - taking picture
MAIN: 2025-03-10 11:54:06,959 - INFO - we take 648 photos in this while loop
MAIN: 2025-03-10 11:54:06,959 - INFO - /home/pi/Desktop/images/10032025/11/53/image_10032025_11_54_06_30424.jpg
MAIN: 2025-03-10 11:54:06,959 - INFO - duration: 0.7099588019991643
MAIN: 2025-03-10 11:54:06,960 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/54'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:54:36,543 - INFO - taking picture
MAIN: 2025-03-10 11:54:36,544 - INFO - we take 649 photos in this while loop
MAIN: 2025-03-10 11:54:36,544 - INFO - /home/pi/Desktop/images/10032025/11/54/image_10032025_11_54_36_29622.jpg
MAIN: 2025-03-10 11:54:36,544 - INFO - duration: 0.6723942710013944
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:55:06,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 ! 
MAIN: 2025-03-10 11:55:06,913 - INFO - taking picture
MAIN: 2025-03-10 11:55:06,914 - INFO - we take 650 photos in this while loop
MAIN: 2025-03-10 11:55:06,914 - INFO - /home/pi/Desktop/images/10032025/11/54/image_10032025_11_55_06_30338.jpg
MAIN: 2025-03-10 11:55:06,915 - INFO - duration: 0.7039652599996771
MAIN: 2025-03-10 11:55:06,915 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:55:36,661 - INFO - taking picture
MAIN: 2025-03-10 11:55:36,662 - INFO - we take 651 photos in this while loop
MAIN: 2025-03-10 11:55:36,662 - INFO - /home/pi/Desktop/images/10032025/11/55/image_10032025_11_55_36_29748.jpg
MAIN: 2025-03-10 11:55:36,662 - INFO - duration: 0.7024516140008927
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:56:06,067 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:56:06,826 - INFO - taking picture
MAIN: 2025-03-10 11:56:06,827 - INFO - we take 652 photos in this while loop
MAIN: 2025-03-10 11:56:06,827 - INFO - /home/pi/Desktop/images/10032025/11/55/image_10032025_11_56_06_30205.jpg
MAIN: 2025-03-10 11:56:06,827 - INFO - duration: 0.6617181769979652
MAIN: 2025-03-10 11:56:06,828 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:56:36,594 - INFO - taking picture
MAIN: 2025-03-10 11:56:36,594 - INFO - we take 653 photos in this while loop
MAIN: 2025-03-10 11:56:36,594 - INFO - /home/pi/Desktop/images/10032025/11/56/image_10032025_11_56_36_29731.jpg
MAIN: 2025-03-10 11:56:36,595 - INFO - duration: 0.6978703130007489
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 11:57:05,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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:57:06,533 - INFO - taking picture
MAIN: 2025-03-10 11:57:06,533 - INFO - we take 654 photos in this while loop
MAIN: 2025-03-10 11:57:06,534 - INFO - /home/pi/Desktop/images/10032025/11/56/image_10032025_11_57_06_29966.jpg
MAIN: 2025-03-10 11:57:06,534 - INFO - duration: 0.6707716659984726
MAIN: 2025-03-10 11:57:06,534 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:57:37,431 - INFO - taking picture
MAIN: 2025-03-10 11:57:37,432 - INFO - we take 655 photos in this while loop
MAIN: 2025-03-10 11:57:37,432 - INFO - /home/pi/Desktop/images/10032025/11/57/image_10032025_11_57_37_30890.jpg
MAIN: 2025-03-10 11:57:37,432 - INFO - duration: 0.6787169269991864
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:58:06,334 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 11:58:06,360 - INFO - taking picture
MAIN: 2025-03-10 11:58:06,361 - INFO - we take 656 photos in this while loop
MAIN: 2025-03-10 11:58:06,361 - INFO - /home/pi/Desktop/images/10032025/11/57/image_10032025_11_58_05_28933.jpg
MAIN: 2025-03-10 11:58:06,361 - INFO - duration: 0.6734920309972949
MAIN: 2025-03-10 11:58:06,361 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:58:37,416 - INFO - taking picture
MAIN: 2025-03-10 11:58:37,416 - INFO - we take 657 photos in this while loop
MAIN: 2025-03-10 11:58:37,417 - INFO - /home/pi/Desktop/images/10032025/11/58/image_10032025_11_58_37_31044.jpg
MAIN: 2025-03-10 11:58:37,417 - INFO - duration: 0.6846429689976503
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:59: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-10 11:59:06,486 - INFO - taking picture
MAIN: 2025-03-10 11:59:06,487 - INFO - we take 658 photos in this while loop
MAIN: 2025-03-10 11:59:06,487 - INFO - /home/pi/Desktop/images/10032025/11/58/image_10032025_11_59_06_29049.jpg
MAIN: 2025-03-10 11:59:06,487 - INFO - duration: 0.7055233329992916
MAIN: 2025-03-10 11:59:06,488 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/11/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 11:59:36,277 - INFO - taking picture
MAIN: 2025-03-10 11:59:36,278 - INFO - we take 659 photos in this while loop
MAIN: 2025-03-10 11:59:36,278 - INFO - /home/pi/Desktop/images/10032025/11/59/image_10032025_11_59_35_29803.jpg
MAIN: 2025-03-10 11:59:36,278 - INFO - duration: 0.6934826559991052
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:00:06,718 - INFO - taking picture
MAIN: 2025-03-10 12:00:06,718 - INFO - we take 660 photos in this while loop
MAIN: 2025-03-10 12:00:06,719 - INFO - /home/pi/Desktop/images/10032025/11/59/image_10032025_12_00_06_30448.jpg
MAIN: 2025-03-10 12:00:06,719 - INFO - duration: 0.6858678639982827
MAIN: 2025-03-10 12:00:06,719 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/00'
MAIN: 2025-03-10 12:00: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:00:36,327 - INFO - taking picture
MAIN: 2025-03-10 12:00:36,328 - INFO - we take 661 photos in this while loop
MAIN: 2025-03-10 12:00:36,328 - INFO - /home/pi/Desktop/images/10032025/12/00/image_10032025_12_00_35_29594.jpg
MAIN: 2025-03-10 12:00:36,328 - INFO - duration: 0.7008160929981386
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:01: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:01:06,619 - INFO - taking picture
MAIN: 2025-03-10 12:01:06,620 - INFO - we take 662 photos in this while loop
MAIN: 2025-03-10 12:01:06,620 - INFO - /home/pi/Desktop/images/10032025/12/00/image_10032025_12_01_06_30261.jpg
MAIN: 2025-03-10 12:01:06,620 - INFO - duration: 0.7313464059989201
MAIN: 2025-03-10 12:01:06,621 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:01:37,501 - INFO - taking picture
MAIN: 2025-03-10 12:01:37,501 - INFO - we take 663 photos in this while loop
MAIN: 2025-03-10 12:01:37,501 - INFO - /home/pi/Desktop/images/10032025/12/01/image_10032025_12_01_37_30925.jpg
MAIN: 2025-03-10 12:01:37,502 - INFO - duration: 0.6871309369998926
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:02:06,295 - INFO - taking picture
MAIN: 2025-03-10 12:02:06,295 - INFO - we take 664 photos in this while loop
MAIN: 2025-03-10 12:02:06,295 - INFO - /home/pi/Desktop/images/10032025/12/01/image_10032025_12_02_05_28836.jpg
MAIN: 2025-03-10 12:02:06,296 - INFO - duration: 0.6445794790015498
MAIN: 2025-03-10 12:02:06,296 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/02'
MAIN: 2025-03-10 12:02:06,595 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:02:37,370 - INFO - taking picture
MAIN: 2025-03-10 12:02:37,370 - INFO - we take 665 photos in this while loop
MAIN: 2025-03-10 12:02:37,371 - INFO - /home/pi/Desktop/images/10032025/12/02/image_10032025_12_02_36_31019.jpg
MAIN: 2025-03-10 12:02:37,371 - INFO - duration: 0.700614895002218
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:03: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:03:07,419 - INFO - taking picture
MAIN: 2025-03-10 12:03:07,419 - INFO - we take 666 photos in this while loop
MAIN: 2025-03-10 12:03:07,420 - INFO - /home/pi/Desktop/images/10032025/12/02/image_10032025_12_03_07_30099.jpg
MAIN: 2025-03-10 12:03:07,420 - INFO - duration: 0.6497475520009175
MAIN: 2025-03-10 12:03:07,420 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/03'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:03:37,309 - INFO - taking picture
MAIN: 2025-03-10 12:03:37,310 - INFO - we take 667 photos in this while loop
MAIN: 2025-03-10 12:03:37,310 - INFO - /home/pi/Desktop/images/10032025/12/03/image_10032025_12_03_36_29836.jpg
MAIN: 2025-03-10 12:03:37,310 - INFO - duration: 0.7030964580008003
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:04:05,999 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 12:04:06,314 - INFO - taking picture
MAIN: 2025-03-10 12:04:06,315 - INFO - we take 668 photos in this while loop
MAIN: 2025-03-10 12:04:06,315 - INFO - /home/pi/Desktop/images/10032025/12/03/image_10032025_12_04_05_28998.jpg
MAIN: 2025-03-10 12:04:06,315 - INFO - duration: 0.7100292709983478
MAIN: 2025-03-10 12:04:06,316 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:04:37,245 - INFO - taking picture
MAIN: 2025-03-10 12:04:37,245 - INFO - we take 669 photos in this while loop
MAIN: 2025-03-10 12:04:37,246 - INFO - /home/pi/Desktop/images/10032025/12/04/image_10032025_12_04_36_30938.jpg
MAIN: 2025-03-10 12:04:37,246 - INFO - duration: 0.7018749999988358
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:05:06,348 - INFO - taking picture
MAIN: 2025-03-10 12:05:06,349 - INFO - we take 670 photos in this while loop
MAIN: 2025-03-10 12:05:06,349 - INFO - /home/pi/Desktop/images/10032025/12/04/image_10032025_12_05_05_29123.jpg
MAIN: 2025-03-10 12:05:06,349 - INFO - duration: 0.681490937997296
MAIN: 2025-03-10 12:05:06,350 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/05'
MAIN: 2025-03-10 12:05: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:05:37,200 - INFO - taking picture
MAIN: 2025-03-10 12:05:37,200 - INFO - we take 671 photos in this while loop
MAIN: 2025-03-10 12:05:37,200 - INFO - /home/pi/Desktop/images/10032025/12/05/image_10032025_12_05_36_30861.jpg
MAIN: 2025-03-10 12:05:37,201 - INFO - duration: 0.6713363020026009
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:06:06,232 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:06:07,228 - INFO - taking picture
MAIN: 2025-03-10 12:06:07,229 - INFO - we take 672 photos in this while loop
MAIN: 2025-03-10 12:06:07,229 - INFO - /home/pi/Desktop/images/10032025/12/05/image_10032025_12_06_06_30059.jpg
MAIN: 2025-03-10 12:06:07,229 - INFO - duration: 0.640462759998627
MAIN: 2025-03-10 12:06:07,230 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/06'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:06:37,033 - INFO - taking picture
MAIN: 2025-03-10 12:06:37,033 - INFO - we take 673 photos in this while loop
MAIN: 2025-03-10 12:06:37,033 - INFO - /home/pi/Desktop/images/10032025/12/06/image_10032025_12_06_36_29746.jpg
MAIN: 2025-03-10 12:06:37,033 - INFO - duration: 0.6977151559985941
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:07: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:07:07,108 - INFO - taking picture
MAIN: 2025-03-10 12:07:07,109 - INFO - we take 674 photos in this while loop
MAIN: 2025-03-10 12:07:07,109 - INFO - /home/pi/Desktop/images/10032025/12/06/image_10032025_12_07_06_30119.jpg
MAIN: 2025-03-10 12:07:07,109 - INFO - duration: 0.6532168750018172
MAIN: 2025-03-10 12:07:07,109 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:07:36,953 - INFO - taking picture
MAIN: 2025-03-10 12:07:36,953 - INFO - we take 675 photos in this while loop
MAIN: 2025-03-10 12:07:36,953 - INFO - /home/pi/Desktop/images/10032025/12/07/image_10032025_12_07_36_29799.jpg
MAIN: 2025-03-10 12:07:36,953 - INFO - duration: 0.6979420829993614
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:08:06,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:08:07,138 - INFO - taking picture
MAIN: 2025-03-10 12:08:07,138 - INFO - we take 676 photos in this while loop
MAIN: 2025-03-10 12:08:07,139 - INFO - /home/pi/Desktop/images/10032025/12/07/image_10032025_12_08_06_30174.jpg
MAIN: 2025-03-10 12:08:07,139 - INFO - duration: 0.7090426559989282
MAIN: 2025-03-10 12:08:07,139 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:08:36,781 - INFO - taking picture
MAIN: 2025-03-10 12:08:36,781 - INFO - we take 677 photos in this while loop
MAIN: 2025-03-10 12:08:36,781 - INFO - /home/pi/Desktop/images/10032025/12/08/image_10032025_12_08_36_29675.jpg
MAIN: 2025-03-10 12:08:36,781 - INFO - duration: 0.6765996870017261
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:09: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-10 12:09:06,977 - INFO - taking picture
MAIN: 2025-03-10 12:09:06,977 - INFO - we take 678 photos in this while loop
MAIN: 2025-03-10 12:09:06,977 - INFO - /home/pi/Desktop/images/10032025/12/08/image_10032025_12_09_06_30174.jpg
MAIN: 2025-03-10 12:09:06,977 - INFO - duration: 0.6981679679993249
MAIN: 2025-03-10 12:09:06,978 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:09:36,835 - INFO - taking picture
MAIN: 2025-03-10 12:09:36,835 - INFO - we take 679 photos in this while loop
MAIN: 2025-03-10 12:09:36,836 - INFO - /home/pi/Desktop/images/10032025/12/09/image_10032025_12_09_36_29857.jpg
MAIN: 2025-03-10 12:09:36,836 - INFO - duration: 0.6991455729985319
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:10:06,711 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:10:07,289 - INFO - taking picture
MAIN: 2025-03-10 12:10:07,290 - INFO - we take 680 photos in this while loop
MAIN: 2025-03-10 12:10:07,291 - INFO - /home/pi/Desktop/images/10032025/12/09/image_10032025_12_10_06_30462.jpg
MAIN: 2025-03-10 12:10:07,291 - INFO - duration: 0.692049114000838
MAIN: 2025-03-10 12:10:07,292 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:10:36,909 - INFO - taking picture
MAIN: 2025-03-10 12:10:36,909 - INFO - we take 681 photos in this while loop
MAIN: 2025-03-10 12:10:36,909 - INFO - /home/pi/Desktop/images/10032025/12/10/image_10032025_12_10_36_29630.jpg
MAIN: 2025-03-10 12:10:36,910 - INFO - duration: 0.6801946349987702
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:11: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:11:06,818 - INFO - taking picture
MAIN: 2025-03-10 12:11:06,818 - INFO - we take 682 photos in this while loop
MAIN: 2025-03-10 12:11:06,818 - INFO - /home/pi/Desktop/images/10032025/12/10/image_10032025_12_11_06_29919.jpg
MAIN: 2025-03-10 12:11:06,819 - INFO - duration: 0.6701127609994728
MAIN: 2025-03-10 12:11:06,819 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/11'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:11:36,535 - INFO - taking picture
MAIN: 2025-03-10 12:11:36,535 - INFO - we take 683 photos in this while loop
MAIN: 2025-03-10 12:11:36,535 - INFO - /home/pi/Desktop/images/10032025/12/11/image_10032025_12_11_36_29703.jpg
MAIN: 2025-03-10 12:11:36,536 - INFO - duration: 0.6834478650016536
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:12:06,590 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 12:12:06,893 - INFO - taking picture
MAIN: 2025-03-10 12:12:06,894 - INFO - we take 684 photos in this while loop
MAIN: 2025-03-10 12:12:06,894 - INFO - /home/pi/Desktop/images/10032025/12/11/image_10032025_12_12_06_30322.jpg
MAIN: 2025-03-10 12:12:06,894 - INFO - duration: 0.7192623950031702
MAIN: 2025-03-10 12:12:06,894 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:12:36,776 - INFO - taking picture
MAIN: 2025-03-10 12:12:36,777 - INFO - we take 685 photos in this while loop
MAIN: 2025-03-10 12:12:36,777 - INFO - /home/pi/Desktop/images/10032025/12/12/image_10032025_12_12_36_29900.jpg
MAIN: 2025-03-10 12:12:36,777 - INFO - duration: 0.7019825520001177
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:13:06,518 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:13:07,051 - INFO - taking picture
MAIN: 2025-03-10 12:13:07,052 - INFO - we take 686 photos in this while loop
MAIN: 2025-03-10 12:13:07,052 - INFO - /home/pi/Desktop/images/10032025/12/12/image_10032025_12_13_06_30282.jpg
MAIN: 2025-03-10 12:13:07,052 - INFO - duration: 0.6942738539983111
MAIN: 2025-03-10 12:13:07,053 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:13:36,738 - INFO - taking picture
MAIN: 2025-03-10 12:13:36,739 - INFO - we take 687 photos in this while loop
MAIN: 2025-03-10 12:13:36,739 - INFO - /home/pi/Desktop/images/10032025/12/13/image_10032025_12_13_36_29689.jpg
MAIN: 2025-03-10 12:13:36,739 - INFO - duration: 0.691874739000923
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:14:07,005 - INFO - taking picture
MAIN: 2025-03-10 12:14:07,005 - INFO - we take 688 photos in this while loop
MAIN: 2025-03-10 12:14:07,005 - INFO - /home/pi/Desktop/images/10032025/12/13/image_10032025_12_14_06_30266.jpg
MAIN: 2025-03-10 12:14:07,006 - INFO - duration: 0.6916901559998223
MAIN: 2025-03-10 12:14:07,006 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/14'
MAIN: 2025-03-10 12:14:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:14:36,741 - INFO - taking picture
MAIN: 2025-03-10 12:14:36,742 - INFO - we take 689 photos in this while loop
MAIN: 2025-03-10 12:14:36,742 - INFO - /home/pi/Desktop/images/10032025/12/14/image_10032025_12_14_36_29773.jpg
MAIN: 2025-03-10 12:14:36,742 - INFO - duration: 0.6548406250003609
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:15:06,186 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:15:06,997 - INFO - taking picture
MAIN: 2025-03-10 12:15:06,998 - INFO - we take 690 photos in this while loop
MAIN: 2025-03-10 12:15:06,998 - INFO - /home/pi/Desktop/images/10032025/12/14/image_10032025_12_15_06_30231.jpg
MAIN: 2025-03-10 12:15:06,999 - INFO - duration: 0.6800626040021598
MAIN: 2025-03-10 12:15:06,999 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:15:36,723 - INFO - taking picture
MAIN: 2025-03-10 12:15:36,723 - INFO - we take 691 photos in this while loop
MAIN: 2025-03-10 12:15:36,723 - INFO - /home/pi/Desktop/images/10032025/12/15/image_10032025_12_15_36_29722.jpg
MAIN: 2025-03-10 12:15:36,724 - INFO - duration: 0.6820997909999278
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:16:06,219 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:16:06,984 - INFO - taking picture
MAIN: 2025-03-10 12:16:06,984 - INFO - we take 692 photos in this while loop
MAIN: 2025-03-10 12:16:06,985 - INFO - /home/pi/Desktop/images/10032025/12/15/image_10032025_12_16_06_30285.jpg
MAIN: 2025-03-10 12:16:06,985 - INFO - duration: 0.6577969270001631
MAIN: 2025-03-10 12:16:06,985 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/16'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:16:36,905 - INFO - taking picture
MAIN: 2025-03-10 12:16:36,905 - INFO - we take 693 photos in this while loop
MAIN: 2025-03-10 12:16:36,905 - INFO - /home/pi/Desktop/images/10032025/12/16/image_10032025_12_16_36_29895.jpg
MAIN: 2025-03-10 12:16:36,906 - INFO - duration: 0.6831325519997336
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:17:06,359 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:17:07,015 - INFO - taking picture
MAIN: 2025-03-10 12:17:07,016 - INFO - we take 694 photos in this while loop
MAIN: 2025-03-10 12:17:07,016 - INFO - /home/pi/Desktop/images/10032025/12/16/image_10032025_12_17_06_30079.jpg
MAIN: 2025-03-10 12:17:07,016 - INFO - duration: 0.7144938540004659
MAIN: 2025-03-10 12:17:07,017 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:17:36,769 - INFO - taking picture
MAIN: 2025-03-10 12:17:36,770 - INFO - we take 695 photos in this while loop
MAIN: 2025-03-10 12:17:36,770 - INFO - /home/pi/Desktop/images/10032025/12/17/image_10032025_12_17_36_29768.jpg
MAIN: 2025-03-10 12:17:36,770 - INFO - duration: 0.7003293229972769
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:18:06,747 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:18:07,155 - INFO - taking picture
MAIN: 2025-03-10 12:18:07,156 - INFO - we take 696 photos in this while loop
MAIN: 2025-03-10 12:18:07,156 - INFO - /home/pi/Desktop/images/10032025/12/17/image_10032025_12_18_06_30375.jpg
MAIN: 2025-03-10 12:18:07,156 - INFO - duration: 0.7104744790012774
MAIN: 2025-03-10 12:18:07,157 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:18:36,764 - INFO - taking picture
MAIN: 2025-03-10 12:18:36,765 - INFO - we take 697 photos in this while loop
MAIN: 2025-03-10 12:18:36,765 - INFO - /home/pi/Desktop/images/10032025/12/18/image_10032025_12_18_36_29665.jpg
MAIN: 2025-03-10 12:18:36,765 - INFO - duration: 0.6537295830021321
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:19:05,812 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:19:06,628 - INFO - taking picture
MAIN: 2025-03-10 12:19:06,629 - INFO - we take 698 photos in this while loop
MAIN: 2025-03-10 12:19:06,629 - INFO - /home/pi/Desktop/images/10032025/12/18/image_10032025_12_19_06_29870.jpg
MAIN: 2025-03-10 12:19:06,629 - INFO - duration: 0.647279739001533
MAIN: 2025-03-10 12:19:06,630 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/19'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:19:36,445 - INFO - taking picture
MAIN: 2025-03-10 12:19:36,445 - INFO - we take 699 photos in this while loop
MAIN: 2025-03-10 12:19:36,446 - INFO - /home/pi/Desktop/images/10032025/12/19/image_10032025_12_19_36_29780.jpg
MAIN: 2025-03-10 12:19:36,446 - INFO - duration: 0.6837385409999115
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:20:06,681 - INFO - cam.read() 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-10 12:20:06,897 - INFO - taking picture
MAIN: 2025-03-10 12:20:06,898 - INFO - we take 700 photos in this while loop
MAIN: 2025-03-10 12:20:06,899 - INFO - /home/pi/Desktop/images/10032025/12/19/image_10032025_12_20_06_30427.jpg
MAIN: 2025-03-10 12:20:06,899 - INFO - duration: 0.7095299480024551
MAIN: 2025-03-10 12:20:06,900 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/20'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:20:36,706 - INFO - taking picture
MAIN: 2025-03-10 12:20:36,707 - INFO - we take 701 photos in this while loop
MAIN: 2025-03-10 12:20:36,707 - INFO - /home/pi/Desktop/images/10032025/12/20/image_10032025_12_20_36_29802.jpg
MAIN: 2025-03-10 12:20:36,707 - INFO - duration: 0.7148351040013949
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:21:06,040 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:21:06,806 - INFO - taking picture
MAIN: 2025-03-10 12:21:06,806 - INFO - we take 702 photos in this while loop
MAIN: 2025-03-10 12:21:06,806 - INFO - /home/pi/Desktop/images/10032025/12/20/image_10032025_12_21_06_30145.jpg
MAIN: 2025-03-10 12:21:06,807 - INFO - duration: 0.6684639060003974
MAIN: 2025-03-10 12:21:06,807 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:21:36,632 - INFO - taking picture
MAIN: 2025-03-10 12:21:36,632 - INFO - we take 703 photos in this while loop
MAIN: 2025-03-10 12:21:36,633 - INFO - /home/pi/Desktop/images/10032025/12/21/image_10032025_12_21_36_29780.jpg
MAIN: 2025-03-10 12:21:36,633 - INFO - duration: 0.7141389579992392
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:22: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:22:07,056 - INFO - taking picture
MAIN: 2025-03-10 12:22:07,056 - INFO - we take 704 photos in this while loop
MAIN: 2025-03-10 12:22:07,057 - INFO - /home/pi/Desktop/images/10032025/12/21/image_10032025_12_22_06_30415.jpg
MAIN: 2025-03-10 12:22:07,057 - INFO - duration: 0.7225183850023313
MAIN: 2025-03-10 12:22:07,057 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:22:36,933 - INFO - taking picture
MAIN: 2025-03-10 12:22:36,933 - INFO - we take 705 photos in this while loop
MAIN: 2025-03-10 12:22:36,933 - INFO - /home/pi/Desktop/images/10032025/12/22/image_10032025_12_22_36_29936.jpg
MAIN: 2025-03-10 12:22:36,934 - INFO - duration: 0.6623968739986594
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:23: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:23:07,078 - INFO - taking picture
MAIN: 2025-03-10 12:23:07,078 - INFO - we take 706 photos in this while loop
MAIN: 2025-03-10 12:23:07,079 - INFO - /home/pi/Desktop/images/10032025/12/22/image_10032025_12_23_06_30105.jpg
MAIN: 2025-03-10 12:23:07,079 - INFO - duration: 0.7019712500004971
MAIN: 2025-03-10 12:23:07,079 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:23:36,788 - INFO - taking picture
MAIN: 2025-03-10 12:23:36,789 - INFO - we take 707 photos in this while loop
MAIN: 2025-03-10 12:23:36,789 - INFO - /home/pi/Desktop/images/10032025/12/23/image_10032025_12_23_36_29722.jpg
MAIN: 2025-03-10 12:23:36,789 - INFO - duration: 0.6896021870015829
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:24:06,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 ! 
MAIN: 2025-03-10 12:24:07,099 - INFO - taking picture
MAIN: 2025-03-10 12:24:07,100 - INFO - we take 708 photos in this while loop
MAIN: 2025-03-10 12:24:07,100 - INFO - /home/pi/Desktop/images/10032025/12/23/image_10032025_12_24_06_30264.jpg
MAIN: 2025-03-10 12:24:07,100 - INFO - duration: 0.7359273950023635
MAIN: 2025-03-10 12:24:07,100 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:24:36,916 - INFO - taking picture
MAIN: 2025-03-10 12:24:36,916 - INFO - we take 709 photos in this while loop
MAIN: 2025-03-10 12:24:36,916 - INFO - /home/pi/Desktop/images/10032025/12/24/image_10032025_12_24_36_29835.jpg
MAIN: 2025-03-10 12:24:36,917 - INFO - duration: 0.7175492710011895
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:25: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:25:07,302 - INFO - taking picture
MAIN: 2025-03-10 12:25:07,303 - INFO - we take 710 photos in this while loop
MAIN: 2025-03-10 12:25:07,303 - INFO - /home/pi/Desktop/images/10032025/12/24/image_10032025_12_25_06_30409.jpg
MAIN: 2025-03-10 12:25:07,303 - INFO - duration: 0.6948593740016804
MAIN: 2025-03-10 12:25:07,304 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:25:37,032 - INFO - taking picture
MAIN: 2025-03-10 12:25:37,032 - INFO - we take 711 photos in this while loop
MAIN: 2025-03-10 12:25:37,033 - INFO - /home/pi/Desktop/images/10032025/12/25/image_10032025_12_25_36_29760.jpg
MAIN: 2025-03-10 12:25:37,033 - INFO - duration: 0.6645426560025953
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:26: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:26:07,478 - INFO - taking picture
MAIN: 2025-03-10 12:26:07,478 - INFO - we take 712 photos in this while loop
MAIN: 2025-03-10 12:26:07,479 - INFO - /home/pi/Desktop/images/10032025/12/25/image_10032025_12_26_07_30426.jpg
MAIN: 2025-03-10 12:26:07,479 - INFO - duration: 0.683945988999767
MAIN: 2025-03-10 12:26:07,479 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:26:37,378 - INFO - taking picture
MAIN: 2025-03-10 12:26:37,379 - INFO - we take 713 photos in this while loop
MAIN: 2025-03-10 12:26:37,379 - INFO - /home/pi/Desktop/images/10032025/12/26/image_10032025_12_26_36_29877.jpg
MAIN: 2025-03-10 12:26:37,379 - INFO - duration: 0.7070673439993698
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:27:06,250 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 12:27:06,343 - INFO - taking picture
MAIN: 2025-03-10 12:27:06,344 - INFO - we take 714 photos in this while loop
MAIN: 2025-03-10 12:27:06,344 - INFO - /home/pi/Desktop/images/10032025/12/26/image_10032025_12_27_05_28983.jpg
MAIN: 2025-03-10 12:27:06,345 - INFO - duration: 0.6890321870014304
MAIN: 2025-03-10 12:27:06,345 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:27:37,438 - INFO - taking picture
MAIN: 2025-03-10 12:27:37,438 - INFO - we take 715 photos in this while loop
MAIN: 2025-03-10 12:27:37,438 - INFO - /home/pi/Desktop/images/10032025/12/27/image_10032025_12_27_37_31075.jpg
MAIN: 2025-03-10 12:27:37,438 - INFO - duration: 0.7070702080018236
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:28:06,350 - INFO - taking picture
MAIN: 2025-03-10 12:28:06,351 - INFO - we take 716 photos in this while loop
MAIN: 2025-03-10 12:28:06,351 - INFO - /home/pi/Desktop/images/10032025/12/27/image_10032025_12_28_05_28935.jpg
MAIN: 2025-03-10 12:28:06,351 - INFO - duration: 0.6841377599994303
MAIN: 2025-03-10 12:28:06,352 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/28'
MAIN: 2025-03-10 12:28:06,933 - INFO - cam.read() return no image
Will output and 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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:28:37,555 - INFO - taking picture
MAIN: 2025-03-10 12:28:37,555 - INFO - we take 717 photos in this while loop
MAIN: 2025-03-10 12:28:37,556 - INFO - /home/pi/Desktop/images/10032025/12/28/image_10032025_12_28_37_31185.jpg
MAIN: 2025-03-10 12:28:37,556 - INFO - duration: 0.702949479000381
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:29:06,420 - INFO - taking picture
MAIN: 2025-03-10 12:29:06,420 - INFO - we take 718 photos in this while loop
MAIN: 2025-03-10 12:29:06,421 - INFO - /home/pi/Desktop/images/10032025/12/28/image_10032025_12_29_06_28883.jpg
MAIN: 2025-03-10 12:29:06,421 - INFO - duration: 0.6843657810022705
MAIN: 2025-03-10 12:29:06,421 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/29'
MAIN: 2025-03-10 12:29: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:29:37,474 - INFO - taking picture
MAIN: 2025-03-10 12:29:37,474 - INFO - we take 719 photos in this while loop
MAIN: 2025-03-10 12:29:37,474 - INFO - /home/pi/Desktop/images/10032025/12/29/image_10032025_12_29_37_31053.jpg
MAIN: 2025-03-10 12:29:37,475 - INFO - duration: 0.6851476039992122
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:30:06,792 - INFO - taking picture
MAIN: 2025-03-10 12:30:06,792 - INFO - we take 720 photos in this while loop
MAIN: 2025-03-10 12:30:06,793 - INFO - /home/pi/Desktop/images/10032025/12/29/image_10032025_12_30_06_29316.jpg
MAIN: 2025-03-10 12:30:06,793 - INFO - duration: 0.687224375000369
MAIN: 2025-03-10 12:30:06,793 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/30'
MAIN: 2025-03-10 12:30:07,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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:30:36,802 - INFO - taking picture
MAIN: 2025-03-10 12:30:36,803 - INFO - we take 721 photos in this while loop
MAIN: 2025-03-10 12:30:36,803 - INFO - /home/pi/Desktop/images/10032025/12/30/image_10032025_12_30_36_29999.jpg
MAIN: 2025-03-10 12:30:36,803 - INFO - duration: 0.6984102079986769
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:31:05,899 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:31:07,029 - INFO - taking picture
MAIN: 2025-03-10 12:31:07,030 - INFO - we take 722 photos in this while loop
MAIN: 2025-03-10 12:31:07,030 - INFO - /home/pi/Desktop/images/10032025/12/30/image_10032025_12_31_06_30246.jpg
MAIN: 2025-03-10 12:31:07,030 - INFO - duration: 0.6786521350004477
MAIN: 2025-03-10 12:31:07,031 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/31'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:31:36,897 - INFO - taking picture
MAIN: 2025-03-10 12:31:36,898 - INFO - we take 723 photos in this while loop
MAIN: 2025-03-10 12:31:36,898 - INFO - /home/pi/Desktop/images/10032025/12/31/image_10032025_12_31_36_29836.jpg
MAIN: 2025-03-10 12:31:36,898 - INFO - duration: 0.7095688019981026
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:32:06,478 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:32:07,189 - INFO - taking picture
MAIN: 2025-03-10 12:32:07,190 - INFO - we take 724 photos in this while loop
MAIN: 2025-03-10 12:32:07,190 - INFO - /home/pi/Desktop/images/10032025/12/31/image_10032025_12_32_06_30299.jpg
MAIN: 2025-03-10 12:32:07,190 - INFO - duration: 0.7027617180028756
MAIN: 2025-03-10 12:32:07,191 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:32:37,025 - INFO - taking picture
MAIN: 2025-03-10 12:32:37,026 - INFO - we take 725 photos in this while loop
MAIN: 2025-03-10 12:32:37,026 - INFO - /home/pi/Desktop/images/10032025/12/32/image_10032025_12_32_36_29833.jpg
MAIN: 2025-03-10 12:32:37,026 - INFO - duration: 0.7051811980018101
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:33:06,057 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:33:07,136 - INFO - taking picture
MAIN: 2025-03-10 12:33:07,136 - INFO - we take 726 photos in this while loop
MAIN: 2025-03-10 12:33:07,137 - INFO - /home/pi/Desktop/images/10032025/12/32/image_10032025_12_33_06_30157.jpg
MAIN: 2025-03-10 12:33:07,137 - INFO - duration: 0.6584838540002238
MAIN: 2025-03-10 12:33:07,137 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:33:37,009 - INFO - taking picture
MAIN: 2025-03-10 12:33:37,009 - INFO - we take 727 photos in this while loop
MAIN: 2025-03-10 12:33:37,009 - INFO - /home/pi/Desktop/images/10032025/12/33/image_10032025_12_33_36_29845.jpg
MAIN: 2025-03-10 12:33:37,010 - INFO - duration: 0.6859559370022907
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:34: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:34:07,307 - INFO - taking picture
MAIN: 2025-03-10 12:34:07,308 - INFO - we take 728 photos in this while loop
MAIN: 2025-03-10 12:34:07,308 - INFO - /home/pi/Desktop/images/10032025/12/33/image_10032025_12_34_06_30283.jpg
MAIN: 2025-03-10 12:34:07,308 - INFO - duration: 0.7010856249980861
MAIN: 2025-03-10 12:34:07,309 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:34:37,279 - INFO - taking picture
MAIN: 2025-03-10 12:34:37,279 - INFO - we take 729 photos in this while loop
MAIN: 2025-03-10 12:34:37,279 - INFO - /home/pi/Desktop/images/10032025/12/34/image_10032025_12_34_36_29960.jpg
MAIN: 2025-03-10 12:34:37,280 - INFO - duration: 0.7116621870009112
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:35:06,248 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 12:35:06,336 - INFO - taking picture
MAIN: 2025-03-10 12:35:06,338 - INFO - we take 730 photos in this while loop
MAIN: 2025-03-10 12:35:06,338 - INFO - /home/pi/Desktop/images/10032025/12/34/image_10032025_12_35_05_29056.jpg
MAIN: 2025-03-10 12:35:06,339 - INFO - duration: 0.7143724990019109
MAIN: 2025-03-10 12:35:06,341 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/35'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:35:37,501 - INFO - taking picture
MAIN: 2025-03-10 12:35:37,501 - INFO - we take 731 photos in this while loop
MAIN: 2025-03-10 12:35:37,502 - INFO - /home/pi/Desktop/images/10032025/12/35/image_10032025_12_35_37_31165.jpg
MAIN: 2025-03-10 12:35:37,502 - INFO - duration: 0.7116734369992628
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:36: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 ! 
MAIN: 2025-03-10 12:36:06,546 - INFO - taking picture
MAIN: 2025-03-10 12:36:06,547 - INFO - we take 732 photos in this while loop
MAIN: 2025-03-10 12:36:06,547 - INFO - /home/pi/Desktop/images/10032025/12/35/image_10032025_12_36_06_29061.jpg
MAIN: 2025-03-10 12:36:06,547 - INFO - duration: 0.6951031249991502
MAIN: 2025-03-10 12:36:06,548 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:36:36,393 - INFO - taking picture
MAIN: 2025-03-10 12:36:36,394 - INFO - we take 733 photos in this while loop
MAIN: 2025-03-10 12:36:36,394 - INFO - /home/pi/Desktop/images/10032025/12/36/image_10032025_12_36_36_29829.jpg
MAIN: 2025-03-10 12:36:36,394 - INFO - duration: 0.7121622399972694
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:37:06,140 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:37:06,682 - INFO - taking picture
MAIN: 2025-03-10 12:37:06,683 - INFO - we take 734 photos in this while loop
MAIN: 2025-03-10 12:37:06,683 - INFO - /home/pi/Desktop/images/10032025/12/36/image_10032025_12_37_06_30248.jpg
MAIN: 2025-03-10 12:37:06,683 - INFO - duration: 0.7530924480015528
MAIN: 2025-03-10 12:37:06,684 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:37:36,628 - INFO - taking picture
MAIN: 2025-03-10 12:37:36,629 - INFO - we take 735 photos in this while loop
MAIN: 2025-03-10 12:37:36,629 - INFO - /home/pi/Desktop/images/10032025/12/37/image_10032025_12_37_36_29981.jpg
MAIN: 2025-03-10 12:37:36,629 - INFO - duration: 0.7176494790001016
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:38:06,616 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:38:07,033 - INFO - taking picture
MAIN: 2025-03-10 12:38:07,034 - INFO - we take 736 photos in this while loop
MAIN: 2025-03-10 12:38:07,034 - INFO - /home/pi/Desktop/images/10032025/12/37/image_10032025_12_38_06_30454.jpg
MAIN: 2025-03-10 12:38:07,034 - INFO - duration: 0.6679494259988132
MAIN: 2025-03-10 12:38:07,035 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/38'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:38:37,007 - INFO - taking picture
MAIN: 2025-03-10 12:38:37,008 - INFO - we take 737 photos in this while loop
MAIN: 2025-03-10 12:38:37,008 - INFO - /home/pi/Desktop/images/10032025/12/38/image_10032025_12_38_36_29944.jpg
MAIN: 2025-03-10 12:38:37,008 - INFO - duration: 0.69750041700172
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:39:06,327 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:39:07,150 - INFO - taking picture
MAIN: 2025-03-10 12:39:07,151 - INFO - we take 738 photos in this while loop
MAIN: 2025-03-10 12:39:07,151 - INFO - /home/pi/Desktop/images/10032025/12/38/image_10032025_12_39_06_30181.jpg
MAIN: 2025-03-10 12:39:07,151 - INFO - duration: 0.6592227080000157
MAIN: 2025-03-10 12:39:07,152 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/39'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:39:37,096 - INFO - taking picture
MAIN: 2025-03-10 12:39:37,096 - INFO - we take 739 photos in this while loop
MAIN: 2025-03-10 12:39:37,096 - INFO - /home/pi/Desktop/images/10032025/12/39/image_10032025_12_39_36_29888.jpg
MAIN: 2025-03-10 12:39:37,096 - INFO - duration: 0.715914739001164
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:40:06,446 - INFO - taking picture
MAIN: 2025-03-10 12:40:06,447 - INFO - we take 740 photos in this while loop
MAIN: 2025-03-10 12:40:06,447 - INFO - /home/pi/Desktop/images/10032025/12/39/image_10032025_12_40_06_29320.jpg
MAIN: 2025-03-10 12:40:06,448 - INFO - duration: 0.7466783330019098
MAIN: 2025-03-10 12:40:06,449 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/40'
MAIN: 2025-03-10 12:40:07,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:40:37,531 - INFO - taking picture
MAIN: 2025-03-10 12:40:37,532 - INFO - we take 741 photos in this while loop
MAIN: 2025-03-10 12:40:37,532 - INFO - /home/pi/Desktop/images/10032025/12/40/image_10032025_12_40_37_31123.jpg
MAIN: 2025-03-10 12:40:37,533 - INFO - duration: 0.7076899480016436
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:41:05,788 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:41:06,496 - INFO - taking picture
MAIN: 2025-03-10 12:41:06,497 - INFO - we take 742 photos in this while loop
MAIN: 2025-03-10 12:41:06,497 - INFO - /home/pi/Desktop/images/10032025/12/40/image_10032025_12_41_06_28947.jpg
MAIN: 2025-03-10 12:41:06,497 - INFO - duration: 0.7251493740004662
MAIN: 2025-03-10 12:41:06,498 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:41:36,298 - INFO - taking picture
MAIN: 2025-03-10 12:41:36,299 - INFO - we take 743 photos in this while loop
MAIN: 2025-03-10 12:41:36,299 - INFO - /home/pi/Desktop/images/10032025/12/41/image_10032025_12_41_35_29815.jpg
MAIN: 2025-03-10 12:41:36,299 - INFO - duration: 0.7118914060010866
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:42: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:42:06,628 - INFO - taking picture
MAIN: 2025-03-10 12:42:06,628 - INFO - we take 744 photos in this while loop
MAIN: 2025-03-10 12:42:06,628 - INFO - /home/pi/Desktop/images/10032025/12/41/image_10032025_12_42_06_30372.jpg
MAIN: 2025-03-10 12:42:06,629 - INFO - duration: 0.6685575000010431
MAIN: 2025-03-10 12:42:06,629 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/42'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:42:36,466 - INFO - taking picture
MAIN: 2025-03-10 12:42:36,466 - INFO - we take 745 photos in this while loop
MAIN: 2025-03-10 12:42:36,466 - INFO - /home/pi/Desktop/images/10032025/12/42/image_10032025_12_42_36_29855.jpg
MAIN: 2025-03-10 12:42:36,467 - INFO - duration: 0.651059271000122
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:43:06,004 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:43:06,645 - INFO - taking picture
MAIN: 2025-03-10 12:43:06,645 - INFO - we take 746 photos in this while loop
MAIN: 2025-03-10 12:43:06,645 - INFO - /home/pi/Desktop/images/10032025/12/42/image_10032025_12_43_06_30177.jpg
MAIN: 2025-03-10 12:43:06,646 - INFO - duration: 0.6528235930018127
MAIN: 2025-03-10 12:43:06,646 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:43:36,629 - INFO - taking picture
MAIN: 2025-03-10 12:43:36,630 - INFO - we take 747 photos in this while loop
MAIN: 2025-03-10 12:43:36,630 - INFO - /home/pi/Desktop/images/10032025/12/43/image_10032025_12_43_36_29930.jpg
MAIN: 2025-03-10 12:43:36,630 - INFO - duration: 0.7066368749983667
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:44: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:44:06,930 - INFO - taking picture
MAIN: 2025-03-10 12:44:06,930 - INFO - we take 748 photos in this while loop
MAIN: 2025-03-10 12:44:06,930 - INFO - /home/pi/Desktop/images/10032025/12/43/image_10032025_12_44_06_30292.jpg
MAIN: 2025-03-10 12:44:06,930 - INFO - duration: 0.7148923949971504
MAIN: 2025-03-10 12:44:06,931 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:44:36,729 - INFO - taking picture
MAIN: 2025-03-10 12:44:36,730 - INFO - we take 749 photos in this while loop
MAIN: 2025-03-10 12:44:36,730 - INFO - /home/pi/Desktop/images/10032025/12/44/image_10032025_12_44_36_29808.jpg
MAIN: 2025-03-10 12:44:36,730 - INFO - duration: 0.7059360410021327
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:45:06,942 - INFO - taking picture
MAIN: 2025-03-10 12:45:06,943 - INFO - we take 750 photos in this while loop
MAIN: 2025-03-10 12:45:06,943 - INFO - /home/pi/Desktop/images/10032025/12/44/image_10032025_12_45_06_30217.jpg
MAIN: 2025-03-10 12:45:06,944 - INFO - duration: 0.7025966149994929
MAIN: 2025-03-10 12:45:06,945 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/45'
MAIN: 2025-03-10 12:45:06,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:45:36,644 - INFO - taking picture
MAIN: 2025-03-10 12:45:36,645 - INFO - we take 751 photos in this while loop
MAIN: 2025-03-10 12:45:36,645 - INFO - /home/pi/Desktop/images/10032025/12/45/image_10032025_12_45_36_29686.jpg
MAIN: 2025-03-10 12:45:36,645 - INFO - duration: 0.7168417180000688
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:46: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 ! 
MAIN: 2025-03-10 12:46:07,004 - INFO - taking picture
MAIN: 2025-03-10 12:46:07,005 - INFO - we take 752 photos in this while loop
MAIN: 2025-03-10 12:46:07,005 - INFO - /home/pi/Desktop/images/10032025/12/45/image_10032025_12_46_06_30424.jpg
MAIN: 2025-03-10 12:46:07,005 - INFO - duration: 0.6519382810001844
MAIN: 2025-03-10 12:46:07,005 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:46:36,871 - INFO - taking picture
MAIN: 2025-03-10 12:46:36,872 - INFO - we take 753 photos in this while loop
MAIN: 2025-03-10 12:46:36,872 - INFO - /home/pi/Desktop/images/10032025/12/46/image_10032025_12_46_36_29815.jpg
MAIN: 2025-03-10 12:46:36,872 - INFO - duration: 0.7037912500018138
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:47:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:47:06,939 - INFO - taking picture
MAIN: 2025-03-10 12:47:06,939 - INFO - we take 754 photos in this while loop
MAIN: 2025-03-10 12:47:06,940 - INFO - /home/pi/Desktop/images/10032025/12/46/image_10032025_12_47_06_30068.jpg
MAIN: 2025-03-10 12:47:06,940 - INFO - duration: 0.7025517700021737
MAIN: 2025-03-10 12:47:06,940 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:47:36,829 - INFO - taking picture
MAIN: 2025-03-10 12:47:36,829 - INFO - we take 755 photos in this while loop
MAIN: 2025-03-10 12:47:36,829 - INFO - /home/pi/Desktop/images/10032025/12/47/image_10032025_12_47_36_29889.jpg
MAIN: 2025-03-10 12:47:36,830 - INFO - duration: 0.7027642190005281
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 12:48:05,987 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:48:07,015 - INFO - taking picture
MAIN: 2025-03-10 12:48:07,016 - INFO - we take 756 photos in this while loop
MAIN: 2025-03-10 12:48:07,016 - INFO - /home/pi/Desktop/images/10032025/12/47/image_10032025_12_48_06_30221.jpg
MAIN: 2025-03-10 12:48:07,016 - INFO - duration: 0.6676881249986764
MAIN: 2025-03-10 12:48:07,016 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/48'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:48:36,989 - INFO - taking picture
MAIN: 2025-03-10 12:48:36,990 - INFO - we take 757 photos in this while loop
MAIN: 2025-03-10 12:48:36,990 - INFO - /home/pi/Desktop/images/10032025/12/48/image_10032025_12_48_36_29918.jpg
MAIN: 2025-03-10 12:48:36,990 - INFO - duration: 0.7236670829988725
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:49:05,826 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:49:07,169 - INFO - taking picture
MAIN: 2025-03-10 12:49:07,170 - INFO - we take 758 photos in this while loop
MAIN: 2025-03-10 12:49:07,170 - INFO - /home/pi/Desktop/images/10032025/12/48/image_10032025_12_49_06_30208.jpg
MAIN: 2025-03-10 12:49:07,170 - INFO - duration: 0.6946671879995847
MAIN: 2025-03-10 12:49:07,170 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:49:37,068 - INFO - taking picture
MAIN: 2025-03-10 12:49:37,069 - INFO - we take 759 photos in this while loop
MAIN: 2025-03-10 12:49:37,069 - INFO - /home/pi/Desktop/images/10032025/12/49/image_10032025_12_49_36_29902.jpg
MAIN: 2025-03-10 12:49:37,069 - INFO - duration: 0.691959271000087
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:50:06,430 - INFO - taking picture
MAIN: 2025-03-10 12:50:06,431 - INFO - we take 760 photos in this while loop
MAIN: 2025-03-10 12:50:06,431 - INFO - /home/pi/Desktop/images/10032025/12/49/image_10032025_12_50_06_29332.jpg
MAIN: 2025-03-10 12:50:06,432 - INFO - duration: 0.7213727079979435
MAIN: 2025-03-10 12:50:06,432 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/50'
MAIN: 2025-03-10 12:50: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:50:37,356 - INFO - taking picture
MAIN: 2025-03-10 12:50:37,357 - INFO - we take 761 photos in this while loop
MAIN: 2025-03-10 12:50:37,357 - INFO - /home/pi/Desktop/images/10032025/12/50/image_10032025_12_50_36_30942.jpg
MAIN: 2025-03-10 12:50:37,357 - INFO - duration: 0.7043419789988548
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:51:06,472 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:51:07,347 - INFO - taking picture
MAIN: 2025-03-10 12:51:07,348 - INFO - we take 762 photos in this while loop
MAIN: 2025-03-10 12:51:07,348 - INFO - /home/pi/Desktop/images/10032025/12/50/image_10032025_12_51_06_30025.jpg
MAIN: 2025-03-10 12:51:07,348 - INFO - duration: 0.6692119270010153
MAIN: 2025-03-10 12:51:07,348 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/51'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:51:37,219 - INFO - taking picture
MAIN: 2025-03-10 12:51:37,220 - INFO - we take 763 photos in this while loop
MAIN: 2025-03-10 12:51:37,220 - INFO - /home/pi/Desktop/images/10032025/12/51/image_10032025_12_51_36_29812.jpg
MAIN: 2025-03-10 12:51:37,220 - INFO - duration: 0.7287420829998155
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:52: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:52:07,385 - INFO - taking picture
MAIN: 2025-03-10 12:52:07,385 - INFO - we take 764 photos in this while loop
MAIN: 2025-03-10 12:52:07,385 - INFO - /home/pi/Desktop/images/10032025/12/51/image_10032025_12_52_07_30244.jpg
MAIN: 2025-03-10 12:52:07,386 - INFO - duration: 0.6499866140002268
MAIN: 2025-03-10 12:52:07,386 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:52:37,248 - INFO - taking picture
MAIN: 2025-03-10 12:52:37,249 - INFO - we take 765 photos in this while loop
MAIN: 2025-03-10 12:52:37,249 - INFO - /home/pi/Desktop/images/10032025/12/52/image_10032025_12_52_36_29828.jpg
MAIN: 2025-03-10 12:52:37,249 - INFO - duration: 0.6844538539990026
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:53:05,883 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:53:07,330 - INFO - taking picture
MAIN: 2025-03-10 12:53:07,330 - INFO - we take 766 photos in this while loop
MAIN: 2025-03-10 12:53:07,331 - INFO - /home/pi/Desktop/images/10032025/12/52/image_10032025_12_53_06_30090.jpg
MAIN: 2025-03-10 12:53:07,331 - INFO - duration: 0.6756770309984859
MAIN: 2025-03-10 12:53:07,331 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:53:37,154 - INFO - taking picture
MAIN: 2025-03-10 12:53:37,155 - INFO - we take 767 photos in this while loop
MAIN: 2025-03-10 12:53:37,155 - INFO - /home/pi/Desktop/images/10032025/12/53/image_10032025_12_53_36_29795.jpg
MAIN: 2025-03-10 12:53:37,155 - INFO - duration: 0.704152188001899
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:54: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:54:07,341 - INFO - taking picture
MAIN: 2025-03-10 12:54:07,341 - INFO - we take 768 photos in this while loop
MAIN: 2025-03-10 12:54:07,341 - INFO - /home/pi/Desktop/images/10032025/12/53/image_10032025_12_54_06_30215.jpg
MAIN: 2025-03-10 12:54:07,342 - INFO - duration: 0.6758144790001097
MAIN: 2025-03-10 12:54:07,342 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:54:37,060 - INFO - taking picture
MAIN: 2025-03-10 12:54:37,060 - INFO - we take 769 photos in this while loop
MAIN: 2025-03-10 12:54:37,060 - INFO - /home/pi/Desktop/images/10032025/12/54/image_10032025_12_54_36_29691.jpg
MAIN: 2025-03-10 12:54:37,060 - INFO - duration: 0.7026830719987629
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:55: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:55:07,386 - INFO - taking picture
MAIN: 2025-03-10 12:55:07,387 - INFO - we take 770 photos in this while loop
MAIN: 2025-03-10 12:55:07,387 - INFO - /home/pi/Desktop/images/10032025/12/54/image_10032025_12_55_06_30328.jpg
MAIN: 2025-03-10 12:55:07,387 - INFO - duration: 0.7008081250023679
MAIN: 2025-03-10 12:55:07,388 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:55:37,255 - INFO - taking picture
MAIN: 2025-03-10 12:55:37,255 - INFO - we take 771 photos in this while loop
MAIN: 2025-03-10 12:55:37,256 - INFO - /home/pi/Desktop/images/10032025/12/55/image_10032025_12_55_36_29910.jpg
MAIN: 2025-03-10 12:55:37,256 - INFO - duration: 0.658803906000685
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:56: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:56:07,313 - INFO - taking picture
MAIN: 2025-03-10 12:56:07,314 - INFO - we take 772 photos in this while loop
MAIN: 2025-03-10 12:56:07,314 - INFO - /home/pi/Desktop/images/10032025/12/55/image_10032025_12_56_06_30059.jpg
MAIN: 2025-03-10 12:56:07,314 - INFO - duration: 0.6575618749993737
MAIN: 2025-03-10 12:56:07,315 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/56'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:56:37,130 - INFO - taking picture
MAIN: 2025-03-10 12:56:37,130 - INFO - we take 773 photos in this while loop
MAIN: 2025-03-10 12:56:37,131 - INFO - /home/pi/Desktop/images/10032025/12/56/image_10032025_12_56_36_29786.jpg
MAIN: 2025-03-10 12:56:37,131 - INFO - duration: 0.6876912500010803
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:57:06,542 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:57:07,320 - INFO - taking picture
MAIN: 2025-03-10 12:57:07,321 - INFO - we take 774 photos in this while loop
MAIN: 2025-03-10 12:57:07,321 - INFO - /home/pi/Desktop/images/10032025/12/56/image_10032025_12_57_06_30221.jpg
MAIN: 2025-03-10 12:57:07,321 - INFO - duration: 0.6566013009978633
MAIN: 2025-03-10 12:57:07,321 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:57:37,197 - INFO - taking picture
MAIN: 2025-03-10 12:57:37,198 - INFO - we take 775 photos in this while loop
MAIN: 2025-03-10 12:57:37,198 - INFO - /home/pi/Desktop/images/10032025/12/57/image_10032025_12_57_36_29822.jpg
MAIN: 2025-03-10 12:57:37,198 - INFO - duration: 0.7110649479982385
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:58:05,859 - INFO - cam.read() return no image
Will output and 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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:58:07,418 - INFO - taking picture
MAIN: 2025-03-10 12:58:07,418 - INFO - we take 776 photos in this while loop
MAIN: 2025-03-10 12:58:07,419 - INFO - /home/pi/Desktop/images/10032025/12/57/image_10032025_12_58_07_30248.jpg
MAIN: 2025-03-10 12:58:07,419 - INFO - duration: 0.6825332289990911
MAIN: 2025-03-10 12:58:07,419 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/58'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:58:37,324 - INFO - taking picture
MAIN: 2025-03-10 12:58:37,325 - INFO - we take 777 photos in this while loop
MAIN: 2025-03-10 12:58:37,325 - INFO - /home/pi/Desktop/images/10032025/12/58/image_10032025_12_58_36_29870.jpg
MAIN: 2025-03-10 12:58:37,325 - INFO - duration: 0.7186732290028885
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 12:59:05,480 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:59:07,391 - INFO - taking picture
MAIN: 2025-03-10 12:59:07,392 - INFO - we take 778 photos in this while loop
MAIN: 2025-03-10 12:59:07,392 - INFO - /home/pi/Desktop/images/10032025/12/58/image_10032025_12_59_07_30123.jpg
MAIN: 2025-03-10 12:59:07,392 - INFO - duration: 0.6626979680004297
MAIN: 2025-03-10 12:59:07,393 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/12/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 12:59:37,398 - INFO - taking picture
MAIN: 2025-03-10 12:59:37,399 - INFO - we take 779 photos in this while loop
MAIN: 2025-03-10 12:59:37,399 - INFO - /home/pi/Desktop/images/10032025/12/59/image_10032025_12_59_36_29976.jpg
MAIN: 2025-03-10 12:59:37,399 - INFO - duration: 0.6931269790002261
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:00:06,788 - INFO - taking picture
MAIN: 2025-03-10 13:00:06,789 - INFO - we take 780 photos in this while loop
MAIN: 2025-03-10 13:00:06,789 - INFO - /home/pi/Desktop/images/10032025/12/59/image_10032025_13_00_06_29311.jpg
MAIN: 2025-03-10 13:00:06,790 - INFO - duration: 0.7727294270007405
MAIN: 2025-03-10 13:00:06,791 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/00'
MAIN: 2025-03-10 13:00:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:00:36,450 - INFO - taking picture
MAIN: 2025-03-10 13:00:36,450 - INFO - we take 781 photos in this while loop
MAIN: 2025-03-10 13:00:36,450 - INFO - /home/pi/Desktop/images/10032025/13/00/image_10032025_13_00_36_29741.jpg
MAIN: 2025-03-10 13:00:36,451 - INFO - duration: 0.6919678119993478
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:01:05,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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:01:06,491 - INFO - taking picture
MAIN: 2025-03-10 13:01:06,492 - INFO - we take 782 photos in this while loop
MAIN: 2025-03-10 13:01:06,492 - INFO - /home/pi/Desktop/images/10032025/13/00/image_10032025_13_01_06_30084.jpg
MAIN: 2025-03-10 13:01:06,492 - INFO - duration: 0.6493109369985177
MAIN: 2025-03-10 13:01:06,493 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:01:36,377 - INFO - taking picture
MAIN: 2025-03-10 13:01:36,377 - INFO - we take 783 photos in this while loop
MAIN: 2025-03-10 13:01:36,377 - INFO - /home/pi/Desktop/images/10032025/13/01/image_10032025_13_01_35_29835.jpg
MAIN: 2025-03-10 13:01:36,377 - INFO - duration: 0.6988740099986899
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:02:05,666 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:02:06,625 - INFO - taking picture
MAIN: 2025-03-10 13:02:06,626 - INFO - we take 784 photos in this while loop
MAIN: 2025-03-10 13:02:06,626 - INFO - /home/pi/Desktop/images/10032025/13/01/image_10032025_13_02_06_30297.jpg
MAIN: 2025-03-10 13:02:06,626 - INFO - duration: 0.6499652080019587
MAIN: 2025-03-10 13:02:06,626 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:02:36,507 - INFO - taking picture
MAIN: 2025-03-10 13:02:36,508 - INFO - we take 785 photos in this while loop
MAIN: 2025-03-10 13:02:36,508 - INFO - /home/pi/Desktop/images/10032025/13/02/image_10032025_13_02_36_29821.jpg
MAIN: 2025-03-10 13:02:36,508 - INFO - duration: 0.7103989579991321
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:03:06,040 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:03:06,690 - INFO - taking picture
MAIN: 2025-03-10 13:03:06,690 - INFO - we take 786 photos in this while loop
MAIN: 2025-03-10 13:03:06,691 - INFO - /home/pi/Desktop/images/10032025/13/02/image_10032025_13_03_06_30221.jpg
MAIN: 2025-03-10 13:03:06,691 - INFO - duration: 0.6715304169993033
MAIN: 2025-03-10 13:03:06,691 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/03'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:03:36,540 - INFO - taking picture
MAIN: 2025-03-10 13:03:36,541 - INFO - we take 787 photos in this while loop
MAIN: 2025-03-10 13:03:36,541 - INFO - /home/pi/Desktop/images/10032025/13/03/image_10032025_13_03_36_29830.jpg
MAIN: 2025-03-10 13:03:36,541 - INFO - duration: 0.6910131759977958
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:04:06,337 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:04:06,896 - INFO - taking picture
MAIN: 2025-03-10 13:04:06,897 - INFO - we take 788 photos in this while loop
MAIN: 2025-03-10 13:04:06,897 - INFO - /home/pi/Desktop/images/10032025/13/03/image_10032025_13_04_06_30317.jpg
MAIN: 2025-03-10 13:04:06,897 - INFO - duration: 0.7296673429991642
MAIN: 2025-03-10 13:04:06,898 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/04'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:04:36,598 - INFO - taking picture
MAIN: 2025-03-10 13:04:36,599 - INFO - we take 789 photos in this while loop
MAIN: 2025-03-10 13:04:36,599 - INFO - /home/pi/Desktop/images/10032025/13/04/image_10032025_13_04_36_29725.jpg
MAIN: 2025-03-10 13:04:36,599 - INFO - duration: 0.7063773949994356
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:05: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 ! 
MAIN: 2025-03-10 13:05:07,085 - INFO - taking picture
MAIN: 2025-03-10 13:05:07,086 - INFO - we take 790 photos in this while loop
MAIN: 2025-03-10 13:05:07,087 - INFO - /home/pi/Desktop/images/10032025/13/04/image_10032025_13_05_06_30430.jpg
MAIN: 2025-03-10 13:05:07,087 - INFO - duration: 0.7641964059985185
MAIN: 2025-03-10 13:05:07,088 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:05:36,825 - INFO - taking picture
MAIN: 2025-03-10 13:05:36,825 - INFO - we take 791 photos in this while loop
MAIN: 2025-03-10 13:05:36,826 - INFO - /home/pi/Desktop/images/10032025/13/05/image_10032025_13_05_36_29813.jpg
MAIN: 2025-03-10 13:05:36,826 - INFO - duration: 0.6892644270010351
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 13:06: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:06:07,184 - INFO - taking picture
MAIN: 2025-03-10 13:06:07,184 - INFO - we take 792 photos in this while loop
MAIN: 2025-03-10 13:06:07,185 - INFO - /home/pi/Desktop/images/10032025/13/05/image_10032025_13_06_06_30383.jpg
MAIN: 2025-03-10 13:06:07,185 - INFO - duration: 0.6651231249998091
MAIN: 2025-03-10 13:06:07,185 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/06'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:06:36,980 - INFO - taking picture
MAIN: 2025-03-10 13:06:36,981 - INFO - we take 793 photos in this while loop
MAIN: 2025-03-10 13:06:36,981 - INFO - /home/pi/Desktop/images/10032025/13/06/image_10032025_13_06_36_29757.jpg
MAIN: 2025-03-10 13:06:36,981 - INFO - duration: 0.7036994269983552
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:07:05,528 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:07:07,250 - INFO - taking picture
MAIN: 2025-03-10 13:07:07,250 - INFO - we take 794 photos in this while loop
MAIN: 2025-03-10 13:07:07,250 - INFO - /home/pi/Desktop/images/10032025/13/06/image_10032025_13_07_06_30287.jpg
MAIN: 2025-03-10 13:07:07,250 - INFO - duration: 0.6856896870012861
MAIN: 2025-03-10 13:07:07,251 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:07:36,934 - INFO - taking picture
MAIN: 2025-03-10 13:07:36,934 - INFO - we take 795 photos in this while loop
MAIN: 2025-03-10 13:07:36,935 - INFO - /home/pi/Desktop/images/10032025/13/07/image_10032025_13_07_36_29668.jpg
MAIN: 2025-03-10 13:07:36,935 - INFO - duration: 0.7012160419981228
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:08: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:08:06,925 - INFO - taking picture
MAIN: 2025-03-10 13:08:06,925 - INFO - we take 796 photos in this while loop
MAIN: 2025-03-10 13:08:06,926 - INFO - /home/pi/Desktop/images/10032025/13/07/image_10032025_13_08_06_30036.jpg
MAIN: 2025-03-10 13:08:06,926 - INFO - duration: 0.6558264580016839
MAIN: 2025-03-10 13:08:06,926 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/08'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:08:36,623 - INFO - taking picture
MAIN: 2025-03-10 13:08:36,623 - INFO - we take 797 photos in this while loop
MAIN: 2025-03-10 13:08:36,623 - INFO - /home/pi/Desktop/images/10032025/13/08/image_10032025_13_08_36_29636.jpg
MAIN: 2025-03-10 13:08:36,624 - INFO - duration: 0.7167469790001633
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:09: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:09:06,698 - INFO - taking picture
MAIN: 2025-03-10 13:09:06,698 - INFO - we take 798 photos in this while loop
MAIN: 2025-03-10 13:09:06,699 - INFO - /home/pi/Desktop/images/10032025/13/08/image_10032025_13_09_06_30132.jpg
MAIN: 2025-03-10 13:09:06,699 - INFO - duration: 0.6599639059968467
MAIN: 2025-03-10 13:09:06,699 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/09'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:09:36,649 - INFO - taking picture
MAIN: 2025-03-10 13:09:36,649 - INFO - we take 799 photos in this while loop
MAIN: 2025-03-10 13:09:36,649 - INFO - /home/pi/Desktop/images/10032025/13/09/image_10032025_13_09_36_29906.jpg
MAIN: 2025-03-10 13:09:36,650 - INFO - duration: 0.7040427600004477
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:10: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 ! 
MAIN: 2025-03-10 13:10:07,049 - INFO - taking picture
MAIN: 2025-03-10 13:10:07,050 - INFO - we take 800 photos in this while loop
MAIN: 2025-03-10 13:10:07,050 - INFO - /home/pi/Desktop/images/10032025/13/09/image_10032025_13_10_06_30386.jpg
MAIN: 2025-03-10 13:10:07,051 - INFO - duration: 0.7188072390017624
MAIN: 2025-03-10 13:10:07,052 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:10:36,706 - INFO - taking picture
MAIN: 2025-03-10 13:10:36,707 - INFO - we take 801 photos in this while loop
MAIN: 2025-03-10 13:10:36,707 - INFO - /home/pi/Desktop/images/10032025/13/10/image_10032025_13_10_36_29673.jpg
MAIN: 2025-03-10 13:10:36,707 - INFO - duration: 0.7019427079976595
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:11:06,367 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:11:06,935 - INFO - taking picture
MAIN: 2025-03-10 13:11:06,936 - INFO - we take 802 photos in this while loop
MAIN: 2025-03-10 13:11:06,936 - INFO - /home/pi/Desktop/images/10032025/13/10/image_10032025_13_11_06_30203.jpg
MAIN: 2025-03-10 13:11:06,936 - INFO - duration: 0.7279449470006512
MAIN: 2025-03-10 13:11:06,937 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/11'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:11:36,747 - INFO - taking picture
MAIN: 2025-03-10 13:11:36,747 - INFO - we take 803 photos in this while loop
MAIN: 2025-03-10 13:11:36,748 - INFO - /home/pi/Desktop/images/10032025/13/11/image_10032025_13_11_36_29824.jpg
MAIN: 2025-03-10 13:11:36,748 - INFO - duration: 0.7152117699988594
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:12: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 ! 
MAIN: 2025-03-10 13:12:07,043 - INFO - taking picture
MAIN: 2025-03-10 13:12:07,043 - INFO - we take 804 photos in this while loop
MAIN: 2025-03-10 13:12:07,044 - INFO - /home/pi/Desktop/images/10032025/13/11/image_10032025_13_12_06_30296.jpg
MAIN: 2025-03-10 13:12:07,044 - INFO - duration: 0.7148447910003597
MAIN: 2025-03-10 13:12:07,044 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:12:36,781 - INFO - taking picture
MAIN: 2025-03-10 13:12:36,782 - INFO - we take 805 photos in this while loop
MAIN: 2025-03-10 13:12:36,782 - INFO - /home/pi/Desktop/images/10032025/13/12/image_10032025_13_12_36_29753.jpg
MAIN: 2025-03-10 13:12:36,782 - INFO - duration: 0.6999522920013987
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:13: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:13:06,949 - INFO - taking picture
MAIN: 2025-03-10 13:13:06,950 - INFO - we take 806 photos in this while loop
MAIN: 2025-03-10 13:13:06,950 - INFO - /home/pi/Desktop/images/10032025/13/12/image_10032025_13_13_06_30174.jpg
MAIN: 2025-03-10 13:13:06,950 - INFO - duration: 0.6934507810001378
MAIN: 2025-03-10 13:13:06,951 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:13:36,652 - INFO - taking picture
MAIN: 2025-03-10 13:13:36,653 - INFO - we take 807 photos in this while loop
MAIN: 2025-03-10 13:13:36,653 - INFO - /home/pi/Desktop/images/10032025/13/13/image_10032025_13_13_36_29691.jpg
MAIN: 2025-03-10 13:13:36,653 - INFO - duration: 0.70464541599722
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:14:06,040 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:14:06,749 - INFO - taking picture
MAIN: 2025-03-10 13:14:06,749 - INFO - we take 808 photos in this while loop
MAIN: 2025-03-10 13:14:06,749 - INFO - /home/pi/Desktop/images/10032025/13/13/image_10032025_13_14_06_30090.jpg
MAIN: 2025-03-10 13:14:06,750 - INFO - duration: 0.710395467998751
MAIN: 2025-03-10 13:14:06,750 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:14:36,400 - INFO - taking picture
MAIN: 2025-03-10 13:14:36,401 - INFO - we take 809 photos in this while loop
MAIN: 2025-03-10 13:14:36,401 - INFO - /home/pi/Desktop/images/10032025/13/14/image_10032025_13_14_36_29685.jpg
MAIN: 2025-03-10 13:14:36,401 - INFO - duration: 0.6758950519979408
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:15: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-10 13:15:06,355 - INFO - taking picture
MAIN: 2025-03-10 13:15:06,356 - INFO - we take 810 photos in this while loop
MAIN: 2025-03-10 13:15:06,356 - INFO - /home/pi/Desktop/images/10032025/13/14/image_10032025_13_15_05_29937.jpg
MAIN: 2025-03-10 13:15:06,356 - INFO - duration: 0.6942486459993233
MAIN: 2025-03-10 13:15:06,357 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/15'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:15:37,418 - INFO - taking picture
MAIN: 2025-03-10 13:15:37,419 - INFO - we take 811 photos in this while loop
MAIN: 2025-03-10 13:15:37,419 - INFO - /home/pi/Desktop/images/10032025/13/15/image_10032025_13_15_37_31051.jpg
MAIN: 2025-03-10 13:15:37,419 - INFO - duration: 0.705475833001401
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:16:06,648 - INFO - taking picture
MAIN: 2025-03-10 13:16:06,648 - INFO - we take 812 photos in this while loop
MAIN: 2025-03-10 13:16:06,648 - INFO - /home/pi/Desktop/images/10032025/13/15/image_10032025_13_16_06_29225.jpg
MAIN: 2025-03-10 13:16:06,649 - INFO - duration: 0.709601823000412
MAIN: 2025-03-10 13:16:06,649 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/16'
MAIN: 2025-03-10 13:16: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:16:36,516 - INFO - taking picture
MAIN: 2025-03-10 13:16:36,517 - INFO - we take 813 photos in this while loop
MAIN: 2025-03-10 13:16:36,517 - INFO - /home/pi/Desktop/images/10032025/13/16/image_10032025_13_16_36_29877.jpg
MAIN: 2025-03-10 13:16:36,517 - INFO - duration: 0.7006910939999216
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:17: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 ! 
MAIN: 2025-03-10 13:17:06,677 - INFO - taking picture
MAIN: 2025-03-10 13:17:06,678 - INFO - we take 814 photos in this while loop
MAIN: 2025-03-10 13:17:06,678 - INFO - /home/pi/Desktop/images/10032025/13/16/image_10032025_13_17_06_30162.jpg
MAIN: 2025-03-10 13:17:06,679 - INFO - duration: 0.6990383329975884
MAIN: 2025-03-10 13:17:06,679 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/17'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:17:36,384 - INFO - taking picture
MAIN: 2025-03-10 13:17:36,385 - INFO - we take 815 photos in this while loop
MAIN: 2025-03-10 13:17:36,385 - INFO - /home/pi/Desktop/images/10032025/13/17/image_10032025_13_17_36_29729.jpg
MAIN: 2025-03-10 13:17:36,385 - INFO - duration: 0.6761767190000683
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:18:05,983 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:18:06,624 - INFO - taking picture
MAIN: 2025-03-10 13:18:06,624 - INFO - we take 816 photos in this while loop
MAIN: 2025-03-10 13:18:06,625 - INFO - /home/pi/Desktop/images/10032025/13/17/image_10032025_13_18_06_30198.jpg
MAIN: 2025-03-10 13:18:06,625 - INFO - duration: 0.7180838540007244
MAIN: 2025-03-10 13:18:06,625 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:18:36,323 - INFO - taking picture
MAIN: 2025-03-10 13:18:36,324 - INFO - we take 817 photos in this while loop
MAIN: 2025-03-10 13:18:36,324 - INFO - /home/pi/Desktop/images/10032025/13/18/image_10032025_13_18_35_29715.jpg
MAIN: 2025-03-10 13:18:36,324 - INFO - duration: 0.7023759369985783
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:19: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:19:06,467 - INFO - taking picture
MAIN: 2025-03-10 13:19:06,467 - INFO - we take 818 photos in this while loop
MAIN: 2025-03-10 13:19:06,467 - INFO - /home/pi/Desktop/images/10032025/13/18/image_10032025_13_19_06_30127.jpg
MAIN: 2025-03-10 13:19:06,468 - INFO - duration: 0.7182549999997718
MAIN: 2025-03-10 13:19:06,468 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/19'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:19:36,287 - INFO - taking picture
MAIN: 2025-03-10 13:19:36,287 - INFO - we take 819 photos in this while loop
MAIN: 2025-03-10 13:19:36,287 - INFO - /home/pi/Desktop/images/10032025/13/19/image_10032025_13_19_35_29829.jpg
MAIN: 2025-03-10 13:19:36,288 - INFO - duration: 0.7089817189989844
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:20:06,835 - INFO - taking picture
MAIN: 2025-03-10 13:20:06,836 - INFO - we take 820 photos in this while loop
MAIN: 2025-03-10 13:20:06,836 - INFO - /home/pi/Desktop/images/10032025/13/19/image_10032025_13_20_06_30566.jpg
MAIN: 2025-03-10 13:20:06,836 - INFO - duration: 0.6913981760008028
MAIN: 2025-03-10 13:20:06,837 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/20'
MAIN: 2025-03-10 13:20:07,028 - INFO - cam.read() return no image
Will output and 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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:20:36,533 - INFO - taking picture
MAIN: 2025-03-10 13:20:36,534 - INFO - we take 821 photos in this while loop
MAIN: 2025-03-10 13:20:36,534 - INFO - /home/pi/Desktop/images/10032025/13/20/image_10032025_13_20_36_29681.jpg
MAIN: 2025-03-10 13:20:36,534 - INFO - duration: 0.7076648959991871
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:21:06,623 - INFO - cam.read() 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-10 13:21:06,756 - INFO - taking picture
MAIN: 2025-03-10 13:21:06,757 - INFO - we take 822 photos in this while loop
MAIN: 2025-03-10 13:21:06,757 - INFO - /home/pi/Desktop/images/10032025/13/20/image_10032025_13_21_06_30219.jpg
MAIN: 2025-03-10 13:21:06,757 - INFO - duration: 0.7108986979983456
MAIN: 2025-03-10 13:21:06,758 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:21:36,534 - INFO - taking picture
MAIN: 2025-03-10 13:21:36,535 - INFO - we take 823 photos in this while loop
MAIN: 2025-03-10 13:21:36,535 - INFO - /home/pi/Desktop/images/10032025/13/21/image_10032025_13_21_36_29780.jpg
MAIN: 2025-03-10 13:21:36,535 - INFO - duration: 0.7079779170016991
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:22:05,951 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:22:06,636 - INFO - taking picture
MAIN: 2025-03-10 13:22:06,637 - INFO - we take 824 photos in this while loop
MAIN: 2025-03-10 13:22:06,637 - INFO - /home/pi/Desktop/images/10032025/13/21/image_10032025_13_22_06_30104.jpg
MAIN: 2025-03-10 13:22:06,637 - INFO - duration: 0.7054178120015422
MAIN: 2025-03-10 13:22:06,638 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:22:36,285 - INFO - taking picture
MAIN: 2025-03-10 13:22:36,285 - INFO - we take 825 photos in this while loop
MAIN: 2025-03-10 13:22:36,285 - INFO - /home/pi/Desktop/images/10032025/13/22/image_10032025_13_22_35_29664.jpg
MAIN: 2025-03-10 13:22:36,286 - INFO - duration: 0.6891997919992718
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:23:06,489 - INFO - taking picture
MAIN: 2025-03-10 13:23:06,489 - INFO - we take 826 photos in this while loop
MAIN: 2025-03-10 13:23:06,489 - INFO - /home/pi/Desktop/images/10032025/13/22/image_10032025_13_23_06_30191.jpg
MAIN: 2025-03-10 13:23:06,490 - INFO - duration: 0.7021549480014073
MAIN: 2025-03-10 13:23:06,490 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:23:37,477 - INFO - taking picture
MAIN: 2025-03-10 13:23:37,478 - INFO - we take 827 photos in this while loop
MAIN: 2025-03-10 13:23:37,478 - INFO - /home/pi/Desktop/images/10032025/13/23/image_10032025_13_23_37_31000.jpg
MAIN: 2025-03-10 13:23:37,478 - INFO - duration: 0.6902086450027127
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:24:06,057 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:24:06,679 - INFO - taking picture
MAIN: 2025-03-10 13:24:06,680 - INFO - we take 828 photos in this while loop
MAIN: 2025-03-10 13:24:06,680 - INFO - /home/pi/Desktop/images/10032025/13/23/image_10032025_13_24_06_29166.jpg
MAIN: 2025-03-10 13:24:06,680 - INFO - duration: 0.7258906770002795
MAIN: 2025-03-10 13:24:06,680 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:24:36,439 - INFO - taking picture
MAIN: 2025-03-10 13:24:36,440 - INFO - we take 829 photos in this while loop
MAIN: 2025-03-10 13:24:36,440 - INFO - /home/pi/Desktop/images/10032025/13/24/image_10032025_13_24_36_29780.jpg
MAIN: 2025-03-10 13:24:36,440 - INFO - duration: 0.7054943750008533
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:25:06,709 - INFO - cam.read() 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-10 13:25:06,755 - INFO - taking picture
MAIN: 2025-03-10 13:25:06,756 - INFO - we take 830 photos in this while loop
MAIN: 2025-03-10 13:25:06,756 - INFO - /home/pi/Desktop/images/10032025/13/24/image_10032025_13_25_06_30329.jpg
MAIN: 2025-03-10 13:25:06,757 - INFO - duration: 0.6926810939985444
MAIN: 2025-03-10 13:25:06,757 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:25:36,408 - INFO - taking picture
MAIN: 2025-03-10 13:25:36,409 - INFO - we take 831 photos in this while loop
MAIN: 2025-03-10 13:25:36,409 - INFO - /home/pi/Desktop/images/10032025/13/25/image_10032025_13_25_36_29649.jpg
MAIN: 2025-03-10 13:25:36,409 - INFO - duration: 0.695466821998707
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:26:06,870 - INFO - taking picture
MAIN: 2025-03-10 13:26:06,871 - INFO - we take 832 photos in this while loop
MAIN: 2025-03-10 13:26:06,871 - INFO - /home/pi/Desktop/images/10032025/13/25/image_10032025_13_26_06_30468.jpg
MAIN: 2025-03-10 13:26:06,871 - INFO - duration: 0.6887184890001663
MAIN: 2025-03-10 13:26:06,871 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/26'
MAIN: 2025-03-10 13:26:07,148 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:26:36,644 - INFO - taking picture
MAIN: 2025-03-10 13:26:36,645 - INFO - we take 833 photos in this while loop
MAIN: 2025-03-10 13:26:36,645 - INFO - /home/pi/Desktop/images/10032025/13/26/image_10032025_13_26_36_29759.jpg
MAIN: 2025-03-10 13:26:36,645 - INFO - duration: 0.703152083002351
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:27: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:27:06,940 - INFO - taking picture
MAIN: 2025-03-10 13:27:06,940 - INFO - we take 834 photos in this while loop
MAIN: 2025-03-10 13:27:06,940 - INFO - /home/pi/Desktop/images/10032025/13/26/image_10032025_13_27_06_30282.jpg
MAIN: 2025-03-10 13:27:06,941 - INFO - duration: 0.715975676997914
MAIN: 2025-03-10 13:27:06,941 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/27'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:27:36,772 - INFO - taking picture
MAIN: 2025-03-10 13:27:36,773 - INFO - we take 835 photos in this while loop
MAIN: 2025-03-10 13:27:36,773 - INFO - /home/pi/Desktop/images/10032025/13/27/image_10032025_13_27_36_29830.jpg
MAIN: 2025-03-10 13:27:36,773 - INFO - duration: 0.7180230209996807
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:28:06,119 - INFO - cam.read() return no image
Will output and 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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:28:06,981 - INFO - taking picture
MAIN: 2025-03-10 13:28:06,982 - INFO - we take 836 photos in this while loop
MAIN: 2025-03-10 13:28:06,982 - INFO - /home/pi/Desktop/images/10032025/13/27/image_10032025_13_28_06_30282.jpg
MAIN: 2025-03-10 13:28:06,982 - INFO - duration: 0.6446611979990848
MAIN: 2025-03-10 13:28:06,983 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:28:36,655 - INFO - taking picture
MAIN: 2025-03-10 13:28:36,655 - INFO - we take 837 photos in this while loop
MAIN: 2025-03-10 13:28:36,656 - INFO - /home/pi/Desktop/images/10032025/13/28/image_10032025_13_28_36_29614.jpg
MAIN: 2025-03-10 13:28:36,656 - INFO - duration: 0.7039135939994594
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:29: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:29:06,755 - INFO - taking picture
MAIN: 2025-03-10 13:29:06,756 - INFO - we take 838 photos in this while loop
MAIN: 2025-03-10 13:29:06,756 - INFO - /home/pi/Desktop/images/10032025/13/28/image_10032025_13_29_06_30157.jpg
MAIN: 2025-03-10 13:29:06,756 - INFO - duration: 0.6464973959991767
MAIN: 2025-03-10 13:29:06,757 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:29:36,438 - INFO - taking picture
MAIN: 2025-03-10 13:29:36,438 - INFO - we take 839 photos in this while loop
MAIN: 2025-03-10 13:29:36,439 - INFO - /home/pi/Desktop/images/10032025/13/29/image_10032025_13_29_36_29647.jpg
MAIN: 2025-03-10 13:29:36,439 - INFO - duration: 0.6817119269981049
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:30:06,810 - INFO - taking picture
MAIN: 2025-03-10 13:30:06,811 - INFO - we take 840 photos in this while loop
MAIN: 2025-03-10 13:30:06,811 - INFO - /home/pi/Desktop/images/10032025/13/29/image_10032025_13_30_06_30368.jpg
MAIN: 2025-03-10 13:30:06,811 - INFO - duration: 0.6857277079980122
MAIN: 2025-03-10 13:30:06,812 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/30'
MAIN: 2025-03-10 13:30: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:30:36,494 - INFO - taking picture
MAIN: 2025-03-10 13:30:36,494 - INFO - we take 841 photos in this while loop
MAIN: 2025-03-10 13:30:36,494 - INFO - /home/pi/Desktop/images/10032025/13/30/image_10032025_13_30_36_29662.jpg
MAIN: 2025-03-10 13:30:36,494 - INFO - duration: 0.7067014580024988
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:31: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:31:06,731 - INFO - taking picture
MAIN: 2025-03-10 13:31:06,731 - INFO - we take 842 photos in this while loop
MAIN: 2025-03-10 13:31:06,732 - INFO - /home/pi/Desktop/images/10032025/13/30/image_10032025_13_31_06_30216.jpg
MAIN: 2025-03-10 13:31:06,732 - INFO - duration: 0.7277614579979854
MAIN: 2025-03-10 13:31:06,732 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:31:36,491 - INFO - taking picture
MAIN: 2025-03-10 13:31:36,491 - INFO - we take 843 photos in this while loop
MAIN: 2025-03-10 13:31:36,492 - INFO - /home/pi/Desktop/images/10032025/13/31/image_10032025_13_31_36_29780.jpg
MAIN: 2025-03-10 13:31:36,492 - INFO - duration: 0.7070864579982299
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:32:06,668 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 13:32:06,738 - INFO - taking picture
MAIN: 2025-03-10 13:32:06,739 - INFO - we take 844 photos in this while loop
MAIN: 2025-03-10 13:32:06,739 - INFO - /home/pi/Desktop/images/10032025/13/31/image_10032025_13_32_06_30241.jpg
MAIN: 2025-03-10 13:32:06,739 - INFO - duration: 0.7131954690012208
MAIN: 2025-03-10 13:32:06,740 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:32:36,510 - INFO - taking picture
MAIN: 2025-03-10 13:32:36,511 - INFO - we take 845 photos in this while loop
MAIN: 2025-03-10 13:32:36,511 - INFO - /home/pi/Desktop/images/10032025/13/32/image_10032025_13_32_36_29776.jpg
MAIN: 2025-03-10 13:32:36,511 - INFO - duration: 0.7090858330011542
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:33:05,490 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:33:06,570 - INFO - taking picture
MAIN: 2025-03-10 13:33:06,571 - INFO - we take 846 photos in this while loop
MAIN: 2025-03-10 13:33:06,571 - INFO - /home/pi/Desktop/images/10032025/13/32/image_10032025_13_33_06_30118.jpg
MAIN: 2025-03-10 13:33:06,571 - INFO - duration: 0.6502521879992855
MAIN: 2025-03-10 13:33:06,572 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:33:36,404 - INFO - taking picture
MAIN: 2025-03-10 13:33:36,405 - INFO - we take 847 photos in this while loop
MAIN: 2025-03-10 13:33:36,405 - INFO - /home/pi/Desktop/images/10032025/13/33/image_10032025_13_33_36_29780.jpg
MAIN: 2025-03-10 13:33:36,405 - INFO - duration: 0.703754062000371
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:34: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 ! 
MAIN: 2025-03-10 13:34:06,701 - INFO - taking picture
MAIN: 2025-03-10 13:34:06,701 - INFO - we take 848 photos in this while loop
MAIN: 2025-03-10 13:34:06,702 - INFO - /home/pi/Desktop/images/10032025/13/33/image_10032025_13_34_06_30306.jpg
MAIN: 2025-03-10 13:34:06,702 - INFO - duration: 0.6942319779991522
MAIN: 2025-03-10 13:34:06,702 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/34'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:34:36,384 - INFO - taking picture
MAIN: 2025-03-10 13:34:36,384 - INFO - we take 849 photos in this while loop
MAIN: 2025-03-10 13:34:36,385 - INFO - /home/pi/Desktop/images/10032025/13/34/image_10032025_13_34_36_29676.jpg
MAIN: 2025-03-10 13:34:36,385 - INFO - duration: 0.7007660939998459
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:35: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-10 13:35:06,872 - INFO - taking picture
MAIN: 2025-03-10 13:35:06,873 - INFO - we take 850 photos in this while loop
MAIN: 2025-03-10 13:35:06,874 - INFO - /home/pi/Desktop/images/10032025/13/34/image_10032025_13_35_06_30498.jpg
MAIN: 2025-03-10 13:35:06,875 - INFO - duration: 0.6920730720012216
MAIN: 2025-03-10 13:35:06,876 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:35:36,565 - INFO - taking picture
MAIN: 2025-03-10 13:35:36,566 - INFO - we take 851 photos in this while loop
MAIN: 2025-03-10 13:35:36,566 - INFO - /home/pi/Desktop/images/10032025/13/35/image_10032025_13_35_36_29671.jpg
MAIN: 2025-03-10 13:35:36,566 - INFO - duration: 0.7115809890019591
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:36:06,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 ! 
MAIN: 2025-03-10 13:36:07,082 - INFO - taking picture
MAIN: 2025-03-10 13:36:07,083 - INFO - we take 852 photos in this while loop
MAIN: 2025-03-10 13:36:07,083 - INFO - /home/pi/Desktop/images/10032025/13/35/image_10032025_13_36_06_30523.jpg
MAIN: 2025-03-10 13:36:07,083 - INFO - duration: 0.7052064060007979
MAIN: 2025-03-10 13:36:07,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/36'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:36:36,785 - INFO - taking picture
MAIN: 2025-03-10 13:36:36,786 - INFO - we take 853 photos in this while loop
MAIN: 2025-03-10 13:36:36,786 - INFO - /home/pi/Desktop/images/10032025/13/36/image_10032025_13_36_36_29723.jpg
MAIN: 2025-03-10 13:36:36,786 - INFO - duration: 0.6840441659951466
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:37:05,448 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:37:06,678 - INFO - taking picture
MAIN: 2025-03-10 13:37:06,678 - INFO - we take 854 photos in this while loop
MAIN: 2025-03-10 13:37:06,678 - INFO - /home/pi/Desktop/images/10032025/13/36/image_10032025_13_37_06_29900.jpg
MAIN: 2025-03-10 13:37:06,679 - INFO - duration: 0.675655833001656
MAIN: 2025-03-10 13:37:06,679 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:37:37,557 - INFO - taking picture
MAIN: 2025-03-10 13:37:37,558 - INFO - we take 855 photos in this while loop
MAIN: 2025-03-10 13:37:37,558 - INFO - /home/pi/Desktop/images/10032025/13/37/image_10032025_13_37_37_30848.jpg
MAIN: 2025-03-10 13:37:37,558 - INFO - duration: 0.7065563540018047
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:38:06,199 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 13:38:06,592 - INFO - taking picture
MAIN: 2025-03-10 13:38:06,593 - INFO - we take 856 photos in this while loop
MAIN: 2025-03-10 13:38:06,593 - INFO - /home/pi/Desktop/images/10032025/13/37/image_10032025_13_38_06_29026.jpg
MAIN: 2025-03-10 13:38:06,593 - INFO - duration: 0.7153790099982871
MAIN: 2025-03-10 13:38:06,594 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/38'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:38:36,409 - INFO - taking picture
MAIN: 2025-03-10 13:38:36,409 - INFO - we take 857 photos in this while loop
MAIN: 2025-03-10 13:38:36,410 - INFO - /home/pi/Desktop/images/10032025/13/38/image_10032025_13_38_36_29820.jpg
MAIN: 2025-03-10 13:38:36,410 - INFO - duration: 0.7110576039995067
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:39:06,292 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:39:06,699 - INFO - taking picture
MAIN: 2025-03-10 13:39:06,699 - INFO - we take 858 photos in this while loop
MAIN: 2025-03-10 13:39:06,699 - INFO - /home/pi/Desktop/images/10032025/13/38/image_10032025_13_39_06_30272.jpg
MAIN: 2025-03-10 13:39:06,700 - INFO - duration: 0.7282544270055951
MAIN: 2025-03-10 13:39:06,700 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:39:36,364 - INFO - taking picture
MAIN: 2025-03-10 13:39:36,365 - INFO - we take 859 photos in this while loop
MAIN: 2025-03-10 13:39:36,365 - INFO - /home/pi/Desktop/images/10032025/13/39/image_10032025_13_39_35_29706.jpg
MAIN: 2025-03-10 13:39:36,365 - INFO - duration: 0.6873665630046162
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:40:06,883 - INFO - taking picture
MAIN: 2025-03-10 13:40:06,883 - INFO - we take 860 photos in this while loop
MAIN: 2025-03-10 13:40:06,884 - INFO - /home/pi/Desktop/images/10032025/13/39/image_10032025_13_40_06_30504.jpg
MAIN: 2025-03-10 13:40:06,884 - INFO - duration: 0.7014580719987862
MAIN: 2025-03-10 13:40:06,884 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/40'
MAIN: 2025-03-10 13:40:07,385 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:40:36,524 - INFO - taking picture
MAIN: 2025-03-10 13:40:36,524 - INFO - we take 861 photos in this while loop
MAIN: 2025-03-10 13:40:36,525 - INFO - /home/pi/Desktop/images/10032025/13/40/image_10032025_13_40_36_29659.jpg
MAIN: 2025-03-10 13:40:36,525 - INFO - duration: 0.683112134996918
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:41: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 ! 
MAIN: 2025-03-10 13:41:06,710 - INFO - taking picture
MAIN: 2025-03-10 13:41:06,711 - INFO - we take 862 photos in this while loop
MAIN: 2025-03-10 13:41:06,711 - INFO - /home/pi/Desktop/images/10032025/13/40/image_10032025_13_41_06_30195.jpg
MAIN: 2025-03-10 13:41:06,711 - INFO - duration: 0.6745205210027052
MAIN: 2025-03-10 13:41:06,712 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:41:36,401 - INFO - taking picture
MAIN: 2025-03-10 13:41:36,401 - INFO - we take 863 photos in this while loop
MAIN: 2025-03-10 13:41:36,402 - INFO - /home/pi/Desktop/images/10032025/13/41/image_10032025_13_41_36_29663.jpg
MAIN: 2025-03-10 13:41:36,402 - INFO - duration: 0.7017466139950557
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:42:06,578 - INFO - taking picture
MAIN: 2025-03-10 13:42:06,579 - INFO - we take 864 photos in this while loop
MAIN: 2025-03-10 13:42:06,579 - INFO - /home/pi/Desktop/images/10032025/13/41/image_10032025_13_42_06_30201.jpg
MAIN: 2025-03-10 13:42:06,579 - INFO - duration: 0.6777230730003794
MAIN: 2025-03-10 13:42:06,579 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/42'
MAIN: 2025-03-10 13:42: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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:42:36,292 - INFO - taking picture
MAIN: 2025-03-10 13:42:36,292 - INFO - we take 865 photos in this while loop
MAIN: 2025-03-10 13:42:36,293 - INFO - /home/pi/Desktop/images/10032025/13/42/image_10032025_13_42_35_29714.jpg
MAIN: 2025-03-10 13:42:36,293 - INFO - duration: 0.6772277089985437
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:43:05,620 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:43:07,347 - INFO - taking picture
MAIN: 2025-03-10 13:43:07,348 - INFO - we take 866 photos in this while loop
MAIN: 2025-03-10 13:43:07,348 - INFO - /home/pi/Desktop/images/10032025/13/42/image_10032025_13_43_06_31055.jpg
MAIN: 2025-03-10 13:43:07,348 - INFO - duration: 0.676822916000674
MAIN: 2025-03-10 13:43:07,349 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/43'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:43:36,982 - INFO - taking picture
MAIN: 2025-03-10 13:43:36,983 - INFO - we take 867 photos in this while loop
MAIN: 2025-03-10 13:43:36,983 - INFO - /home/pi/Desktop/images/10032025/13/43/image_10032025_13_43_36_29639.jpg
MAIN: 2025-03-10 13:43:36,983 - INFO - duration: 0.672450519996346
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:44:06,308 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:44:07,000 - INFO - taking picture
MAIN: 2025-03-10 13:44:07,000 - INFO - we take 868 photos in this while loop
MAIN: 2025-03-10 13:44:07,000 - INFO - /home/pi/Desktop/images/10032025/13/43/image_10032025_13_44_06_29984.jpg
MAIN: 2025-03-10 13:44:07,001 - INFO - duration: 0.7048818229959579
MAIN: 2025-03-10 13:44:07,001 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/44'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:44:36,713 - INFO - taking picture
MAIN: 2025-03-10 13:44:36,714 - INFO - we take 869 photos in this while loop
MAIN: 2025-03-10 13:44:36,714 - INFO - /home/pi/Desktop/images/10032025/13/44/image_10032025_13_44_36_29720.jpg
MAIN: 2025-03-10 13:44:36,714 - INFO - duration: 0.6978392699966207
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:45:06,606 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 13:45:06,989 - INFO - taking picture
MAIN: 2025-03-10 13:45:06,990 - INFO - we take 870 photos in this while loop
MAIN: 2025-03-10 13:45:06,990 - INFO - /home/pi/Desktop/images/10032025/13/44/image_10032025_13_45_06_30273.jpg
MAIN: 2025-03-10 13:45:06,990 - INFO - duration: 0.6997575510031311
MAIN: 2025-03-10 13:45:06,991 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/45'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:45:36,540 - INFO - taking picture
MAIN: 2025-03-10 13:45:36,541 - INFO - we take 871 photos in this while loop
MAIN: 2025-03-10 13:45:36,541 - INFO - /home/pi/Desktop/images/10032025/13/45/image_10032025_13_45_36_29575.jpg
MAIN: 2025-03-10 13:45:36,541 - INFO - duration: 0.6748551040000166
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:46:06,812 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 13:46:06,889 - INFO - taking picture
MAIN: 2025-03-10 13:46:06,889 - INFO - we take 872 photos in this while loop
MAIN: 2025-03-10 13:46:06,890 - INFO - /home/pi/Desktop/images/10032025/13/45/image_10032025_13_46_06_30330.jpg
MAIN: 2025-03-10 13:46:06,890 - INFO - duration: 0.6929805720064905
MAIN: 2025-03-10 13:46:06,890 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:46:36,500 - INFO - taking picture
MAIN: 2025-03-10 13:46:36,501 - INFO - we take 873 photos in this while loop
MAIN: 2025-03-10 13:46:36,501 - INFO - /home/pi/Desktop/images/10032025/13/46/image_10032025_13_46_36_29604.jpg
MAIN: 2025-03-10 13:46:36,501 - INFO - duration: 0.6999364580042311
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:47:06,595 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 13:47:06,652 - INFO - taking picture
MAIN: 2025-03-10 13:47:06,653 - INFO - we take 874 photos in this while loop
MAIN: 2025-03-10 13:47:06,653 - INFO - /home/pi/Desktop/images/10032025/13/46/image_10032025_13_47_06_30160.jpg
MAIN: 2025-03-10 13:47:06,653 - INFO - duration: 0.6914943230003701
MAIN: 2025-03-10 13:47:06,654 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:47:36,392 - INFO - taking picture
MAIN: 2025-03-10 13:47:36,393 - INFO - we take 875 photos in this while loop
MAIN: 2025-03-10 13:47:36,393 - INFO - /home/pi/Desktop/images/10032025/13/47/image_10032025_13_47_36_29732.jpg
MAIN: 2025-03-10 13:47:36,393 - INFO - duration: 0.6985866149989306
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:48:06,208 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:48:06,630 - INFO - taking picture
MAIN: 2025-03-10 13:48:06,631 - INFO - we take 876 photos in this while loop
MAIN: 2025-03-10 13:48:06,631 - INFO - /home/pi/Desktop/images/10032025/13/47/image_10032025_13_48_06_30210.jpg
MAIN: 2025-03-10 13:48:06,631 - INFO - duration: 0.7265463540024939
MAIN: 2025-03-10 13:48:06,632 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/48'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:48:36,289 - INFO - taking picture
MAIN: 2025-03-10 13:48:36,289 - INFO - we take 877 photos in this while loop
MAIN: 2025-03-10 13:48:36,289 - INFO - /home/pi/Desktop/images/10032025/13/48/image_10032025_13_48_35_29688.jpg
MAIN: 2025-03-10 13:48:36,290 - INFO - duration: 0.6965852080029435
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:49:05,727 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:49:06,308 - INFO - taking picture
MAIN: 2025-03-10 13:49:06,308 - INFO - we take 878 photos in this while loop
MAIN: 2025-03-10 13:49:06,308 - INFO - /home/pi/Desktop/images/10032025/13/48/image_10032025_13_49_05_30021.jpg
MAIN: 2025-03-10 13:49:06,309 - INFO - duration: 0.6941767710013664
MAIN: 2025-03-10 13:49:06,309 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/49'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:49:37,292 - INFO - taking picture
MAIN: 2025-03-10 13:49:37,293 - INFO - we take 879 photos in this while loop
MAIN: 2025-03-10 13:49:37,293 - INFO - /home/pi/Desktop/images/10032025/13/49/image_10032025_13_49_36_30990.jpg
MAIN: 2025-03-10 13:49:37,293 - INFO - duration: 0.6880439059968921
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:50:06,457 - INFO - taking picture
MAIN: 2025-03-10 13:50:06,458 - INFO - we take 880 photos in this while loop
MAIN: 2025-03-10 13:50:06,458 - INFO - /home/pi/Desktop/images/10032025/13/49/image_10032025_13_50_06_29149.jpg
MAIN: 2025-03-10 13:50:06,458 - INFO - duration: 0.7033007809950504
MAIN: 2025-03-10 13:50:06,459 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/50'
MAIN: 2025-03-10 13:50:07,199 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:50:37,355 - INFO - taking picture
MAIN: 2025-03-10 13:50:37,355 - INFO - we take 881 photos in this while loop
MAIN: 2025-03-10 13:50:37,356 - INFO - /home/pi/Desktop/images/10032025/13/50/image_10032025_13_50_36_30900.jpg
MAIN: 2025-03-10 13:50:37,356 - INFO - duration: 0.7003034369990928
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:51:06,295 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:51:07,441 - INFO - taking picture
MAIN: 2025-03-10 13:51:07,441 - INFO - we take 882 photos in this while loop
MAIN: 2025-03-10 13:51:07,442 - INFO - /home/pi/Desktop/images/10032025/13/50/image_10032025_13_51_07_30117.jpg
MAIN: 2025-03-10 13:51:07,442 - INFO - duration: 0.6690845309931319
MAIN: 2025-03-10 13:51:07,442 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:51:37,141 - INFO - taking picture
MAIN: 2025-03-10 13:51:37,142 - INFO - we take 883 photos in this while loop
MAIN: 2025-03-10 13:51:37,142 - INFO - /home/pi/Desktop/images/10032025/13/51/image_10032025_13_51_36_29670.jpg
MAIN: 2025-03-10 13:51:37,142 - INFO - duration: 0.6985273960017366
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:52: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 ! 
MAIN: 2025-03-10 13:52:07,168 - INFO - taking picture
MAIN: 2025-03-10 13:52:07,169 - INFO - we take 884 photos in this while loop
MAIN: 2025-03-10 13:52:07,169 - INFO - /home/pi/Desktop/images/10032025/13/51/image_10032025_13_52_06_30016.jpg
MAIN: 2025-03-10 13:52:07,169 - INFO - duration: 0.7091349480033386
MAIN: 2025-03-10 13:52:07,169 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:52:36,718 - INFO - taking picture
MAIN: 2025-03-10 13:52:36,718 - INFO - we take 885 photos in this while loop
MAIN: 2025-03-10 13:52:36,719 - INFO - /home/pi/Desktop/images/10032025/13/52/image_10032025_13_52_36_29554.jpg
MAIN: 2025-03-10 13:52:36,719 - INFO - duration: 0.7044151040026918
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:53: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 ! 
MAIN: 2025-03-10 13:53:06,644 - INFO - taking picture
MAIN: 2025-03-10 13:53:06,644 - INFO - we take 886 photos in this while loop
MAIN: 2025-03-10 13:53:06,645 - INFO - /home/pi/Desktop/images/10032025/13/52/image_10032025_13_53_06_29949.jpg
MAIN: 2025-03-10 13:53:06,645 - INFO - duration: 0.6809881770022912
MAIN: 2025-03-10 13:53:06,645 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/53'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:53:37,492 - INFO - taking picture
MAIN: 2025-03-10 13:53:37,493 - INFO - we take 887 photos in this while loop
MAIN: 2025-03-10 13:53:37,493 - INFO - /home/pi/Desktop/images/10032025/13/53/image_10032025_13_53_37_30833.jpg
MAIN: 2025-03-10 13:53:37,493 - INFO - duration: 0.6959571870029322
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:54:05,946 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:54:06,465 - INFO - taking picture
MAIN: 2025-03-10 13:54:06,466 - INFO - we take 888 photos in this while loop
MAIN: 2025-03-10 13:54:06,466 - INFO - /home/pi/Desktop/images/10032025/13/53/image_10032025_13_54_06_28949.jpg
MAIN: 2025-03-10 13:54:06,466 - INFO - duration: 0.7193630200054031
MAIN: 2025-03-10 13:54:06,467 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/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=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:54:37,514 - INFO - taking picture
MAIN: 2025-03-10 13:54:37,514 - INFO - we take 889 photos in this while loop
MAIN: 2025-03-10 13:54:37,514 - INFO - /home/pi/Desktop/images/10032025/13/54/image_10032025_13_54_37_31074.jpg
MAIN: 2025-03-10 13:54:37,515 - INFO - duration: 0.6932256770014646
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:55:06,606 - INFO - taking picture
MAIN: 2025-03-10 13:55:06,607 - INFO - we take 890 photos in this while loop
MAIN: 2025-03-10 13:55:06,607 - INFO - /home/pi/Desktop/images/10032025/13/54/image_10032025_13_55_06_29100.jpg
MAIN: 2025-03-10 13:55:06,607 - INFO - duration: 0.6849765619990649
MAIN: 2025-03-10 13:55:06,608 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/55'
MAIN: 2025-03-10 13:55: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:55:36,296 - INFO - taking picture
MAIN: 2025-03-10 13:55:36,297 - INFO - we take 891 photos in this while loop
MAIN: 2025-03-10 13:55:36,297 - INFO - /home/pi/Desktop/images/10032025/13/55/image_10032025_13_55_35_29672.jpg
MAIN: 2025-03-10 13:55:36,297 - INFO - duration: 0.7026322920064558
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:56:06,634 - INFO - taking picture
MAIN: 2025-03-10 13:56:06,635 - INFO - we take 892 photos in this while loop
MAIN: 2025-03-10 13:56:06,635 - INFO - /home/pi/Desktop/images/10032025/13/55/image_10032025_13_56_06_30357.jpg
MAIN: 2025-03-10 13:56:06,635 - INFO - duration: 0.6831982809962938
MAIN: 2025-03-10 13:56:06,636 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/56'
MAIN: 2025-03-10 13:56:06,636 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:56:36,259 - INFO - taking picture
MAIN: 2025-03-10 13:56:36,260 - INFO - we take 893 photos in this while loop
MAIN: 2025-03-10 13:56:36,260 - INFO - /home/pi/Desktop/images/10032025/13/56/image_10032025_13_56_35_29623.jpg
MAIN: 2025-03-10 13:56:36,260 - INFO - duration: 0.6844065619952744
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:57:06,266 - INFO - taking picture
MAIN: 2025-03-10 13:57:06,267 - INFO - we take 894 photos in this while loop
MAIN: 2025-03-10 13:57:06,267 - INFO - /home/pi/Desktop/images/10032025/13/56/image_10032025_13_57_05_30014.jpg
MAIN: 2025-03-10 13:57:06,267 - INFO - duration: 0.6769091659953119
MAIN: 2025-03-10 13:57:06,267 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/57'
MAIN: 2025-03-10 13:57: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:57:37,282 - INFO - taking picture
MAIN: 2025-03-10 13:57:37,282 - INFO - we take 895 photos in this while loop
MAIN: 2025-03-10 13:57:37,282 - INFO - /home/pi/Desktop/images/10032025/13/57/image_10032025_13_57_36_31005.jpg
MAIN: 2025-03-10 13:57:37,283 - INFO - duration: 0.6875730719984858
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:58:06,298 - INFO - taking picture
MAIN: 2025-03-10 13:58:06,299 - INFO - we take 896 photos in this while loop
MAIN: 2025-03-10 13:58:06,299 - INFO - /home/pi/Desktop/images/10032025/13/57/image_10032025_13_58_05_29059.jpg
MAIN: 2025-03-10 13:58:06,299 - INFO - duration: 0.6449847920011962
MAIN: 2025-03-10 13:58:06,299 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/58'
MAIN: 2025-03-10 13:58: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:58:37,146 - INFO - taking picture
MAIN: 2025-03-10 13:58:37,147 - INFO - we take 897 photos in this while loop
MAIN: 2025-03-10 13:58:37,147 - INFO - /home/pi/Desktop/images/10032025/13/58/image_10032025_13_58_36_30787.jpg
MAIN: 2025-03-10 13:58:37,147 - INFO - duration: 0.7053203119940008
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 13:59:05,725 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:59:07,430 - INFO - taking picture
MAIN: 2025-03-10 13:59:07,431 - INFO - we take 898 photos in this while loop
MAIN: 2025-03-10 13:59:07,431 - INFO - /home/pi/Desktop/images/10032025/13/58/image_10032025_13_59_07_30291.jpg
MAIN: 2025-03-10 13:59:07,431 - INFO - duration: 0.6978468220040668
MAIN: 2025-03-10 13:59:07,432 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/13/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 13:59:37,130 - INFO - taking picture
MAIN: 2025-03-10 13:59:37,130 - INFO - we take 899 photos in this while loop
MAIN: 2025-03-10 13:59:37,131 - INFO - /home/pi/Desktop/images/10032025/13/59/image_10032025_13_59_36_29698.jpg
MAIN: 2025-03-10 13:59:37,131 - INFO - duration: 0.6992619790034951
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:00:06,944 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:00:07,510 - INFO - taking picture
MAIN: 2025-03-10 14:00:07,511 - INFO - we take 900 photos in this while loop
MAIN: 2025-03-10 14:00:07,512 - INFO - /home/pi/Desktop/images/10032025/13/59/image_10032025_14_00_07_30372.jpg
MAIN: 2025-03-10 14:00:07,512 - INFO - duration: 0.7078120310034137
MAIN: 2025-03-10 14:00:07,513 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:00:37,170 - INFO - taking picture
MAIN: 2025-03-10 14:00:37,170 - INFO - we take 901 photos in this while loop
MAIN: 2025-03-10 14:00:37,170 - INFO - /home/pi/Desktop/images/10032025/14/00/image_10032025_14_00_36_29665.jpg
MAIN: 2025-03-10 14:00:37,170 - INFO - duration: 0.7003076559994952
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:01: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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:01:07,014 - INFO - taking picture
MAIN: 2025-03-10 14:01:07,015 - INFO - we take 902 photos in this while loop
MAIN: 2025-03-10 14:01:07,015 - INFO - /home/pi/Desktop/images/10032025/14/00/image_10032025_14_01_06_29903.jpg
MAIN: 2025-03-10 14:01:07,015 - INFO - duration: 0.6411490620012046
MAIN: 2025-03-10 14:01:07,016 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:01:36,683 - INFO - taking picture
MAIN: 2025-03-10 14:01:36,683 - INFO - we take 903 photos in this while loop
MAIN: 2025-03-10 14:01:36,683 - INFO - /home/pi/Desktop/images/10032025/14/01/image_10032025_14_01_36_29639.jpg
MAIN: 2025-03-10 14:01:36,684 - INFO - duration: 0.6702111449994845
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:02:06,714 - INFO - cam.read() 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-10 14:02:07,051 - INFO - taking picture
MAIN: 2025-03-10 14:02:07,052 - INFO - we take 904 photos in this while loop
MAIN: 2025-03-10 14:02:07,052 - INFO - /home/pi/Desktop/images/10032025/14/01/image_10032025_14_02_06_30346.jpg
MAIN: 2025-03-10 14:02:07,052 - INFO - duration: 0.6921685929992236
MAIN: 2025-03-10 14:02:07,053 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:02:36,828 - INFO - taking picture
MAIN: 2025-03-10 14:02:36,828 - INFO - we take 905 photos in this while loop
MAIN: 2025-03-10 14:02:36,828 - INFO - /home/pi/Desktop/images/10032025/14/02/image_10032025_14_02_36_29762.jpg
MAIN: 2025-03-10 14:02:36,829 - INFO - duration: 0.7064920310003799
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:03: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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:03:07,056 - INFO - taking picture
MAIN: 2025-03-10 14:03:07,056 - INFO - we take 906 photos in this while loop
MAIN: 2025-03-10 14:03:07,057 - INFO - /home/pi/Desktop/images/10032025/14/02/image_10032025_14_03_06_30221.jpg
MAIN: 2025-03-10 14:03:07,057 - INFO - duration: 0.7128303119970951
MAIN: 2025-03-10 14:03:07,057 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:03:36,724 - INFO - taking picture
MAIN: 2025-03-10 14:03:36,724 - INFO - we take 907 photos in this while loop
MAIN: 2025-03-10 14:03:36,725 - INFO - /home/pi/Desktop/images/10032025/14/03/image_10032025_14_03_36_29703.jpg
MAIN: 2025-03-10 14:03:36,725 - INFO - duration: 0.6772280730001512
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:04:05,883 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:04:06,753 - INFO - taking picture
MAIN: 2025-03-10 14:04:06,753 - INFO - we take 908 photos in this while loop
MAIN: 2025-03-10 14:04:06,753 - INFO - /home/pi/Desktop/images/10032025/14/03/image_10032025_14_04_06_30058.jpg
MAIN: 2025-03-10 14:04:06,754 - INFO - duration: 0.6471379169961438
MAIN: 2025-03-10 14:04:06,754 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:04:36,535 - INFO - taking picture
MAIN: 2025-03-10 14:04:36,536 - INFO - we take 909 photos in this while loop
MAIN: 2025-03-10 14:04:36,536 - INFO - /home/pi/Desktop/images/10032025/14/04/image_10032025_14_04_36_29722.jpg
MAIN: 2025-03-10 14:04:36,536 - INFO - duration: 0.7073203640029533
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:05: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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:05:06,915 - INFO - taking picture
MAIN: 2025-03-10 14:05:06,916 - INFO - we take 910 photos in this while loop
MAIN: 2025-03-10 14:05:06,916 - INFO - /home/pi/Desktop/images/10032025/14/04/image_10032025_14_05_06_30365.jpg
MAIN: 2025-03-10 14:05:06,916 - INFO - duration: 0.7214562490044045
MAIN: 2025-03-10 14:05:06,917 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:05:36,589 - INFO - taking picture
MAIN: 2025-03-10 14:05:36,590 - INFO - we take 911 photos in this while loop
MAIN: 2025-03-10 14:05:36,590 - INFO - /home/pi/Desktop/images/10032025/14/05/image_10032025_14_05_36_29692.jpg
MAIN: 2025-03-10 14:05:36,590 - INFO - duration: 0.7030815100006294
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:06:06,071 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:06:06,814 - INFO - taking picture
MAIN: 2025-03-10 14:06:06,815 - INFO - we take 912 photos in this while loop
MAIN: 2025-03-10 14:06:06,815 - INFO - /home/pi/Desktop/images/10032025/14/05/image_10032025_14_06_06_30259.jpg
MAIN: 2025-03-10 14:06:06,815 - INFO - duration: 0.6680139059972134
MAIN: 2025-03-10 14:06:06,816 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/06'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:06:36,401 - INFO - taking picture
MAIN: 2025-03-10 14:06:36,401 - INFO - we take 913 photos in this while loop
MAIN: 2025-03-10 14:06:36,401 - INFO - /home/pi/Desktop/images/10032025/14/06/image_10032025_14_06_35_29577.jpg
MAIN: 2025-03-10 14:06:36,402 - INFO - duration: 0.6770869269967079
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:07:05,969 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:07:06,600 - INFO - taking picture
MAIN: 2025-03-10 14:07:06,600 - INFO - we take 914 photos in this while loop
MAIN: 2025-03-10 14:07:06,600 - INFO - /home/pi/Desktop/images/10032025/14/06/image_10032025_14_07_06_30172.jpg
MAIN: 2025-03-10 14:07:06,600 - INFO - duration: 0.7032740630020271
MAIN: 2025-03-10 14:07:06,601 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:07:36,253 - INFO - taking picture
MAIN: 2025-03-10 14:07:36,253 - INFO - we take 915 photos in this while loop
MAIN: 2025-03-10 14:07:36,253 - INFO - /home/pi/Desktop/images/10032025/14/07/image_10032025_14_07_35_29668.jpg
MAIN: 2025-03-10 14:07:36,254 - INFO - duration: 0.6876710409997031
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:08:06,292 - INFO - taking picture
MAIN: 2025-03-10 14:08:06,293 - INFO - we take 916 photos in this while loop
MAIN: 2025-03-10 14:08:06,293 - INFO - /home/pi/Desktop/images/10032025/14/07/image_10032025_14_08_05_30052.jpg
MAIN: 2025-03-10 14:08:06,293 - INFO - duration: 0.6748255729980883
MAIN: 2025-03-10 14:08:06,294 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/08'
MAIN: 2025-03-10 14:08: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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:08:37,287 - INFO - taking picture
MAIN: 2025-03-10 14:08:37,288 - INFO - we take 917 photos in this while loop
MAIN: 2025-03-10 14:08:37,288 - INFO - /home/pi/Desktop/images/10032025/14/08/image_10032025_14_08_36_30977.jpg
MAIN: 2025-03-10 14:08:37,288 - INFO - duration: 0.692806979001034
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:09:06,702 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:09:07,431 - INFO - taking picture
MAIN: 2025-03-10 14:09:07,432 - INFO - we take 918 photos in this while loop
MAIN: 2025-03-10 14:09:07,432 - INFO - /home/pi/Desktop/images/10032025/14/08/image_10032025_14_09_07_30195.jpg
MAIN: 2025-03-10 14:09:07,432 - INFO - duration: 0.6413049999973737
MAIN: 2025-03-10 14:09:07,433 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:09:37,269 - INFO - taking picture
MAIN: 2025-03-10 14:09:37,269 - INFO - we take 919 photos in this while loop
MAIN: 2025-03-10 14:09:37,269 - INFO - /home/pi/Desktop/images/10032025/14/09/image_10032025_14_09_36_29780.jpg
MAIN: 2025-03-10 14:09:37,270 - INFO - duration: 0.6983727600018028
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:10:06,410 - INFO - taking picture
MAIN: 2025-03-10 14:10:06,411 - INFO - we take 920 photos in this while loop
MAIN: 2025-03-10 14:10:06,411 - INFO - /home/pi/Desktop/images/10032025/14/09/image_10032025_14_10_05_29089.jpg
MAIN: 2025-03-10 14:10:06,412 - INFO - duration: 0.7512554160057334
MAIN: 2025-03-10 14:10:06,498 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/10'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:10:07,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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:10:37,404 - INFO - taking picture
MAIN: 2025-03-10 14:10:37,404 - INFO - we take 921 photos in this while loop
MAIN: 2025-03-10 14:10:37,404 - INFO - /home/pi/Desktop/images/10032025/14/10/image_10032025_14_10_37_31034.jpg
MAIN: 2025-03-10 14:10:37,405 - INFO - duration: 0.7096890100001474
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:11:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:11:07,450 - INFO - taking picture
MAIN: 2025-03-10 14:11:07,451 - INFO - we take 922 photos in this while loop
MAIN: 2025-03-10 14:11:07,451 - INFO - /home/pi/Desktop/images/10032025/14/10/image_10032025_14_11_07_30060.jpg
MAIN: 2025-03-10 14:11:07,451 - INFO - duration: 0.6951740630029235
MAIN: 2025-03-10 14:11:07,451 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:11:37,115 - INFO - taking picture
MAIN: 2025-03-10 14:11:37,115 - INFO - we take 923 photos in this while loop
MAIN: 2025-03-10 14:11:37,115 - INFO - /home/pi/Desktop/images/10032025/14/11/image_10032025_14_11_36_29651.jpg
MAIN: 2025-03-10 14:11:37,116 - INFO - duration: 0.7077617700051633
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:12: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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:12:07,102 - INFO - taking picture
MAIN: 2025-03-10 14:12:07,102 - INFO - we take 924 photos in this while loop
MAIN: 2025-03-10 14:12:07,102 - INFO - /home/pi/Desktop/images/10032025/14/11/image_10032025_14_12_06_30020.jpg
MAIN: 2025-03-10 14:12:07,103 - INFO - duration: 0.6742973439977504
MAIN: 2025-03-10 14:12:07,103 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:12:36,747 - INFO - taking picture
MAIN: 2025-03-10 14:12:36,748 - INFO - we take 925 photos in this while loop
MAIN: 2025-03-10 14:12:36,748 - INFO - /home/pi/Desktop/images/10032025/14/12/image_10032025_14_12_36_29633.jpg
MAIN: 2025-03-10 14:12:36,748 - INFO - duration: 0.686808280996047
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:13: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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:13:06,960 - INFO - taking picture
MAIN: 2025-03-10 14:13:06,960 - INFO - we take 926 photos in this while loop
MAIN: 2025-03-10 14:13:06,961 - INFO - /home/pi/Desktop/images/10032025/14/12/image_10032025_14_13_06_30226.jpg
MAIN: 2025-03-10 14:13:06,961 - INFO - duration: 0.6728170310016139
MAIN: 2025-03-10 14:13:06,961 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:13:36,736 - INFO - taking picture
MAIN: 2025-03-10 14:13:36,737 - INFO - we take 927 photos in this while loop
MAIN: 2025-03-10 14:13:36,737 - INFO - /home/pi/Desktop/images/10032025/14/13/image_10032025_14_13_36_29743.jpg
MAIN: 2025-03-10 14:13:36,737 - INFO - duration: 0.7056844789985917
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:14: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 ! 
MAIN: 2025-03-10 14:14:06,916 - INFO - taking picture
MAIN: 2025-03-10 14:14:06,917 - INFO - we take 928 photos in this while loop
MAIN: 2025-03-10 14:14:06,917 - INFO - /home/pi/Desktop/images/10032025/14/13/image_10032025_14_14_06_30186.jpg
MAIN: 2025-03-10 14:14:06,917 - INFO - duration: 0.6993829679995542
MAIN: 2025-03-10 14:14:06,918 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:14:36,593 - INFO - taking picture
MAIN: 2025-03-10 14:14:36,593 - INFO - we take 929 photos in this while loop
MAIN: 2025-03-10 14:14:36,594 - INFO - /home/pi/Desktop/images/10032025/14/14/image_10032025_14_14_36_29670.jpg
MAIN: 2025-03-10 14:14:36,594 - INFO - duration: 0.7052497390031931
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:15:07,036 - INFO - taking picture
MAIN: 2025-03-10 14:15:07,036 - INFO - we take 930 photos in this while loop
MAIN: 2025-03-10 14:15:07,037 - INFO - /home/pi/Desktop/images/10032025/14/14/image_10032025_14_15_06_30469.jpg
MAIN: 2025-03-10 14:15:07,037 - INFO - duration: 0.6788051559997257
MAIN: 2025-03-10 14:15:07,037 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/15'
MAIN: 2025-03-10 14:15:07,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:15:36,634 - INFO - taking picture
MAIN: 2025-03-10 14:15:36,635 - INFO - we take 931 photos in this while loop
MAIN: 2025-03-10 14:15:36,635 - INFO - /home/pi/Desktop/images/10032025/14/15/image_10032025_14_15_36_29637.jpg
MAIN: 2025-03-10 14:15:36,635 - INFO - duration: 0.6401545830012765
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:16:05,793 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:16:06,747 - INFO - taking picture
MAIN: 2025-03-10 14:16:06,748 - INFO - we take 932 photos in this while loop
MAIN: 2025-03-10 14:16:06,748 - INFO - /home/pi/Desktop/images/10032025/14/15/image_10032025_14_16_06_30078.jpg
MAIN: 2025-03-10 14:16:06,748 - INFO - duration: 0.6747677599996678
MAIN: 2025-03-10 14:16:06,749 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:16:36,525 - INFO - taking picture
MAIN: 2025-03-10 14:16:36,525 - INFO - we take 933 photos in this while loop
MAIN: 2025-03-10 14:16:36,525 - INFO - /home/pi/Desktop/images/10032025/14/16/image_10032025_14_16_36_29761.jpg
MAIN: 2025-03-10 14:16:36,525 - INFO - duration: 0.6899029689957388
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 14:17:05,721 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:17:06,560 - INFO - taking picture
MAIN: 2025-03-10 14:17:06,561 - INFO - we take 934 photos in this while loop
MAIN: 2025-03-10 14:17:06,561 - INFO - /home/pi/Desktop/images/10032025/14/16/image_10032025_14_17_06_30080.jpg
MAIN: 2025-03-10 14:17:06,561 - INFO - duration: 0.6450457809987711
MAIN: 2025-03-10 14:17:06,562 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=25 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:17:37,509 - INFO - taking picture
MAIN: 2025-03-10 14:17:37,510 - INFO - we take 935 photos in this while loop
MAIN: 2025-03-10 14:17:37,510 - INFO - /home/pi/Desktop/images/10032025/14/17/image_10032025_14_17_37_30887.jpg
MAIN: 2025-03-10 14:17:37,510 - INFO - duration: 0.7060268749992247
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:18: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-10 14:18:06,532 - INFO - taking picture
MAIN: 2025-03-10 14:18:06,532 - INFO - we take 936 photos in this while loop
MAIN: 2025-03-10 14:18:06,532 - INFO - /home/pi/Desktop/images/10032025/14/17/image_10032025_14_18_06_29023.jpg
MAIN: 2025-03-10 14:18:06,533 - INFO - duration: 0.7046207809980842
MAIN: 2025-03-10 14:18:06,533 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/18'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:18:37,604 - INFO - taking picture
MAIN: 2025-03-10 14:18:37,605 - INFO - we take 937 photos in this while loop
MAIN: 2025-03-10 14:18:37,605 - INFO - /home/pi/Desktop/images/10032025/14/18/image_10032025_14_18_37_31021.jpg
MAIN: 2025-03-10 14:18:37,605 - INFO - duration: 0.7559307279952918
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:19: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 ! 
MAIN: 2025-03-10 14:19:06,458 - INFO - taking picture
MAIN: 2025-03-10 14:19:06,458 - INFO - we take 938 photos in this while loop
MAIN: 2025-03-10 14:19:06,458 - INFO - /home/pi/Desktop/images/10032025/14/18/image_10032025_14_19_06_28952.jpg
MAIN: 2025-03-10 14:19:06,459 - INFO - duration: 0.656278802001907
MAIN: 2025-03-10 14:19:06,459 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:19:37,468 - INFO - taking picture
MAIN: 2025-03-10 14:19:37,468 - INFO - we take 939 photos in this while loop
MAIN: 2025-03-10 14:19:37,469 - INFO - /home/pi/Desktop/images/10032025/14/19/image_10032025_14_19_37_30965.jpg
MAIN: 2025-03-10 14:19:37,469 - INFO - duration: 0.700607967999531
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:20:06,476 - INFO - taking picture
MAIN: 2025-03-10 14:20:06,477 - INFO - we take 940 photos in this while loop
MAIN: 2025-03-10 14:20:06,478 - INFO - /home/pi/Desktop/images/10032025/14/19/image_10032025_14_20_06_28998.jpg
MAIN: 2025-03-10 14:20:06,478 - INFO - duration: 0.711096874998475
MAIN: 2025-03-10 14:20:06,479 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/20'
MAIN: 2025-03-10 14:20: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:20:37,297 - INFO - taking picture
MAIN: 2025-03-10 14:20:37,298 - INFO - we take 941 photos in this while loop
MAIN: 2025-03-10 14:20:37,298 - INFO - /home/pi/Desktop/images/10032025/14/20/image_10032025_14_20_36_30833.jpg
MAIN: 2025-03-10 14:20:37,298 - INFO - duration: 0.6976692700045533
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:21:06,449 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:21:07,385 - INFO - taking picture
MAIN: 2025-03-10 14:21:07,385 - INFO - we take 942 photos in this while loop
MAIN: 2025-03-10 14:21:07,385 - INFO - /home/pi/Desktop/images/10032025/14/20/image_10032025_14_21_07_30141.jpg
MAIN: 2025-03-10 14:21:07,386 - INFO - duration: 0.6438547389989253
MAIN: 2025-03-10 14:21:07,386 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/21'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:21:37,050 - INFO - taking picture
MAIN: 2025-03-10 14:21:37,051 - INFO - we take 943 photos in this while loop
MAIN: 2025-03-10 14:21:37,051 - INFO - /home/pi/Desktop/images/10032025/14/21/image_10032025_14_21_36_29665.jpg
MAIN: 2025-03-10 14:21:37,051 - INFO - duration: 0.6441760939997039
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14: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=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (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-10 14:22:07,316 - INFO - taking picture
MAIN: 2025-03-10 14:22:07,317 - INFO - we take 944 photos in this while loop
MAIN: 2025-03-10 14:22:07,317 - INFO - /home/pi/Desktop/images/10032025/14/21/image_10032025_14_22_06_30228.jpg
MAIN: 2025-03-10 14:22:07,317 - INFO - duration: 0.6816452080020099
MAIN: 2025-03-10 14:22:07,317 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/22'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:22:36,943 - INFO - taking picture
MAIN: 2025-03-10 14:22:36,944 - INFO - we take 945 photos in this while loop
MAIN: 2025-03-10 14:22:36,944 - INFO - /home/pi/Desktop/images/10032025/14/22/image_10032025_14_22_36_29628.jpg
MAIN: 2025-03-10 14:22:36,944 - INFO - duration: 0.6799345830004313
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:23:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:23:06,819 - INFO - taking picture
MAIN: 2025-03-10 14:23:06,820 - INFO - we take 946 photos in this while loop
MAIN: 2025-03-10 14:23:06,820 - INFO - /home/pi/Desktop/images/10032025/14/22/image_10032025_14_23_06_29920.jpg
MAIN: 2025-03-10 14:23:06,820 - INFO - duration: 0.6358792710016132
MAIN: 2025-03-10 14:23:06,821 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:23:36,466 - INFO - taking picture
MAIN: 2025-03-10 14:23:36,466 - INFO - we take 947 photos in this while loop
MAIN: 2025-03-10 14:23:36,466 - INFO - /home/pi/Desktop/images/10032025/14/23/image_10032025_14_23_36_29615.jpg
MAIN: 2025-03-10 14:23:36,466 - INFO - duration: 0.6661719269977766
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:24:06,450 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 14:24:06,557 - INFO - taking picture
MAIN: 2025-03-10 14:24:06,558 - INFO - we take 948 photos in this while loop
MAIN: 2025-03-10 14:24:06,558 - INFO - /home/pi/Desktop/images/10032025/14/23/image_10032025_14_24_06_30064.jpg
MAIN: 2025-03-10 14:24:06,558 - INFO - duration: 0.6940595830019447
MAIN: 2025-03-10 14:24:06,559 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:24:37,409 - INFO - taking picture
MAIN: 2025-03-10 14:24:37,409 - INFO - we take 949 photos in this while loop
MAIN: 2025-03-10 14:24:37,410 - INFO - /home/pi/Desktop/images/10032025/14/24/image_10032025_14_24_37_30856.jpg
MAIN: 2025-03-10 14:24:37,410 - INFO - duration: 0.688909946999047
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:25:06,275 - INFO - taking picture
MAIN: 2025-03-10 14:25:06,276 - INFO - we take 950 photos in this while loop
MAIN: 2025-03-10 14:25:06,276 - INFO - /home/pi/Desktop/images/10032025/14/24/image_10032025_14_25_05_28882.jpg
MAIN: 2025-03-10 14:25:06,276 - INFO - duration: 0.6733901039988268
MAIN: 2025-03-10 14:25:06,277 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/25'
MAIN: 2025-03-10 14:25:07,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:25:37,239 - INFO - taking picture
MAIN: 2025-03-10 14:25:37,240 - INFO - we take 951 photos in this while loop
MAIN: 2025-03-10 14:25:37,240 - INFO - /home/pi/Desktop/images/10032025/14/25/image_10032025_14_25_36_30995.jpg
MAIN: 2025-03-10 14:25:37,240 - INFO - duration: 0.6418829159956658
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:26: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:26:07,215 - INFO - taking picture
MAIN: 2025-03-10 14:26:07,216 - INFO - we take 952 photos in this while loop
MAIN: 2025-03-10 14:26:07,216 - INFO - /home/pi/Desktop/images/10032025/14/25/image_10032025_14_26_06_29929.jpg
MAIN: 2025-03-10 14:26:07,216 - INFO - duration: 0.688122134997684
MAIN: 2025-03-10 14:26:07,217 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:26:36,784 - INFO - taking picture
MAIN: 2025-03-10 14:26:36,785 - INFO - we take 953 photos in this while loop
MAIN: 2025-03-10 14:26:36,785 - INFO - /home/pi/Desktop/images/10032025/14/26/image_10032025_14_26_36_29591.jpg
MAIN: 2025-03-10 14:26:36,785 - INFO - duration: 0.6657017699981225
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:27:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:27:06,663 - INFO - taking picture
MAIN: 2025-03-10 14:27:06,663 - INFO - we take 954 photos in this while loop
MAIN: 2025-03-10 14:27:06,663 - INFO - /home/pi/Desktop/images/10032025/14/26/image_10032025_14_27_06_29887.jpg
MAIN: 2025-03-10 14:27:06,664 - INFO - duration: 0.6569286450030631
MAIN: 2025-03-10 14:27:06,664 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:27:37,405 - INFO - taking picture
MAIN: 2025-03-10 14:27:37,405 - INFO - we take 955 photos in this while loop
MAIN: 2025-03-10 14:27:37,406 - INFO - /home/pi/Desktop/images/10032025/14/27/image_10032025_14_27_37_30713.jpg
MAIN: 2025-03-10 14:27:37,406 - INFO - duration: 0.6850878120021662
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:28:06,278 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 14:28:06,355 - INFO - taking picture
MAIN: 2025-03-10 14:28:06,356 - INFO - we take 956 photos in this while loop
MAIN: 2025-03-10 14:28:06,356 - INFO - /home/pi/Desktop/images/10032025/14/27/image_10032025_14_28_05_28958.jpg
MAIN: 2025-03-10 14:28:06,356 - INFO - duration: 0.6767042700012098
MAIN: 2025-03-10 14:28:06,357 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:28:37,171 - INFO - taking picture
MAIN: 2025-03-10 14:28:37,171 - INFO - we take 957 photos in this while loop
MAIN: 2025-03-10 14:28:37,171 - INFO - /home/pi/Desktop/images/10032025/14/28/image_10032025_14_28_36_30819.jpg
MAIN: 2025-03-10 14:28:37,172 - INFO - duration: 0.6727118230046472
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:29:06,041 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:29:07,051 - INFO - taking picture
MAIN: 2025-03-10 14:29:07,051 - INFO - we take 958 photos in this while loop
MAIN: 2025-03-10 14:29:07,052 - INFO - /home/pi/Desktop/images/10032025/14/28/image_10032025_14_29_06_29916.jpg
MAIN: 2025-03-10 14:29:07,052 - INFO - duration: 0.6360459370043827
MAIN: 2025-03-10 14:29:07,052 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:29:36,748 - INFO - taking picture
MAIN: 2025-03-10 14:29:36,749 - INFO - we take 959 photos in this while loop
MAIN: 2025-03-10 14:29:36,749 - INFO - /home/pi/Desktop/images/10032025/14/29/image_10032025_14_29_36_29637.jpg
MAIN: 2025-03-10 14:29:36,749 - INFO - duration: 0.6957181249963469
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:30:07,072 - INFO - taking picture
MAIN: 2025-03-10 14:30:07,073 - INFO - we take 960 photos in this while loop
MAIN: 2025-03-10 14:30:07,073 - INFO - /home/pi/Desktop/images/10032025/14/29/image_10032025_14_30_06_30325.jpg
MAIN: 2025-03-10 14:30:07,073 - INFO - duration: 0.6942533849942265
MAIN: 2025-03-10 14:30:07,074 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/30'
MAIN: 2025-03-10 14:30: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:30:36,649 - INFO - taking picture
MAIN: 2025-03-10 14:30:36,650 - INFO - we take 961 photos in this while loop
MAIN: 2025-03-10 14:30:36,650 - INFO - /home/pi/Desktop/images/10032025/14/30/image_10032025_14_30_36_29576.jpg
MAIN: 2025-03-10 14:30:36,650 - INFO - duration: 0.695278541999869
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:31:05,271 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:31:06,513 - INFO - taking picture
MAIN: 2025-03-10 14:31:06,513 - INFO - we take 962 photos in this while loop
MAIN: 2025-03-10 14:31:06,514 - INFO - /home/pi/Desktop/images/10032025/14/30/image_10032025_14_31_06_29878.jpg
MAIN: 2025-03-10 14:31:06,514 - INFO - duration: 0.6804956239939202
MAIN: 2025-03-10 14:31:06,514 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:31:37,494 - INFO - taking picture
MAIN: 2025-03-10 14:31:37,495 - INFO - we take 963 photos in this while loop
MAIN: 2025-03-10 14:31:37,495 - INFO - /home/pi/Desktop/images/10032025/14/31/image_10032025_14_31_37_30988.jpg
MAIN: 2025-03-10 14:31:37,495 - INFO - duration: 0.6738313530004234
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:32: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 ! 
MAIN: 2025-03-10 14:32:06,383 - INFO - taking picture
MAIN: 2025-03-10 14:32:06,384 - INFO - we take 964 photos in this while loop
MAIN: 2025-03-10 14:32:06,384 - INFO - /home/pi/Desktop/images/10032025/14/31/image_10032025_14_32_05_28907.jpg
MAIN: 2025-03-10 14:32:06,384 - INFO - duration: 0.6556260419965838
MAIN: 2025-03-10 14:32:06,385 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:32:37,225 - INFO - taking picture
MAIN: 2025-03-10 14:32:37,226 - INFO - we take 965 photos in this while loop
MAIN: 2025-03-10 14:32:37,226 - INFO - /home/pi/Desktop/images/10032025/14/32/image_10032025_14_32_36_30804.jpg
MAIN: 2025-03-10 14:32:37,226 - INFO - duration: 0.6930556249935762
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:33:05,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=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:33:07,045 - INFO - taking picture
MAIN: 2025-03-10 14:33:07,045 - INFO - we take 966 photos in this while loop
MAIN: 2025-03-10 14:33:07,045 - INFO - /home/pi/Desktop/images/10032025/14/32/image_10032025_14_33_06_29838.jpg
MAIN: 2025-03-10 14:33:07,046 - INFO - duration: 0.6740811970012146
MAIN: 2025-03-10 14:33:07,046 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/33'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:33:36,655 - INFO - taking picture
MAIN: 2025-03-10 14:33:36,656 - INFO - we take 967 photos in this while loop
MAIN: 2025-03-10 14:33:36,656 - INFO - /home/pi/Desktop/images/10032025/14/33/image_10032025_14_33_36_29616.jpg
MAIN: 2025-03-10 14:33:36,656 - INFO - duration: 0.6681145830007154
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:34:06,349 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:34:06,848 - INFO - taking picture
MAIN: 2025-03-10 14:34:06,849 - INFO - we take 968 photos in this while loop
MAIN: 2025-03-10 14:34:06,849 - INFO - /home/pi/Desktop/images/10032025/14/33/image_10032025_14_34_06_30168.jpg
MAIN: 2025-03-10 14:34:06,849 - INFO - duration: 0.6929485939981532
MAIN: 2025-03-10 14:34:06,850 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:34:36,452 - INFO - taking picture
MAIN: 2025-03-10 14:34:36,453 - INFO - we take 969 photos in this while loop
MAIN: 2025-03-10 14:34:36,453 - INFO - /home/pi/Desktop/images/10032025/14/34/image_10032025_14_34_36_29602.jpg
MAIN: 2025-03-10 14:34:36,453 - INFO - duration: 0.6941930729954038
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:35:06,545 - INFO - taking picture
MAIN: 2025-03-10 14:35:06,546 - INFO - we take 970 photos in this while loop
MAIN: 2025-03-10 14:35:06,546 - INFO - /home/pi/Desktop/images/10032025/14/34/image_10032025_14_35_06_30101.jpg
MAIN: 2025-03-10 14:35:06,546 - INFO - duration: 0.685399009998946
MAIN: 2025-03-10 14:35:06,547 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/35'
MAIN: 2025-03-10 14:35:06,924 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=19 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:35:37,486 - INFO - taking picture
MAIN: 2025-03-10 14:35:37,486 - INFO - we take 971 photos in this while loop
MAIN: 2025-03-10 14:35:37,486 - INFO - /home/pi/Desktop/images/10032025/14/35/image_10032025_14_35_37_30979.jpg
MAIN: 2025-03-10 14:35:37,487 - INFO - duration: 0.6464133849949576
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:36: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:36:07,411 - INFO - taking picture
MAIN: 2025-03-10 14:36:07,412 - INFO - we take 972 photos in this while loop
MAIN: 2025-03-10 14:36:07,412 - INFO - /home/pi/Desktop/images/10032025/14/35/image_10032025_14_36_07_29930.jpg
MAIN: 2025-03-10 14:36:07,412 - INFO - duration: 0.6414625519973924
MAIN: 2025-03-10 14:36:07,413 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:36:36,934 - INFO - taking picture
MAIN: 2025-03-10 14:36:36,935 - INFO - we take 973 photos in this while loop
MAIN: 2025-03-10 14:36:36,935 - INFO - /home/pi/Desktop/images/10032025/14/36/image_10032025_14_36_36_29527.jpg
MAIN: 2025-03-10 14:36:36,935 - INFO - duration: 0.6364752079971367
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:37:05,427 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:37:06,953 - INFO - taking picture
MAIN: 2025-03-10 14:37:06,954 - INFO - we take 974 photos in this while loop
MAIN: 2025-03-10 14:37:06,954 - INFO - /home/pi/Desktop/images/10032025/14/36/image_10032025_14_37_06_29981.jpg
MAIN: 2025-03-10 14:37:06,954 - INFO - duration: 0.6742052080007852
MAIN: 2025-03-10 14:37:06,955 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:37:36,650 - INFO - taking picture
MAIN: 2025-03-10 14:37:36,651 - INFO - we take 975 photos in this while loop
MAIN: 2025-03-10 14:37:36,651 - INFO - /home/pi/Desktop/images/10032025/14/37/image_10032025_14_37_36_29695.jpg
MAIN: 2025-03-10 14:37:36,651 - INFO - duration: 0.675772082999174
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:38:05,936 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:38:06,568 - INFO - taking picture
MAIN: 2025-03-10 14:38:06,568 - INFO - we take 976 photos in this while loop
MAIN: 2025-03-10 14:38:06,568 - INFO - /home/pi/Desktop/images/10032025/14/37/image_10032025_14_38_06_29889.jpg
MAIN: 2025-03-10 14:38:06,569 - INFO - duration: 0.703895573002228
MAIN: 2025-03-10 14:38:06,569 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:38:37,386 - INFO - taking picture
MAIN: 2025-03-10 14:38:37,386 - INFO - we take 977 photos in this while loop
MAIN: 2025-03-10 14:38:37,386 - INFO - /home/pi/Desktop/images/10032025/14/38/image_10032025_14_38_36_30821.jpg
MAIN: 2025-03-10 14:38:37,387 - INFO - duration: 0.7004514579966781
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:39:05,885 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:39:07,321 - INFO - taking picture
MAIN: 2025-03-10 14:39:07,322 - INFO - we take 978 photos in this while loop
MAIN: 2025-03-10 14:39:07,322 - INFO - /home/pi/Desktop/images/10032025/14/38/image_10032025_14_39_06_29993.jpg
MAIN: 2025-03-10 14:39:07,322 - INFO - duration: 0.6421597920052591
MAIN: 2025-03-10 14:39:07,323 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:39:36,901 - INFO - taking picture
MAIN: 2025-03-10 14:39:36,901 - INFO - we take 979 photos in this while loop
MAIN: 2025-03-10 14:39:36,902 - INFO - /home/pi/Desktop/images/10032025/14/39/image_10032025_14_39_36_29577.jpg
MAIN: 2025-03-10 14:39:36,902 - INFO - duration: 0.6444825520011364
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:40:06,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 ! 
MAIN: 2025-03-10 14:40:07,090 - INFO - taking picture
MAIN: 2025-03-10 14:40:07,091 - INFO - we take 980 photos in this while loop
MAIN: 2025-03-10 14:40:07,091 - INFO - /home/pi/Desktop/images/10032025/14/39/image_10032025_14_40_06_30158.jpg
MAIN: 2025-03-10 14:40:07,092 - INFO - duration: 0.6758301560039399
MAIN: 2025-03-10 14:40:07,093 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:40:36,614 - INFO - taking picture
MAIN: 2025-03-10 14:40:36,615 - INFO - we take 981 photos in this while loop
MAIN: 2025-03-10 14:40:36,615 - INFO - /home/pi/Desktop/images/10032025/14/40/image_10032025_14_40_36_29534.jpg
MAIN: 2025-03-10 14:40:36,615 - INFO - duration: 0.6654005730015342
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:41:06,054 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:41:06,708 - INFO - taking picture
MAIN: 2025-03-10 14:41:06,709 - INFO - we take 982 photos in this while loop
MAIN: 2025-03-10 14:41:06,709 - INFO - /home/pi/Desktop/images/10032025/14/40/image_10032025_14_41_06_30056.jpg
MAIN: 2025-03-10 14:41:06,709 - INFO - duration: 0.7027499989999342
MAIN: 2025-03-10 14:41:06,709 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/41'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:41:36,355 - INFO - taking picture
MAIN: 2025-03-10 14:41:36,355 - INFO - we take 983 photos in this while loop
MAIN: 2025-03-10 14:41:36,355 - INFO - /home/pi/Desktop/images/10032025/14/41/image_10032025_14_41_35_29654.jpg
MAIN: 2025-03-10 14:41:36,355 - INFO - duration: 0.6949973439986934
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:42:06,311 - INFO - taking picture
MAIN: 2025-03-10 14:42:06,312 - INFO - we take 984 photos in this while loop
MAIN: 2025-03-10 14:42:06,312 - INFO - /home/pi/Desktop/images/10032025/14/41/image_10032025_14_42_05_29969.jpg
MAIN: 2025-03-10 14:42:06,312 - INFO - duration: 0.6814896349969786
MAIN: 2025-03-10 14:42:06,312 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/42'
MAIN: 2025-03-10 14:42:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:42:37,218 - INFO - taking picture
MAIN: 2025-03-10 14:42:37,219 - INFO - we take 985 photos in this while loop
MAIN: 2025-03-10 14:42:37,219 - INFO - /home/pi/Desktop/images/10032025/14/42/image_10032025_14_42_36_30885.jpg
MAIN: 2025-03-10 14:42:37,219 - INFO - duration: 0.70321890500054
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:43:05,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:43:07,142 - INFO - taking picture
MAIN: 2025-03-10 14:43:07,142 - INFO - we take 986 photos in this while loop
MAIN: 2025-03-10 14:43:07,142 - INFO - /home/pi/Desktop/images/10032025/14/42/image_10032025_14_43_06_29974.jpg
MAIN: 2025-03-10 14:43:07,143 - INFO - duration: 0.652308748998621
MAIN: 2025-03-10 14:43:07,143 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:43:36,749 - INFO - taking picture
MAIN: 2025-03-10 14:43:36,750 - INFO - we take 987 photos in this while loop
MAIN: 2025-03-10 14:43:36,750 - INFO - /home/pi/Desktop/images/10032025/14/43/image_10032025_14_43_36_29618.jpg
MAIN: 2025-03-10 14:43:36,750 - INFO - duration: 0.6415523440009565
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:44: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:44:06,713 - INFO - taking picture
MAIN: 2025-03-10 14:44:06,714 - INFO - we take 988 photos in this while loop
MAIN: 2025-03-10 14:44:06,714 - INFO - /home/pi/Desktop/images/10032025/14/43/image_10032025_14_44_06_29959.jpg
MAIN: 2025-03-10 14:44:06,714 - INFO - duration: 0.6462356239935616
MAIN: 2025-03-10 14:44:06,714 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/44'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:44:36,532 - INFO - taking picture
MAIN: 2025-03-10 14:44:36,533 - INFO - we take 989 photos in this while loop
MAIN: 2025-03-10 14:44:36,533 - INFO - /home/pi/Desktop/images/10032025/14/44/image_10032025_14_44_36_29788.jpg
MAIN: 2025-03-10 14:44:36,533 - INFO - duration: 0.6765295310033252
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:45:06,472 - INFO - cam.read() 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-10 14:45:06,872 - INFO - taking picture
MAIN: 2025-03-10 14:45:06,873 - INFO - we take 990 photos in this while loop
MAIN: 2025-03-10 14:45:06,873 - INFO - /home/pi/Desktop/images/10032025/14/44/image_10032025_14_45_06_30342.jpg
MAIN: 2025-03-10 14:45:06,874 - INFO - duration: 0.674400781004806
MAIN: 2025-03-10 14:45:06,875 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/45'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:45:36,392 - INFO - taking picture
MAIN: 2025-03-10 14:45:36,393 - INFO - we take 991 photos in this while loop
MAIN: 2025-03-10 14:45:36,393 - INFO - /home/pi/Desktop/images/10032025/14/45/image_10032025_14_45_35_29522.jpg
MAIN: 2025-03-10 14:45:36,393 - INFO - duration: 0.6713777080003638
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:46:06,393 - INFO - taking picture
MAIN: 2025-03-10 14:46:06,394 - INFO - we take 992 photos in this while loop
MAIN: 2025-03-10 14:46:06,394 - INFO - /home/pi/Desktop/images/10032025/14/45/image_10032025_14_46_06_29998.jpg
MAIN: 2025-03-10 14:46:06,394 - INFO - duration: 0.6743486979976296
MAIN: 2025-03-10 14:46:06,395 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/46'
MAIN: 2025-03-10 14:46:06,473 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:46:37,277 - INFO - taking picture
MAIN: 2025-03-10 14:46:37,277 - INFO - we take 993 photos in this while loop
MAIN: 2025-03-10 14:46:37,278 - INFO - /home/pi/Desktop/images/10032025/14/46/image_10032025_14_46_36_30861.jpg
MAIN: 2025-03-10 14:46:37,278 - INFO - duration: 0.6959347910014912
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:47:06,294 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:47:07,114 - INFO - taking picture
MAIN: 2025-03-10 14:47:07,114 - INFO - we take 994 photos in this while loop
MAIN: 2025-03-10 14:47:07,114 - INFO - /home/pi/Desktop/images/10032025/14/46/image_10032025_14_47_06_29888.jpg
MAIN: 2025-03-10 14:47:07,114 - INFO - duration: 0.6441043229933712
MAIN: 2025-03-10 14:47:07,115 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:47:36,731 - INFO - taking picture
MAIN: 2025-03-10 14:47:36,732 - INFO - we take 995 photos in this while loop
MAIN: 2025-03-10 14:47:36,732 - INFO - /home/pi/Desktop/images/10032025/14/47/image_10032025_14_47_36_29567.jpg
MAIN: 2025-03-10 14:47:36,732 - INFO - duration: 0.6935917180016986
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:48:06,934 - INFO - taking picture
MAIN: 2025-03-10 14:48:06,935 - INFO - we take 996 photos in this while loop
MAIN: 2025-03-10 14:48:06,935 - INFO - /home/pi/Desktop/images/10032025/14/47/image_10032025_14_48_06_30257.jpg
MAIN: 2025-03-10 14:48:06,935 - INFO - duration: 0.6394514060011716
MAIN: 2025-03-10 14:48:06,935 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/48'
MAIN: 2025-03-10 14:48:07,067 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:48:36,630 - INFO - taking picture
MAIN: 2025-03-10 14:48:36,631 - INFO - we take 997 photos in this while loop
MAIN: 2025-03-10 14:48:36,631 - INFO - /home/pi/Desktop/images/10032025/14/48/image_10032025_14_48_36_29693.jpg
MAIN: 2025-03-10 14:48:36,631 - INFO - duration: 0.6420760409964714
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:49:05,533 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:49:06,449 - INFO - taking picture
MAIN: 2025-03-10 14:49:06,450 - INFO - we take 998 photos in this while loop
MAIN: 2025-03-10 14:49:06,450 - INFO - /home/pi/Desktop/images/10032025/14/48/image_10032025_14_49_06_29826.jpg
MAIN: 2025-03-10 14:49:06,450 - INFO - duration: 0.6351131250048638
MAIN: 2025-03-10 14:49:06,451 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:49:37,247 - INFO - taking picture
MAIN: 2025-03-10 14:49:37,247 - INFO - we take 999 photos in this while loop
MAIN: 2025-03-10 14:49:37,248 - INFO - /home/pi/Desktop/images/10032025/14/49/image_10032025_14_49_36_30767.jpg
MAIN: 2025-03-10 14:49:37,248 - INFO - duration: 0.6650516149966279
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:50:06,806 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:50:07,330 - INFO - taking picture
MAIN: 2025-03-10 14:50:07,331 - INFO - we take 1000 photos in this while loop
MAIN: 2025-03-10 14:50:07,332 - INFO - /home/pi/Desktop/images/10032025/14/49/image_10032025_14_50_06_30056.jpg
MAIN: 2025-03-10 14:50:07,332 - INFO - duration: 0.6923518230032641
MAIN: 2025-03-10 14:50:07,333 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:50:36,974 - INFO - taking picture
MAIN: 2025-03-10 14:50:36,974 - INFO - we take 1001 photos in this while loop
MAIN: 2025-03-10 14:50:36,975 - INFO - /home/pi/Desktop/images/10032025/14/50/image_10032025_14_50_36_29637.jpg
MAIN: 2025-03-10 14:50:36,975 - INFO - duration: 0.6977915099996608
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:51:06,037 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:51:06,828 - INFO - taking picture
MAIN: 2025-03-10 14:51:06,829 - INFO - we take 1002 photos in this while loop
MAIN: 2025-03-10 14:51:06,829 - INFO - /home/pi/Desktop/images/10032025/14/50/image_10032025_14_51_06_29900.jpg
MAIN: 2025-03-10 14:51:06,829 - INFO - duration: 0.6516990099989926
MAIN: 2025-03-10 14:51:06,830 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:51:36,451 - INFO - taking picture
MAIN: 2025-03-10 14:51:36,452 - INFO - we take 1003 photos in this while loop
MAIN: 2025-03-10 14:51:36,452 - INFO - /home/pi/Desktop/images/10032025/14/51/image_10032025_14_51_36_29573.jpg
MAIN: 2025-03-10 14:51:36,452 - INFO - duration: 0.7010393749951618
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:52:06,381 - INFO - taking picture
MAIN: 2025-03-10 14:52:06,382 - INFO - we take 1004 photos in this while loop
MAIN: 2025-03-10 14:52:06,382 - INFO - /home/pi/Desktop/images/10032025/14/51/image_10032025_14_52_05_29956.jpg
MAIN: 2025-03-10 14:52:06,382 - INFO - duration: 0.6746045309992041
MAIN: 2025-03-10 14:52:06,382 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/52'
MAIN: 2025-03-10 14:52:06,785 - INFO - cam.read() return no image
Will output and 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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:52:37,273 - INFO - taking picture
MAIN: 2025-03-10 14:52:37,274 - INFO - we take 1005 photos in this while loop
MAIN: 2025-03-10 14:52:37,274 - INFO - /home/pi/Desktop/images/10032025/14/52/image_10032025_14_52_36_30891.jpg
MAIN: 2025-03-10 14:52:37,274 - INFO - duration: 0.6756771869986551
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:53:06,540 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:53:07,280 - INFO - taking picture
MAIN: 2025-03-10 14:53:07,280 - INFO - we take 1006 photos in this while loop
MAIN: 2025-03-10 14:53:07,281 - INFO - /home/pi/Desktop/images/10032025/14/52/image_10032025_14_53_06_30030.jpg
MAIN: 2025-03-10 14:53:07,281 - INFO - duration: 0.6512614060047781
MAIN: 2025-03-10 14:53:07,281 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/53'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:53:36,887 - INFO - taking picture
MAIN: 2025-03-10 14:53:36,888 - INFO - we take 1007 photos in this while loop
MAIN: 2025-03-10 14:53:36,888 - INFO - /home/pi/Desktop/images/10032025/14/53/image_10032025_14_53_36_29579.jpg
MAIN: 2025-03-10 14:53:36,888 - INFO - duration: 0.6795357290029642
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:54: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:54:06,846 - INFO - taking picture
MAIN: 2025-03-10 14:54:06,847 - INFO - we take 1008 photos in this while loop
MAIN: 2025-03-10 14:54:06,847 - INFO - /home/pi/Desktop/images/10032025/14/53/image_10032025_14_54_06_29991.jpg
MAIN: 2025-03-10 14:54:06,847 - INFO - duration: 0.6471403119940078
MAIN: 2025-03-10 14:54:06,848 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:54:36,340 - INFO - taking picture
MAIN: 2025-03-10 14:54:36,341 - INFO - we take 1009 photos in this while loop
MAIN: 2025-03-10 14:54:36,341 - INFO - /home/pi/Desktop/images/10032025/14/54/image_10032025_14_54_35_29460.jpg
MAIN: 2025-03-10 14:54:36,341 - INFO - duration: 0.6809260929949232
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:55: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 ! 
MAIN: 2025-03-10 14:55:06,657 - INFO - taking picture
MAIN: 2025-03-10 14:55:06,657 - INFO - we take 1010 photos in this while loop
MAIN: 2025-03-10 14:55:06,658 - INFO - /home/pi/Desktop/images/10032025/14/54/image_10032025_14_55_06_30299.jpg
MAIN: 2025-03-10 14:55:06,658 - INFO - duration: 0.6976307289951365
MAIN: 2025-03-10 14:55:06,658 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/55'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:55:37,534 - INFO - taking picture
MAIN: 2025-03-10 14:55:37,535 - INFO - we take 1011 photos in this while loop
MAIN: 2025-03-10 14:55:37,535 - INFO - /home/pi/Desktop/images/10032025/14/55/image_10032025_14_55_37_30880.jpg
MAIN: 2025-03-10 14:55:37,535 - INFO - duration: 0.6943683330027852
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:56:06,310 - INFO - taking picture
MAIN: 2025-03-10 14:56:06,311 - INFO - we take 1012 photos in this while loop
MAIN: 2025-03-10 14:56:06,311 - INFO - /home/pi/Desktop/images/10032025/14/55/image_10032025_14_56_05_28792.jpg
MAIN: 2025-03-10 14:56:06,311 - INFO - duration: 0.6776531249997788
MAIN: 2025-03-10 14:56:06,311 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/56'
MAIN: 2025-03-10 14:56: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:56:37,147 - INFO - taking picture
MAIN: 2025-03-10 14:56:37,147 - INFO - we take 1013 photos in this while loop
MAIN: 2025-03-10 14:56:37,148 - INFO - /home/pi/Desktop/images/10032025/14/56/image_10032025_14_56_36_30875.jpg
MAIN: 2025-03-10 14:56:37,148 - INFO - duration: 0.638412394997431
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:57: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:57:07,172 - INFO - taking picture
MAIN: 2025-03-10 14:57:07,172 - INFO - we take 1014 photos in this while loop
MAIN: 2025-03-10 14:57:07,172 - INFO - /home/pi/Desktop/images/10032025/14/56/image_10032025_14_57_06_30017.jpg
MAIN: 2025-03-10 14:57:07,173 - INFO - duration: 0.6455368750030175
MAIN: 2025-03-10 14:57:07,173 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/57'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:57:36,814 - INFO - taking picture
MAIN: 2025-03-10 14:57:36,815 - INFO - we take 1015 photos in this while loop
MAIN: 2025-03-10 14:57:36,815 - INFO - /home/pi/Desktop/images/10032025/14/57/image_10032025_14_57_36_29613.jpg
MAIN: 2025-03-10 14:57:36,815 - INFO - duration: 0.6745104680012446
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:58: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:58:06,675 - INFO - taking picture
MAIN: 2025-03-10 14:58:06,676 - INFO - we take 1016 photos in this while loop
MAIN: 2025-03-10 14:58:06,676 - INFO - /home/pi/Desktop/images/10032025/14/57/image_10032025_14_58_06_29865.jpg
MAIN: 2025-03-10 14:58:06,676 - INFO - duration: 0.6707961450010771
MAIN: 2025-03-10 14:58:06,677 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/58'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:58:37,480 - INFO - taking picture
MAIN: 2025-03-10 14:58:37,480 - INFO - we take 1017 photos in this while loop
MAIN: 2025-03-10 14:58:37,480 - INFO - /home/pi/Desktop/images/10032025/14/58/image_10032025_14_58_37_30778.jpg
MAIN: 2025-03-10 14:58:37,481 - INFO - duration: 0.6962563019988011
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 14:59: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:59:07,394 - INFO - taking picture
MAIN: 2025-03-10 14:59:07,394 - INFO - we take 1018 photos in this while loop
MAIN: 2025-03-10 14:59:07,394 - INFO - /home/pi/Desktop/images/10032025/14/58/image_10032025_14_59_07_29916.jpg
MAIN: 2025-03-10 14:59:07,395 - INFO - duration: 0.6932581769942772
MAIN: 2025-03-10 14:59:07,395 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/14/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 14:59:37,059 - INFO - taking picture
MAIN: 2025-03-10 14:59:37,060 - INFO - we take 1019 photos in this while loop
MAIN: 2025-03-10 14:59:37,060 - INFO - /home/pi/Desktop/images/10032025/14/59/image_10032025_14_59_36_29663.jpg
MAIN: 2025-03-10 14:59:37,060 - INFO - duration: 0.695070260000648
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:00:07,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-10 15:00:07,425 - INFO - taking picture
MAIN: 2025-03-10 15:00:07,425 - INFO - we take 1020 photos in this while loop
MAIN: 2025-03-10 15:00:07,426 - INFO - /home/pi/Desktop/images/10032025/14/59/image_10032025_15_00_06_30290.jpg
MAIN: 2025-03-10 15:00:07,426 - INFO - duration: 0.7703434379945975
MAIN: 2025-03-10 15:00:07,427 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:00:37,001 - INFO - taking picture
MAIN: 2025-03-10 15:00:37,002 - INFO - we take 1021 photos in this while loop
MAIN: 2025-03-10 15:00:37,002 - INFO - /home/pi/Desktop/images/10032025/15/00/image_10032025_15_00_36_29652.jpg
MAIN: 2025-03-10 15:00:37,002 - INFO - duration: 0.6944124469955568
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:01:05,610 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:01:07,169 - INFO - taking picture
MAIN: 2025-03-10 15:01:07,169 - INFO - we take 1022 photos in this while loop
MAIN: 2025-03-10 15:01:07,169 - INFO - /home/pi/Desktop/images/10032025/15/00/image_10032025_15_01_06_30210.jpg
MAIN: 2025-03-10 15:01:07,170 - INFO - duration: 0.6517459889946622
MAIN: 2025-03-10 15:01:07,170 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:01:36,767 - INFO - taking picture
MAIN: 2025-03-10 15:01:36,767 - INFO - we take 1023 photos in this while loop
MAIN: 2025-03-10 15:01:36,767 - INFO - /home/pi/Desktop/images/10032025/15/01/image_10032025_15_01_36_29597.jpg
MAIN: 2025-03-10 15:01:36,768 - INFO - duration: 0.6526413540050271
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:02: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:02:06,779 - INFO - taking picture
MAIN: 2025-03-10 15:02:06,780 - INFO - we take 1024 photos in this while loop
MAIN: 2025-03-10 15:02:06,780 - INFO - /home/pi/Desktop/images/10032025/15/01/image_10032025_15_02_06_29978.jpg
MAIN: 2025-03-10 15:02:06,780 - INFO - duration: 0.6870559899980435
MAIN: 2025-03-10 15:02:06,781 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/02'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:02:36,386 - INFO - taking picture
MAIN: 2025-03-10 15:02:36,387 - INFO - we take 1025 photos in this while loop
MAIN: 2025-03-10 15:02:36,387 - INFO - /home/pi/Desktop/images/10032025/15/02/image_10032025_15_02_36_29602.jpg
MAIN: 2025-03-10 15:02:36,387 - INFO - duration: 0.69098854099866
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:03:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:03:07,509 - INFO - taking picture
MAIN: 2025-03-10 15:03:07,510 - INFO - we take 1026 photos in this while loop
MAIN: 2025-03-10 15:03:07,510 - INFO - /home/pi/Desktop/images/10032025/15/02/image_10032025_15_03_07_31126.jpg
MAIN: 2025-03-10 15:03:07,510 - INFO - duration: 0.6879742180026369
MAIN: 2025-03-10 15:03:07,511 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:03:37,143 - INFO - taking picture
MAIN: 2025-03-10 15:03:37,144 - INFO - we take 1027 photos in this while loop
MAIN: 2025-03-10 15:03:37,144 - INFO - /home/pi/Desktop/images/10032025/15/03/image_10032025_15_03_36_29633.jpg
MAIN: 2025-03-10 15:03:37,144 - INFO - duration: 0.6878818750046776
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:04: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:04:07,101 - INFO - taking picture
MAIN: 2025-03-10 15:04:07,101 - INFO - we take 1028 photos in this while loop
MAIN: 2025-03-10 15:04:07,101 - INFO - /home/pi/Desktop/images/10032025/15/03/image_10032025_15_04_06_29937.jpg
MAIN: 2025-03-10 15:04:07,102 - INFO - duration: 0.7083754690029309
MAIN: 2025-03-10 15:04:07,102 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:04:36,698 - INFO - taking picture
MAIN: 2025-03-10 15:04:36,699 - INFO - we take 1029 photos in this while loop
MAIN: 2025-03-10 15:04:36,699 - INFO - /home/pi/Desktop/images/10032025/15/04/image_10032025_15_04_36_29604.jpg
MAIN: 2025-03-10 15:04:36,699 - INFO - duration: 0.7009115100008785
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:05: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:05:07,084 - INFO - taking picture
MAIN: 2025-03-10 15:05:07,085 - INFO - we take 1030 photos in this while loop
MAIN: 2025-03-10 15:05:07,085 - INFO - /home/pi/Desktop/images/10032025/15/04/image_10032025_15_05_06_30372.jpg
MAIN: 2025-03-10 15:05:07,086 - INFO - duration: 0.7149544790008804
MAIN: 2025-03-10 15:05:07,086 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:05:36,653 - INFO - taking picture
MAIN: 2025-03-10 15:05:36,654 - INFO - we take 1031 photos in this while loop
MAIN: 2025-03-10 15:05:36,654 - INFO - /home/pi/Desktop/images/10032025/15/05/image_10032025_15_05_36_29613.jpg
MAIN: 2025-03-10 15:05:36,654 - INFO - duration: 0.6700567709995084
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:06: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:06:06,743 - INFO - taking picture
MAIN: 2025-03-10 15:06:06,744 - INFO - we take 1032 photos in this while loop
MAIN: 2025-03-10 15:06:06,744 - INFO - /home/pi/Desktop/images/10032025/15/05/image_10032025_15_06_06_30098.jpg
MAIN: 2025-03-10 15:06:06,744 - INFO - duration: 0.661505676995148
MAIN: 2025-03-10 15:06:06,745 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/06'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:06:36,347 - INFO - taking picture
MAIN: 2025-03-10 15:06:36,348 - INFO - we take 1033 photos in this while loop
MAIN: 2025-03-10 15:06:36,348 - INFO - /home/pi/Desktop/images/10032025/15/06/image_10032025_15_06_35_29561.jpg
MAIN: 2025-03-10 15:06:36,348 - INFO - duration: 0.7035648439996294
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:07:05,867 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:07:06,373 - INFO - taking picture
MAIN: 2025-03-10 15:07:06,374 - INFO - we take 1034 photos in this while loop
MAIN: 2025-03-10 15:07:06,374 - INFO - /home/pi/Desktop/images/10032025/15/06/image_10032025_15_07_05_30012.jpg
MAIN: 2025-03-10 15:07:06,374 - INFO - duration: 0.7174535939993802
MAIN: 2025-03-10 15:07:06,375 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:07:37,237 - INFO - taking picture
MAIN: 2025-03-10 15:07:37,238 - INFO - we take 1035 photos in this while loop
MAIN: 2025-03-10 15:07:37,238 - INFO - /home/pi/Desktop/images/10032025/15/07/image_10032025_15_07_36_30892.jpg
MAIN: 2025-03-10 15:07:37,238 - INFO - duration: 0.6891880209950614
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:08:06,368 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:08:07,067 - INFO - taking picture
MAIN: 2025-03-10 15:08:07,068 - INFO - we take 1036 photos in this while loop
MAIN: 2025-03-10 15:08:07,068 - INFO - /home/pi/Desktop/images/10032025/15/07/image_10032025_15_08_06_29868.jpg
MAIN: 2025-03-10 15:08:07,068 - INFO - duration: 0.6506063540000468
MAIN: 2025-03-10 15:08:07,069 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:08:36,743 - INFO - taking picture
MAIN: 2025-03-10 15:08:36,744 - INFO - we take 1037 photos in this while loop
MAIN: 2025-03-10 15:08:36,744 - INFO - /home/pi/Desktop/images/10032025/15/08/image_10032025_15_08_36_29627.jpg
MAIN: 2025-03-10 15:08:36,744 - INFO - duration: 0.6987328120012535
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:09:06,094 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:09:06,841 - INFO - taking picture
MAIN: 2025-03-10 15:09:06,841 - INFO - we take 1038 photos in this while loop
MAIN: 2025-03-10 15:09:06,842 - INFO - /home/pi/Desktop/images/10032025/15/08/image_10032025_15_09_06_30095.jpg
MAIN: 2025-03-10 15:09:06,842 - INFO - duration: 0.7013232809986221
MAIN: 2025-03-10 15:09:06,842 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:09:36,509 - INFO - taking picture
MAIN: 2025-03-10 15:09:36,509 - INFO - we take 1039 photos in this while loop
MAIN: 2025-03-10 15:09:36,510 - INFO - /home/pi/Desktop/images/10032025/15/09/image_10032025_15_09_36_29662.jpg
MAIN: 2025-03-10 15:09:36,510 - INFO - duration: 0.7063218749972293
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:10:06,755 - INFO - taking picture
MAIN: 2025-03-10 15:10:06,756 - INFO - we take 1040 photos in this while loop
MAIN: 2025-03-10 15:10:06,756 - INFO - /home/pi/Desktop/images/10032025/15/09/image_10032025_15_10_06_30281.jpg
MAIN: 2025-03-10 15:10:06,756 - INFO - duration: 0.6718480210038251
MAIN: 2025-03-10 15:10:06,757 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/10'
MAIN: 2025-03-10 15:10:07,018 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:10:36,282 - INFO - taking picture
MAIN: 2025-03-10 15:10:36,283 - INFO - we take 1041 photos in this while loop
MAIN: 2025-03-10 15:10:36,283 - INFO - /home/pi/Desktop/images/10032025/15/10/image_10032025_15_10_35_29526.jpg
MAIN: 2025-03-10 15:10:36,283 - INFO - duration: 0.6725578129990026
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:11:06,576 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:11:07,402 - INFO - taking picture
MAIN: 2025-03-10 15:11:07,402 - INFO - we take 1042 photos in this while loop
MAIN: 2025-03-10 15:11:07,402 - INFO - /home/pi/Desktop/images/10032025/15/10/image_10032025_15_11_07_31149.jpg
MAIN: 2025-03-10 15:11:07,403 - INFO - duration: 0.6424839579995023
MAIN: 2025-03-10 15:11:07,403 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:11:36,972 - INFO - taking picture
MAIN: 2025-03-10 15:11:36,973 - INFO - we take 1043 photos in this while loop
MAIN: 2025-03-10 15:11:36,973 - INFO - /home/pi/Desktop/images/10032025/15/11/image_10032025_15_11_36_29537.jpg
MAIN: 2025-03-10 15:11:36,973 - INFO - duration: 0.6760624480011757
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:12:05,865 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:12:07,191 - INFO - taking picture
MAIN: 2025-03-10 15:12:07,192 - INFO - we take 1044 photos in this while loop
MAIN: 2025-03-10 15:12:07,192 - INFO - /home/pi/Desktop/images/10032025/15/11/image_10032025_15_12_06_30224.jpg
MAIN: 2025-03-10 15:12:07,192 - INFO - duration: 0.6708629679997102
MAIN: 2025-03-10 15:12:07,193 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:12:36,842 - INFO - taking picture
MAIN: 2025-03-10 15:12:36,843 - INFO - we take 1045 photos in this while loop
MAIN: 2025-03-10 15:12:36,843 - INFO - /home/pi/Desktop/images/10032025/15/12/image_10032025_15_12_36_29622.jpg
MAIN: 2025-03-10 15:12:36,843 - INFO - duration: 0.6993239059956977
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:13:05,748 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:13:06,711 - INFO - taking picture
MAIN: 2025-03-10 15:13:06,712 - INFO - we take 1046 photos in this while loop
MAIN: 2025-03-10 15:13:06,712 - INFO - /home/pi/Desktop/images/10032025/15/12/image_10032025_15_13_06_29923.jpg
MAIN: 2025-03-10 15:13:06,712 - INFO - duration: 0.6446426039983635
MAIN: 2025-03-10 15:13:06,713 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/13'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:13:37,395 - INFO - taking picture
MAIN: 2025-03-10 15:13:37,395 - INFO - we take 1047 photos in this while loop
MAIN: 2025-03-10 15:13:37,396 - INFO - /home/pi/Desktop/images/10032025/15/13/image_10032025_15_13_37_30682.jpg
MAIN: 2025-03-10 15:13:37,396 - INFO - duration: 0.6454918739982531
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:14: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-10 15:14:06,454 - INFO - taking picture
MAIN: 2025-03-10 15:14:06,455 - INFO - we take 1048 photos in this while loop
MAIN: 2025-03-10 15:14:06,455 - INFO - /home/pi/Desktop/images/10032025/15/13/image_10032025_15_14_06_29007.jpg
MAIN: 2025-03-10 15:14:06,455 - INFO - duration: 0.6975690620020032
MAIN: 2025-03-10 15:14:06,456 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:14:37,281 - INFO - taking picture
MAIN: 2025-03-10 15:14:37,281 - INFO - we take 1049 photos in this while loop
MAIN: 2025-03-10 15:14:37,282 - INFO - /home/pi/Desktop/images/10032025/15/14/image_10032025_15_14_36_30836.jpg
MAIN: 2025-03-10 15:14:37,282 - INFO - duration: 0.6877112500005751
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:15:06,712 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:15:07,475 - INFO - taking picture
MAIN: 2025-03-10 15:15:07,476 - INFO - we take 1050 photos in this while loop
MAIN: 2025-03-10 15:15:07,476 - INFO - /home/pi/Desktop/images/10032025/15/14/image_10032025_15_15_07_30184.jpg
MAIN: 2025-03-10 15:15:07,477 - INFO - duration: 0.6980249480038765
MAIN: 2025-03-10 15:15:07,477 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/15'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:15:36,985 - INFO - taking picture
MAIN: 2025-03-10 15:15:36,986 - INFO - we take 1051 photos in this while loop
MAIN: 2025-03-10 15:15:36,986 - INFO - /home/pi/Desktop/images/10032025/15/15/image_10032025_15_15_36_29536.jpg
MAIN: 2025-03-10 15:15:36,986 - INFO - duration: 0.6709810419997666
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:16: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-10 15:16:06,948 - INFO - taking picture
MAIN: 2025-03-10 15:16:06,948 - INFO - we take 1052 photos in this while loop
MAIN: 2025-03-10 15:16:06,948 - INFO - /home/pi/Desktop/images/10032025/15/15/image_10032025_15_16_06_29927.jpg
MAIN: 2025-03-10 15:16:06,948 - INFO - duration: 0.7052692709985422
MAIN: 2025-03-10 15:16:06,949 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:16:36,536 - INFO - taking picture
MAIN: 2025-03-10 15:16:36,536 - INFO - we take 1053 photos in this while loop
MAIN: 2025-03-10 15:16:36,537 - INFO - /home/pi/Desktop/images/10032025/15/16/image_10032025_15_16_36_29593.jpg
MAIN: 2025-03-10 15:16:36,537 - INFO - duration: 0.7001552600049763
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:17:06,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 ! 
MAIN: 2025-03-10 15:17:06,709 - INFO - taking picture
MAIN: 2025-03-10 15:17:06,710 - INFO - we take 1054 photos in this while loop
MAIN: 2025-03-10 15:17:06,710 - INFO - /home/pi/Desktop/images/10032025/15/16/image_10032025_15_17_06_30156.jpg
MAIN: 2025-03-10 15:17:06,710 - INFO - duration: 0.7176818230000208
MAIN: 2025-03-10 15:17:06,711 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:17:36,367 - INFO - taking picture
MAIN: 2025-03-10 15:17:36,367 - INFO - we take 1055 photos in this while loop
MAIN: 2025-03-10 15:17:36,368 - INFO - /home/pi/Desktop/images/10032025/15/17/image_10032025_15_17_35_29682.jpg
MAIN: 2025-03-10 15:17:36,368 - INFO - duration: 0.6926536979954108
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:18:06,196 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 15:18:06,511 - INFO - taking picture
MAIN: 2025-03-10 15:18:06,512 - INFO - we take 1056 photos in this while loop
MAIN: 2025-03-10 15:18:06,512 - INFO - /home/pi/Desktop/images/10032025/15/17/image_10032025_15_18_06_30125.jpg
MAIN: 2025-03-10 15:18:06,512 - INFO - duration: 0.7119979160052026
MAIN: 2025-03-10 15:18:06,513 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/18'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:18:37,508 - INFO - taking picture
MAIN: 2025-03-10 15:18:37,509 - INFO - we take 1057 photos in this while loop
MAIN: 2025-03-10 15:18:37,509 - INFO - /home/pi/Desktop/images/10032025/15/18/image_10032025_15_18_37_31006.jpg
MAIN: 2025-03-10 15:18:37,509 - INFO - duration: 0.7022469790026662
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:19:05,759 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:19:06,321 - INFO - taking picture
MAIN: 2025-03-10 15:19:06,321 - INFO - we take 1058 photos in this while loop
MAIN: 2025-03-10 15:19:06,322 - INFO - /home/pi/Desktop/images/10032025/15/18/image_10032025_15_19_05_28808.jpg
MAIN: 2025-03-10 15:19:06,322 - INFO - duration: 0.7060988009980065
MAIN: 2025-03-10 15:19:06,322 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:19:37,220 - INFO - taking picture
MAIN: 2025-03-10 15:19:37,221 - INFO - we take 1059 photos in this while loop
MAIN: 2025-03-10 15:19:37,221 - INFO - /home/pi/Desktop/images/10032025/15/19/image_10032025_15_19_36_30930.jpg
MAIN: 2025-03-10 15:19:37,221 - INFO - duration: 0.6746557289952761
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:20:06,410 - INFO - taking picture
MAIN: 2025-03-10 15:20:06,411 - INFO - we take 1060 photos in this while loop
MAIN: 2025-03-10 15:20:06,411 - INFO - /home/pi/Desktop/images/10032025/15/19/image_10032025_15_20_06_29185.jpg
MAIN: 2025-03-10 15:20:06,411 - INFO - duration: 0.6788471879990539
MAIN: 2025-03-10 15:20:06,412 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/20'
MAIN: 2025-03-10 15:20: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:20:37,258 - INFO - taking picture
MAIN: 2025-03-10 15:20:37,259 - INFO - we take 1061 photos in this while loop
MAIN: 2025-03-10 15:20:37,259 - INFO - /home/pi/Desktop/images/10032025/15/20/image_10032025_15_20_36_30834.jpg
MAIN: 2025-03-10 15:20:37,259 - INFO - duration: 0.6928012499993201
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:21:05,924 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:21:06,907 - INFO - taking picture
MAIN: 2025-03-10 15:21:06,907 - INFO - we take 1062 photos in this while loop
MAIN: 2025-03-10 15:21:06,908 - INFO - /home/pi/Desktop/images/10032025/15/20/image_10032025_15_21_06_29706.jpg
MAIN: 2025-03-10 15:21:06,908 - INFO - duration: 0.6351090620009927
MAIN: 2025-03-10 15:21:06,908 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/21'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:21:36,513 - INFO - taking picture
MAIN: 2025-03-10 15:21:36,514 - INFO - we take 1063 photos in this while loop
MAIN: 2025-03-10 15:21:36,514 - INFO - /home/pi/Desktop/images/10032025/15/21/image_10032025_15_21_36_29541.jpg
MAIN: 2025-03-10 15:21:36,515 - INFO - duration: 0.7002579690015409
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:22:06,730 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 15:22:06,762 - INFO - taking picture
MAIN: 2025-03-10 15:22:06,763 - INFO - we take 1064 photos in this while loop
MAIN: 2025-03-10 15:22:06,763 - INFO - /home/pi/Desktop/images/10032025/15/21/image_10032025_15_22_06_30267.jpg
MAIN: 2025-03-10 15:22:06,763 - INFO - duration: 0.6815832290012622
MAIN: 2025-03-10 15:22:06,764 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:22:36,412 - INFO - taking picture
MAIN: 2025-03-10 15:22:36,412 - INFO - we take 1065 photos in this while loop
MAIN: 2025-03-10 15:22:36,412 - INFO - /home/pi/Desktop/images/10032025/15/22/image_10032025_15_22_36_29628.jpg
MAIN: 2025-03-10 15:22:36,413 - INFO - duration: 0.7030185930052539
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:23:06,259 - INFO - cam.read() 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-10 15:23:06,492 - INFO - taking picture
MAIN: 2025-03-10 15:23:06,493 - INFO - we take 1066 photos in this while loop
MAIN: 2025-03-10 15:23:06,493 - INFO - /home/pi/Desktop/images/10032025/15/22/image_10032025_15_23_06_30084.jpg
MAIN: 2025-03-10 15:23:06,493 - INFO - duration: 0.6990763020003214
MAIN: 2025-03-10 15:23:06,493 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:23:37,269 - INFO - taking picture
MAIN: 2025-03-10 15:23:37,269 - INFO - we take 1067 photos in this while loop
MAIN: 2025-03-10 15:23:37,270 - INFO - /home/pi/Desktop/images/10032025/15/23/image_10032025_15_23_36_30788.jpg
MAIN: 2025-03-10 15:23:37,270 - INFO - duration: 0.6869946869992418
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:24: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:24:06,267 - INFO - taking picture
MAIN: 2025-03-10 15:24:06,268 - INFO - we take 1068 photos in this while loop
MAIN: 2025-03-10 15:24:06,268 - INFO - /home/pi/Desktop/images/10032025/15/23/image_10032025_15_24_05_28988.jpg
MAIN: 2025-03-10 15:24:06,268 - INFO - duration: 0.6969102079965523
MAIN: 2025-03-10 15:24:06,269 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:24:37,018 - INFO - taking picture
MAIN: 2025-03-10 15:24:37,019 - INFO - we take 1069 photos in this while loop
MAIN: 2025-03-10 15:24:37,019 - INFO - /home/pi/Desktop/images/10032025/15/24/image_10032025_15_24_36_30757.jpg
MAIN: 2025-03-10 15:24:37,019 - INFO - duration: 0.6904560410039267
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:25: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:25:07,194 - INFO - taking picture
MAIN: 2025-03-10 15:25:07,195 - INFO - we take 1070 photos in this while loop
MAIN: 2025-03-10 15:25:07,195 - INFO - /home/pi/Desktop/images/10032025/15/24/image_10032025_15_25_06_30191.jpg
MAIN: 2025-03-10 15:25:07,195 - INFO - duration: 0.6748608850029996
MAIN: 2025-03-10 15:25:07,196 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:25:36,771 - INFO - taking picture
MAIN: 2025-03-10 15:25:36,772 - INFO - we take 1071 photos in this while loop
MAIN: 2025-03-10 15:25:36,772 - INFO - /home/pi/Desktop/images/10032025/15/25/image_10032025_15_25_36_29578.jpg
MAIN: 2025-03-10 15:25:36,772 - INFO - duration: 0.6731414579990087
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:26: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:26:06,940 - INFO - taking picture
MAIN: 2025-03-10 15:26:06,940 - INFO - we take 1072 photos in this while loop
MAIN: 2025-03-10 15:26:06,941 - INFO - /home/pi/Desktop/images/10032025/15/25/image_10032025_15_26_06_30129.jpg
MAIN: 2025-03-10 15:26:06,941 - INFO - duration: 0.711999269995431
MAIN: 2025-03-10 15:26:06,941 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/26'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:26:36,573 - INFO - taking picture
MAIN: 2025-03-10 15:26:36,574 - INFO - we take 1073 photos in this while loop
MAIN: 2025-03-10 15:26:36,574 - INFO - /home/pi/Desktop/images/10032025/15/26/image_10032025_15_26_36_29645.jpg
MAIN: 2025-03-10 15:26:36,574 - INFO - duration: 0.6994658330004313
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:27: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:27:06,505 - INFO - taking picture
MAIN: 2025-03-10 15:27:06,506 - INFO - we take 1074 photos in this while loop
MAIN: 2025-03-10 15:27:06,506 - INFO - /home/pi/Desktop/images/10032025/15/26/image_10032025_15_27_06_29912.jpg
MAIN: 2025-03-10 15:27:06,506 - INFO - duration: 0.7193797910003923
MAIN: 2025-03-10 15:27:06,507 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/27'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:27:37,422 - INFO - taking picture
MAIN: 2025-03-10 15:27:37,423 - INFO - we take 1075 photos in this while loop
MAIN: 2025-03-10 15:27:37,423 - INFO - /home/pi/Desktop/images/10032025/15/27/image_10032025_15_27_37_30961.jpg
MAIN: 2025-03-10 15:27:37,423 - INFO - duration: 0.6751914579945151
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:28: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:28:07,209 - INFO - taking picture
MAIN: 2025-03-10 15:28:07,210 - INFO - we take 1076 photos in this while loop
MAIN: 2025-03-10 15:28:07,210 - INFO - /home/pi/Desktop/images/10032025/15/27/image_10032025_15_28_06_29790.jpg
MAIN: 2025-03-10 15:28:07,210 - INFO - duration: 0.671989583002869
MAIN: 2025-03-10 15:28:07,211 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:28:36,668 - INFO - taking picture
MAIN: 2025-03-10 15:28:36,668 - INFO - we take 1077 photos in this while loop
MAIN: 2025-03-10 15:28:36,668 - INFO - /home/pi/Desktop/images/10032025/15/28/image_10032025_15_28_36_29441.jpg
MAIN: 2025-03-10 15:28:36,669 - INFO - duration: 0.6887881250004284
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:29: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-10 15:29:06,432 - INFO - taking picture
MAIN: 2025-03-10 15:29:06,433 - INFO - we take 1078 photos in this while loop
MAIN: 2025-03-10 15:29:06,433 - INFO - /home/pi/Desktop/images/10032025/15/28/image_10032025_15_29_06_29746.jpg
MAIN: 2025-03-10 15:29:06,433 - INFO - duration: 0.7066001040002448
MAIN: 2025-03-10 15:29:06,434 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:29:37,408 - INFO - taking picture
MAIN: 2025-03-10 15:29:37,409 - INFO - we take 1079 photos in this while loop
MAIN: 2025-03-10 15:29:37,409 - INFO - /home/pi/Desktop/images/10032025/15/29/image_10032025_15_29_37_30965.jpg
MAIN: 2025-03-10 15:29:37,409 - INFO - duration: 0.7170335940027144
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:30:06,427 - INFO - taking picture
MAIN: 2025-03-10 15:30:06,427 - INFO - we take 1080 photos in this while loop
MAIN: 2025-03-10 15:30:06,428 - INFO - /home/pi/Desktop/images/10032025/15/29/image_10032025_15_30_06_29070.jpg
MAIN: 2025-03-10 15:30:06,428 - INFO - duration: 0.6651876559990342
MAIN: 2025-03-10 15:30:06,428 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/30'
MAIN: 2025-03-10 15:30: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:30:37,179 - INFO - taking picture
MAIN: 2025-03-10 15:30:37,180 - INFO - we take 1081 photos in this while loop
MAIN: 2025-03-10 15:30:37,180 - INFO - /home/pi/Desktop/images/10032025/15/30/image_10032025_15_30_36_30728.jpg
MAIN: 2025-03-10 15:30:37,180 - INFO - duration: 0.6893723429966485
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 15:31: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:31:06,972 - INFO - taking picture
MAIN: 2025-03-10 15:31:06,973 - INFO - we take 1082 photos in this while loop
MAIN: 2025-03-10 15:31:06,973 - INFO - /home/pi/Desktop/images/10032025/15/30/image_10032025_15_31_06_29834.jpg
MAIN: 2025-03-10 15:31:06,973 - INFO - duration: 0.6476485409948509
MAIN: 2025-03-10 15:31:06,973 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:31:36,679 - INFO - taking picture
MAIN: 2025-03-10 15:31:36,679 - INFO - we take 1083 photos in this while loop
MAIN: 2025-03-10 15:31:36,680 - INFO - /home/pi/Desktop/images/10032025/15/31/image_10032025_15_31_36_29648.jpg
MAIN: 2025-03-10 15:31:36,680 - INFO - duration: 0.7060298430005787
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:32:06,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 ! 
MAIN: 2025-03-10 15:32:06,791 - INFO - taking picture
MAIN: 2025-03-10 15:32:06,791 - INFO - we take 1084 photos in this while loop
MAIN: 2025-03-10 15:32:06,792 - INFO - /home/pi/Desktop/images/10032025/15/31/image_10032025_15_32_06_30131.jpg
MAIN: 2025-03-10 15:32:06,792 - INFO - duration: 0.6863052080007037
MAIN: 2025-03-10 15:32:06,792 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:32:36,298 - INFO - taking picture
MAIN: 2025-03-10 15:32:36,298 - INFO - we take 1085 photos in this while loop
MAIN: 2025-03-10 15:32:36,298 - INFO - /home/pi/Desktop/images/10032025/15/32/image_10032025_15_32_35_29504.jpg
MAIN: 2025-03-10 15:32:36,299 - INFO - duration: 0.6882490099960705
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:33: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 ! 
MAIN: 2025-03-10 15:33:06,254 - INFO - taking picture
MAIN: 2025-03-10 15:33:06,254 - INFO - we take 1086 photos in this while loop
MAIN: 2025-03-10 15:33:06,254 - INFO - /home/pi/Desktop/images/10032025/15/32/image_10032025_15_33_05_29958.jpg
MAIN: 2025-03-10 15:33:06,255 - INFO - duration: 0.6861803130013868
MAIN: 2025-03-10 15:33:06,255 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:33:37,179 - INFO - taking picture
MAIN: 2025-03-10 15:33:37,180 - INFO - we take 1087 photos in this while loop
MAIN: 2025-03-10 15:33:37,180 - INFO - /home/pi/Desktop/images/10032025/15/33/image_10032025_15_33_36_30933.jpg
MAIN: 2025-03-10 15:33:37,180 - INFO - duration: 0.6784646880041691
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:34:06,958 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:34:07,403 - INFO - taking picture
MAIN: 2025-03-10 15:34:07,403 - INFO - we take 1088 photos in this while loop
MAIN: 2025-03-10 15:34:07,403 - INFO - /home/pi/Desktop/images/10032025/15/33/image_10032025_15_34_07_30214.jpg
MAIN: 2025-03-10 15:34:07,404 - INFO - duration: 0.687197394996474
MAIN: 2025-03-10 15:34:07,404 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/34'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:34:37,000 - INFO - taking picture
MAIN: 2025-03-10 15:34:37,001 - INFO - we take 1089 photos in this while loop
MAIN: 2025-03-10 15:34:37,001 - INFO - /home/pi/Desktop/images/10032025/15/34/image_10032025_15_34_36_29585.jpg
MAIN: 2025-03-10 15:34:37,001 - INFO - duration: 0.6994480729990755
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:35:06,375 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:35:07,001 - INFO - taking picture
MAIN: 2025-03-10 15:35:07,001 - INFO - we take 1090 photos in this while loop
MAIN: 2025-03-10 15:35:07,001 - INFO - /home/pi/Desktop/images/10032025/15/34/image_10032025_15_35_06_29978.jpg
MAIN: 2025-03-10 15:35:07,002 - INFO - duration: 0.7217810419970192
MAIN: 2025-03-10 15:35:07,002 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/35'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:35:36,529 - INFO - taking picture
MAIN: 2025-03-10 15:35:36,530 - INFO - we take 1091 photos in this while loop
MAIN: 2025-03-10 15:35:36,530 - INFO - /home/pi/Desktop/images/10032025/15/35/image_10032025_15_35_36_29562.jpg
MAIN: 2025-03-10 15:35:36,530 - INFO - duration: 0.6885186979998252
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:36: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 ! 
MAIN: 2025-03-10 15:36:06,675 - INFO - taking picture
MAIN: 2025-03-10 15:36:06,676 - INFO - we take 1092 photos in this while loop
MAIN: 2025-03-10 15:36:06,676 - INFO - /home/pi/Desktop/images/10032025/15/35/image_10032025_15_36_06_30146.jpg
MAIN: 2025-03-10 15:36:06,676 - INFO - duration: 0.688326406001579
MAIN: 2025-03-10 15:36:06,677 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/36'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:36:37,471 - INFO - taking picture
MAIN: 2025-03-10 15:36:37,471 - INFO - we take 1093 photos in this while loop
MAIN: 2025-03-10 15:36:37,471 - INFO - /home/pi/Desktop/images/10032025/15/36/image_10032025_15_36_37_30812.jpg
MAIN: 2025-03-10 15:36:37,472 - INFO - duration: 0.6709211459965445
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:37: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 ! 
MAIN: 2025-03-10 15:37:06,364 - INFO - taking picture
MAIN: 2025-03-10 15:37:06,364 - INFO - we take 1094 photos in this while loop
MAIN: 2025-03-10 15:37:06,365 - INFO - /home/pi/Desktop/images/10032025/15/36/image_10032025_15_37_05_28865.jpg
MAIN: 2025-03-10 15:37:06,365 - INFO - duration: 0.6989457809977466
MAIN: 2025-03-10 15:37:06,365 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:37:37,224 - INFO - taking picture
MAIN: 2025-03-10 15:37:37,225 - INFO - we take 1095 photos in this while loop
MAIN: 2025-03-10 15:37:37,225 - INFO - /home/pi/Desktop/images/10032025/15/37/image_10032025_15_37_36_30861.jpg
MAIN: 2025-03-10 15:37:37,225 - INFO - duration: 0.697428541003319
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:38:06,754 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:38:07,371 - INFO - taking picture
MAIN: 2025-03-10 15:38:07,372 - INFO - we take 1096 photos in this while loop
MAIN: 2025-03-10 15:38:07,372 - INFO - /home/pi/Desktop/images/10032025/15/37/image_10032025_15_38_06_30139.jpg
MAIN: 2025-03-10 15:38:07,372 - INFO - duration: 0.7052593750049709
MAIN: 2025-03-10 15:38:07,372 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:38:37,031 - INFO - taking picture
MAIN: 2025-03-10 15:38:37,031 - INFO - we take 1097 photos in this while loop
MAIN: 2025-03-10 15:38:37,031 - INFO - /home/pi/Desktop/images/10032025/15/38/image_10032025_15_38_36_29665.jpg
MAIN: 2025-03-10 15:38:37,032 - INFO - duration: 0.699359218000609
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:39:06,413 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:39:07,113 - INFO - taking picture
MAIN: 2025-03-10 15:39:07,114 - INFO - we take 1098 photos in this while loop
MAIN: 2025-03-10 15:39:07,114 - INFO - /home/pi/Desktop/images/10032025/15/38/image_10032025_15_39_06_30105.jpg
MAIN: 2025-03-10 15:39:07,114 - INFO - duration: 0.6762601560039911
MAIN: 2025-03-10 15:39:07,115 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:39:36,636 - INFO - taking picture
MAIN: 2025-03-10 15:39:36,636 - INFO - we take 1099 photos in this while loop
MAIN: 2025-03-10 15:39:36,637 - INFO - /home/pi/Desktop/images/10032025/15/39/image_10032025_15_39_36_29521.jpg
MAIN: 2025-03-10 15:39:36,637 - INFO - duration: 0.6772826039959909
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:40:06,796 - INFO - taking picture
MAIN: 2025-03-10 15:40:06,797 - INFO - we take 1100 photos in this while loop
MAIN: 2025-03-10 15:40:06,797 - INFO - /home/pi/Desktop/images/10032025/15/39/image_10032025_15_40_06_30115.jpg
MAIN: 2025-03-10 15:40:06,797 - INFO - duration: 0.7215958849992603
MAIN: 2025-03-10 15:40:06,798 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/40'
MAIN: 2025-03-10 15:40:07,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:40:36,266 - INFO - taking picture
MAIN: 2025-03-10 15:40:36,267 - INFO - we take 1101 photos in this while loop
MAIN: 2025-03-10 15:40:36,267 - INFO - /home/pi/Desktop/images/10032025/15/40/image_10032025_15_40_35_29524.jpg
MAIN: 2025-03-10 15:40:36,267 - INFO - duration: 0.667345624002337
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:41:05,699 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:41:07,526 - INFO - taking picture
MAIN: 2025-03-10 15:41:07,527 - INFO - we take 1102 photos in this while loop
MAIN: 2025-03-10 15:41:07,527 - INFO - /home/pi/Desktop/images/10032025/15/40/image_10032025_15_41_07_31231.jpg
MAIN: 2025-03-10 15:41:07,527 - INFO - duration: 0.6959188019973226
MAIN: 2025-03-10 15:41:07,528 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:41:37,025 - INFO - taking picture
MAIN: 2025-03-10 15:41:37,025 - INFO - we take 1103 photos in this while loop
MAIN: 2025-03-10 15:41:37,025 - INFO - /home/pi/Desktop/images/10032025/15/41/image_10032025_15_41_36_29498.jpg
MAIN: 2025-03-10 15:41:37,025 - INFO - duration: 0.6959526559949154
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:42:06,208 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:42:07,064 - INFO - taking picture
MAIN: 2025-03-10 15:42:07,065 - INFO - we take 1104 photos in this while loop
MAIN: 2025-03-10 15:42:07,065 - INFO - /home/pi/Desktop/images/10032025/15/41/image_10032025_15_42_06_30100.jpg
MAIN: 2025-03-10 15:42:07,065 - INFO - duration: 0.635614426995744
MAIN: 2025-03-10 15:42:07,066 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:42:36,624 - INFO - taking picture
MAIN: 2025-03-10 15:42:36,625 - INFO - we take 1105 photos in this while loop
MAIN: 2025-03-10 15:42:36,625 - INFO - /home/pi/Desktop/images/10032025/15/42/image_10032025_15_42_36_29494.jpg
MAIN: 2025-03-10 15:42:36,625 - INFO - duration: 0.7013121870040777
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:43:06,004 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:43:06,697 - INFO - taking picture
MAIN: 2025-03-10 15:43:06,697 - INFO - we take 1106 photos in this while loop
MAIN: 2025-03-10 15:43:06,697 - INFO - /home/pi/Desktop/images/10032025/15/42/image_10032025_15_43_06_30115.jpg
MAIN: 2025-03-10 15:43:06,698 - INFO - duration: 0.6580117699995753
MAIN: 2025-03-10 15:43:06,698 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/43'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:43:37,482 - INFO - taking picture
MAIN: 2025-03-10 15:43:37,482 - INFO - we take 1107 photos in this while loop
MAIN: 2025-03-10 15:43:37,483 - INFO - /home/pi/Desktop/images/10032025/15/43/image_10032025_15_43_37_30750.jpg
MAIN: 2025-03-10 15:43:37,483 - INFO - duration: 0.6928981770033715
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:44:06,311 - INFO - taking picture
MAIN: 2025-03-10 15:44:06,312 - INFO - we take 1108 photos in this while loop
MAIN: 2025-03-10 15:44:06,312 - INFO - /home/pi/Desktop/images/10032025/15/43/image_10032025_15_44_05_28839.jpg
MAIN: 2025-03-10 15:44:06,312 - INFO - duration: 0.6824382279955898
MAIN: 2025-03-10 15:44:06,312 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/44'
MAIN: 2025-03-10 15:44: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:44:37,188 - INFO - taking picture
MAIN: 2025-03-10 15:44:37,189 - INFO - we take 1109 photos in this while loop
MAIN: 2025-03-10 15:44:37,189 - INFO - /home/pi/Desktop/images/10032025/15/44/image_10032025_15_44_36_30868.jpg
MAIN: 2025-03-10 15:44:37,189 - INFO - duration: 0.6907514059930691
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:45:07,006 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 15:45:07,390 - INFO - taking picture
MAIN: 2025-03-10 15:45:07,391 - INFO - we take 1110 photos in this while loop
MAIN: 2025-03-10 15:45:07,392 - INFO - /home/pi/Desktop/images/10032025/15/44/image_10032025_15_45_06_30208.jpg
MAIN: 2025-03-10 15:45:07,392 - INFO - duration: 0.6849267180004972
MAIN: 2025-03-10 15:45:07,393 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/45'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:45:36,886 - INFO - taking picture
MAIN: 2025-03-10 15:45:36,887 - INFO - we take 1111 photos in this while loop
MAIN: 2025-03-10 15:45:36,887 - INFO - /home/pi/Desktop/images/10032025/15/45/image_10032025_15_45_36_29483.jpg
MAIN: 2025-03-10 15:45:36,887 - INFO - duration: 0.6968857290048618
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:46:06,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 ! 
MAIN: 2025-03-10 15:46:07,083 - INFO - taking picture
MAIN: 2025-03-10 15:46:07,083 - INFO - we take 1112 photos in this while loop
MAIN: 2025-03-10 15:46:07,084 - INFO - /home/pi/Desktop/images/10032025/15/45/image_10032025_15_46_06_30211.jpg
MAIN: 2025-03-10 15:46:07,084 - INFO - duration: 0.6825483849970624
MAIN: 2025-03-10 15:46:07,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/46'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:46:36,635 - INFO - taking picture
MAIN: 2025-03-10 15:46:36,635 - INFO - we take 1113 photos in this while loop
MAIN: 2025-03-10 15:46:36,636 - INFO - /home/pi/Desktop/images/10032025/15/46/image_10032025_15_46_36_29538.jpg
MAIN: 2025-03-10 15:46:36,636 - INFO - duration: 0.6961872909960221
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:47:05,645 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:47:06,445 - INFO - taking picture
MAIN: 2025-03-10 15:47:06,446 - INFO - we take 1114 photos in this while loop
MAIN: 2025-03-10 15:47:06,446 - INFO - /home/pi/Desktop/images/10032025/15/46/image_10032025_15_47_06_29861.jpg
MAIN: 2025-03-10 15:47:06,446 - INFO - duration: 0.6447070830035955
MAIN: 2025-03-10 15:47:06,447 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:47:37,392 - INFO - taking picture
MAIN: 2025-03-10 15:47:37,392 - INFO - we take 1115 photos in this while loop
MAIN: 2025-03-10 15:47:37,392 - INFO - /home/pi/Desktop/images/10032025/15/47/image_10032025_15_47_37_30884.jpg
MAIN: 2025-03-10 15:47:37,393 - INFO - duration: 0.7070615620032186
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:48: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-10 15:48:06,357 - INFO - taking picture
MAIN: 2025-03-10 15:48:06,358 - INFO - we take 1116 photos in this while loop
MAIN: 2025-03-10 15:48:06,358 - INFO - /home/pi/Desktop/images/10032025/15/47/image_10032025_15_48_05_28956.jpg
MAIN: 2025-03-10 15:48:06,358 - INFO - duration: 0.7157264060006128
MAIN: 2025-03-10 15:48:06,359 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/48'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:48:37,250 - INFO - taking picture
MAIN: 2025-03-10 15:48:37,250 - INFO - we take 1117 photos in this while loop
MAIN: 2025-03-10 15:48:37,251 - INFO - /home/pi/Desktop/images/10032025/15/48/image_10032025_15_48_36_30911.jpg
MAIN: 2025-03-10 15:48:37,251 - INFO - duration: 0.6967906249992666
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:49: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:49:06,864 - INFO - taking picture
MAIN: 2025-03-10 15:49:06,865 - INFO - we take 1118 photos in this while loop
MAIN: 2025-03-10 15:49:06,865 - INFO - /home/pi/Desktop/images/10032025/15/48/image_10032025_15_49_06_29638.jpg
MAIN: 2025-03-10 15:49:06,865 - INFO - duration: 0.6721498439947027
MAIN: 2025-03-10 15:49:06,866 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:49:36,491 - INFO - taking picture
MAIN: 2025-03-10 15:49:36,492 - INFO - we take 1119 photos in this while loop
MAIN: 2025-03-10 15:49:36,492 - INFO - /home/pi/Desktop/images/10032025/15/49/image_10032025_15_49_36_29602.jpg
MAIN: 2025-03-10 15:49:36,492 - INFO - duration: 0.6964835930048139
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:50:06,846 - INFO - taking picture
MAIN: 2025-03-10 15:50:06,847 - INFO - we take 1120 photos in this while loop
MAIN: 2025-03-10 15:50:06,847 - INFO - /home/pi/Desktop/images/10032025/15/49/image_10032025_15_50_06_30377.jpg
MAIN: 2025-03-10 15:50:06,847 - INFO - duration: 0.6744397389993537
MAIN: 2025-03-10 15:50:06,848 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/50'
MAIN: 2025-03-10 15:50:07,296 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:50:36,282 - INFO - taking picture
MAIN: 2025-03-10 15:50:36,283 - INFO - we take 1121 photos in this while loop
MAIN: 2025-03-10 15:50:36,283 - INFO - /home/pi/Desktop/images/10032025/15/50/image_10032025_15_50_35_29437.jpg
MAIN: 2025-03-10 15:50:36,283 - INFO - duration: 0.6733064060026663
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:51:06,044 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:51:07,339 - INFO - taking picture
MAIN: 2025-03-10 15:51:07,340 - INFO - we take 1122 photos in this while loop
MAIN: 2025-03-10 15:51:07,340 - INFO - /home/pi/Desktop/images/10032025/15/50/image_10032025_15_51_06_31058.jpg
MAIN: 2025-03-10 15:51:07,340 - INFO - duration: 0.6717400519992225
MAIN: 2025-03-10 15:51:07,340 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:51:37,023 - INFO - taking picture
MAIN: 2025-03-10 15:51:37,023 - INFO - we take 1123 photos in this while loop
MAIN: 2025-03-10 15:51:37,023 - INFO - /home/pi/Desktop/images/10032025/15/51/image_10032025_15_51_36_29667.jpg
MAIN: 2025-03-10 15:51:37,024 - INFO - duration: 0.6883228119986597
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:52:06,951 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 15:52:07,129 - INFO - taking picture
MAIN: 2025-03-10 15:52:07,129 - INFO - we take 1124 photos in this while loop
MAIN: 2025-03-10 15:52:07,129 - INFO - /home/pi/Desktop/images/10032025/15/51/image_10032025_15_52_06_30095.jpg
MAIN: 2025-03-10 15:52:07,130 - INFO - duration: 0.6990181770015624
MAIN: 2025-03-10 15:52:07,130 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:52:36,766 - INFO - taking picture
MAIN: 2025-03-10 15:52:36,766 - INFO - we take 1125 photos in this while loop
MAIN: 2025-03-10 15:52:36,766 - INFO - /home/pi/Desktop/images/10032025/15/52/image_10032025_15_52_36_29625.jpg
MAIN: 2025-03-10 15:52:36,767 - INFO - duration: 0.7104816659993958
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:53:06,708 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 15:53:07,038 - INFO - taking picture
MAIN: 2025-03-10 15:53:07,039 - INFO - we take 1126 photos in this while loop
MAIN: 2025-03-10 15:53:07,039 - INFO - /home/pi/Desktop/images/10032025/15/52/image_10032025_15_53_06_30271.jpg
MAIN: 2025-03-10 15:53:07,039 - INFO - duration: 0.7113431249963469
MAIN: 2025-03-10 15:53:07,040 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:53:36,681 - INFO - taking picture
MAIN: 2025-03-10 15:53:36,682 - INFO - we take 1127 photos in this while loop
MAIN: 2025-03-10 15:53:36,682 - INFO - /home/pi/Desktop/images/10032025/15/53/image_10032025_15_53_36_29677.jpg
MAIN: 2025-03-10 15:53:36,682 - INFO - duration: 0.6760956240032101
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:54:06,476 - INFO - cam.read() 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-10 15:54:06,705 - INFO - taking picture
MAIN: 2025-03-10 15:54:06,706 - INFO - we take 1128 photos in this while loop
MAIN: 2025-03-10 15:54:06,706 - INFO - /home/pi/Desktop/images/10032025/15/53/image_10032025_15_54_06_29985.jpg
MAIN: 2025-03-10 15:54:06,706 - INFO - duration: 0.714689530999749
MAIN: 2025-03-10 15:54:06,707 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:54:36,311 - INFO - taking picture
MAIN: 2025-03-10 15:54:36,312 - INFO - we take 1129 photos in this while loop
MAIN: 2025-03-10 15:54:36,312 - INFO - /home/pi/Desktop/images/10032025/15/54/image_10032025_15_54_35_29626.jpg
MAIN: 2025-03-10 15:54:36,312 - INFO - duration: 0.6942054689934594
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:55:06,645 - INFO - taking picture
MAIN: 2025-03-10 15:55:06,646 - INFO - we take 1130 photos in this while loop
MAIN: 2025-03-10 15:55:06,646 - INFO - /home/pi/Desktop/images/10032025/15/54/image_10032025_15_55_06_30362.jpg
MAIN: 2025-03-10 15:55:06,646 - INFO - duration: 0.665203696997196
MAIN: 2025-03-10 15:55:06,647 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/55'
MAIN: 2025-03-10 15:55:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:55:37,415 - INFO - taking picture
MAIN: 2025-03-10 15:55:37,416 - INFO - we take 1131 photos in this while loop
MAIN: 2025-03-10 15:55:37,416 - INFO - /home/pi/Desktop/images/10032025/15/55/image_10032025_15_55_37_30743.jpg
MAIN: 2025-03-10 15:55:37,416 - INFO - duration: 0.6921178640041035
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:56: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:56:07,445 - INFO - taking picture
MAIN: 2025-03-10 15:56:07,446 - INFO - we take 1132 photos in this while loop
MAIN: 2025-03-10 15:56:07,446 - INFO - /home/pi/Desktop/images/10032025/15/55/image_10032025_15_56_07_30028.jpg
MAIN: 2025-03-10 15:56:07,446 - INFO - duration: 0.6940337499981979
MAIN: 2025-03-10 15:56:07,447 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:56:37,068 - INFO - taking picture
MAIN: 2025-03-10 15:56:37,069 - INFO - we take 1133 photos in this while loop
MAIN: 2025-03-10 15:56:37,069 - INFO - /home/pi/Desktop/images/10032025/15/56/image_10032025_15_56_36_29622.jpg
MAIN: 2025-03-10 15:56:37,069 - INFO - duration: 0.6945055199976196
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:57: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:57:07,174 - INFO - taking picture
MAIN: 2025-03-10 15:57:07,175 - INFO - we take 1134 photos in this while loop
MAIN: 2025-03-10 15:57:07,175 - INFO - /home/pi/Desktop/images/10032025/15/56/image_10032025_15_57_06_30093.jpg
MAIN: 2025-03-10 15:57:07,175 - INFO - duration: 0.7075064579985337
MAIN: 2025-03-10 15:57:07,176 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/57'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:57:36,676 - INFO - taking picture
MAIN: 2025-03-10 15:57:36,677 - INFO - we take 1135 photos in this while loop
MAIN: 2025-03-10 15:57:36,677 - INFO - /home/pi/Desktop/images/10032025/15/57/image_10032025_15_57_36_29529.jpg
MAIN: 2025-03-10 15:57:36,677 - INFO - duration: 0.6806256769996253
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:58: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:58:06,630 - INFO - taking picture
MAIN: 2025-03-10 15:58:06,631 - INFO - we take 1136 photos in this while loop
MAIN: 2025-03-10 15:58:06,631 - INFO - /home/pi/Desktop/images/10032025/15/57/image_10032025_15_58_06_29991.jpg
MAIN: 2025-03-10 15:58:06,631 - INFO - duration: 0.6434856769992621
MAIN: 2025-03-10 15:58:06,632 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/15/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:58:36,281 - INFO - taking picture
MAIN: 2025-03-10 15:58:36,281 - INFO - we take 1137 photos in this while loop
MAIN: 2025-03-10 15:58:36,282 - INFO - /home/pi/Desktop/images/10032025/15/58/image_10032025_15_58_35_29589.jpg
MAIN: 2025-03-10 15:58:36,282 - INFO - duration: 0.7040844789953553
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 15:59:05,687 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:59:07,513 - INFO - taking picture
MAIN: 2025-03-10 15:59:07,513 - INFO - we take 1138 photos in this while loop
MAIN: 2025-03-10 15:59:07,513 - INFO - /home/pi/Desktop/images/10032025/15/58/image_10032025_15_59_07_31237.jpg
MAIN: 2025-03-10 15:59:07,513 - INFO - duration: 0.6982254169997759
MAIN: 2025-03-10 15:59:07,514 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 15:59:37,147 - INFO - taking picture
MAIN: 2025-03-10 15:59:37,148 - INFO - we take 1139 photos in this while loop
MAIN: 2025-03-10 15:59:37,148 - INFO - /home/pi/Desktop/images/10032025/15/59/image_10032025_15_59_36_29665.jpg
MAIN: 2025-03-10 15:59:37,148 - INFO - duration: 0.6678906759989331
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:00:07,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 ! 
MAIN: 2025-03-10 16:00:07,428 - INFO - taking picture
MAIN: 2025-03-10 16:00:07,429 - INFO - we take 1140 photos in this while loop
MAIN: 2025-03-10 16:00:07,430 - INFO - /home/pi/Desktop/images/10032025/15/59/image_10032025_16_00_07_30269.jpg
MAIN: 2025-03-10 16:00:07,430 - INFO - duration: 0.6797699480011943
MAIN: 2025-03-10 16:00:07,431 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/00'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:00:36,973 - INFO - taking picture
MAIN: 2025-03-10 16:00:36,973 - INFO - we take 1141 photos in this while loop
MAIN: 2025-03-10 16:00:36,973 - INFO - /home/pi/Desktop/images/10032025/16/00/image_10032025_16_00_36_29531.jpg
MAIN: 2025-03-10 16:00:36,974 - INFO - duration: 0.6921867190030753
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:01:05,657 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:01:07,102 - INFO - taking picture
MAIN: 2025-03-10 16:01:07,102 - INFO - we take 1142 photos in this while loop
MAIN: 2025-03-10 16:01:07,103 - INFO - /home/pi/Desktop/images/10032025/16/00/image_10032025_16_01_06_30121.jpg
MAIN: 2025-03-10 16:01:07,103 - INFO - duration: 0.6997158340018359
MAIN: 2025-03-10 16:01:07,103 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:01:36,706 - INFO - taking picture
MAIN: 2025-03-10 16:01:36,706 - INFO - we take 1143 photos in this while loop
MAIN: 2025-03-10 16:01:36,706 - INFO - /home/pi/Desktop/images/10032025/16/01/image_10032025_16_01_36_29608.jpg
MAIN: 2025-03-10 16:01:36,707 - INFO - duration: 0.6948747390051722
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:02: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:02:06,607 - INFO - taking picture
MAIN: 2025-03-10 16:02:06,607 - INFO - we take 1144 photos in this while loop
MAIN: 2025-03-10 16:02:06,608 - INFO - /home/pi/Desktop/images/10032025/16/01/image_10032025_16_02_06_29903.jpg
MAIN: 2025-03-10 16:02:06,608 - INFO - duration: 0.6928413540008478
MAIN: 2025-03-10 16:02:06,608 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/02'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:02:36,270 - INFO - taking picture
MAIN: 2025-03-10 16:02:36,271 - INFO - we take 1145 photos in this while loop
MAIN: 2025-03-10 16:02:36,271 - INFO - /home/pi/Desktop/images/10032025/16/02/image_10032025_16_02_35_29687.jpg
MAIN: 2025-03-10 16:02:36,271 - INFO - duration: 0.6690918750027777
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:03:05,786 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:03:06,413 - INFO - taking picture
MAIN: 2025-03-10 16:03:06,413 - INFO - we take 1146 photos in this while loop
MAIN: 2025-03-10 16:03:06,413 - INFO - /home/pi/Desktop/images/10032025/16/02/image_10032025_16_03_06_30114.jpg
MAIN: 2025-03-10 16:03:06,414 - INFO - duration: 0.6972784890022012
MAIN: 2025-03-10 16:03:06,414 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:03:37,290 - INFO - taking picture
MAIN: 2025-03-10 16:03:37,291 - INFO - we take 1147 photos in this while loop
MAIN: 2025-03-10 16:03:37,291 - INFO - /home/pi/Desktop/images/10032025/16/03/image_10032025_16_03_36_30886.jpg
MAIN: 2025-03-10 16:03:37,291 - INFO - duration: 0.6878471349991742
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:04:06,432 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:04:07,170 - INFO - taking picture
MAIN: 2025-03-10 16:04:07,171 - INFO - we take 1148 photos in this while loop
MAIN: 2025-03-10 16:04:07,171 - INFO - /home/pi/Desktop/images/10032025/16/03/image_10032025_16_04_06_29928.jpg
MAIN: 2025-03-10 16:04:07,171 - INFO - duration: 0.6390997910057195
MAIN: 2025-03-10 16:04:07,172 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/04'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:04:36,601 - INFO - taking picture
MAIN: 2025-03-10 16:04:36,602 - INFO - we take 1149 photos in this while loop
MAIN: 2025-03-10 16:04:36,602 - INFO - /home/pi/Desktop/images/10032025/16/04/image_10032025_16_04_36_29378.jpg
MAIN: 2025-03-10 16:04:36,602 - INFO - duration: 0.69124796899996
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:05:06,951 - INFO - taking picture
MAIN: 2025-03-10 16:05:06,952 - INFO - we take 1150 photos in this while loop
MAIN: 2025-03-10 16:05:06,952 - INFO - /home/pi/Desktop/images/10032025/16/04/image_10032025_16_05_06_30363.jpg
MAIN: 2025-03-10 16:05:06,952 - INFO - duration: 0.6770259889963199
MAIN: 2025-03-10 16:05:06,953 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/05'
MAIN: 2025-03-10 16:05:07,153 - INFO - cam.read() return no image
Will output and 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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:05:36,453 - INFO - taking picture
MAIN: 2025-03-10 16:05:36,454 - INFO - we take 1151 photos in this while loop
MAIN: 2025-03-10 16:05:36,454 - INFO - /home/pi/Desktop/images/10032025/16/05/image_10032025_16_05_36_29496.jpg
MAIN: 2025-03-10 16:05:36,454 - INFO - duration: 0.6827238539990503
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:06:06,346 - INFO - taking picture
MAIN: 2025-03-10 16:06:06,347 - INFO - we take 1152 photos in this while loop
MAIN: 2025-03-10 16:06:06,347 - INFO - /home/pi/Desktop/images/10032025/16/05/image_10032025_16_06_05_29896.jpg
MAIN: 2025-03-10 16:06:06,347 - INFO - duration: 0.6791553650036803
MAIN: 2025-03-10 16:06:06,347 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/06'
MAIN: 2025-03-10 16:06: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:06:37,213 - INFO - taking picture
MAIN: 2025-03-10 16:06:37,214 - INFO - we take 1153 photos in this while loop
MAIN: 2025-03-10 16:06:37,214 - INFO - /home/pi/Desktop/images/10032025/16/06/image_10032025_16_06_36_30863.jpg
MAIN: 2025-03-10 16:06:37,214 - INFO - duration: 0.6828188540021074
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:07:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:07:07,168 - INFO - taking picture
MAIN: 2025-03-10 16:07:07,169 - INFO - we take 1154 photos in this while loop
MAIN: 2025-03-10 16:07:07,169 - INFO - /home/pi/Desktop/images/10032025/16/06/image_10032025_16_07_06_29953.jpg
MAIN: 2025-03-10 16:07:07,169 - INFO - duration: 0.6851997909980128
MAIN: 2025-03-10 16:07:07,170 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:07:36,749 - INFO - taking picture
MAIN: 2025-03-10 16:07:36,749 - INFO - we take 1155 photos in this while loop
MAIN: 2025-03-10 16:07:36,749 - INFO - /home/pi/Desktop/images/10032025/16/07/image_10032025_16_07_36_29577.jpg
MAIN: 2025-03-10 16:07:36,750 - INFO - duration: 0.6874594789987896
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:08:06,198 - INFO - cam.read() 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-10 16:08:06,545 - INFO - taking picture
MAIN: 2025-03-10 16:08:06,546 - INFO - we take 1156 photos in this while loop
MAIN: 2025-03-10 16:08:06,546 - INFO - /home/pi/Desktop/images/10032025/16/07/image_10032025_16_08_06_29805.jpg
MAIN: 2025-03-10 16:08:06,546 - INFO - duration: 0.6791820829967037
MAIN: 2025-03-10 16:08:06,547 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:08:37,450 - INFO - taking picture
MAIN: 2025-03-10 16:08:37,451 - INFO - we take 1157 photos in this while loop
MAIN: 2025-03-10 16:08:37,451 - INFO - /home/pi/Desktop/images/10032025/16/08/image_10032025_16_08_37_30883.jpg
MAIN: 2025-03-10 16:08:37,451 - INFO - duration: 0.70004234299995
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:09: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:09:06,346 - INFO - taking picture
MAIN: 2025-03-10 16:09:06,347 - INFO - we take 1158 photos in this while loop
MAIN: 2025-03-10 16:09:06,347 - INFO - /home/pi/Desktop/images/10032025/16/08/image_10032025_16_09_05_28882.jpg
MAIN: 2025-03-10 16:09:06,347 - INFO - duration: 0.7140152600040892
MAIN: 2025-03-10 16:09:06,348 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:09:37,297 - INFO - taking picture
MAIN: 2025-03-10 16:09:37,297 - INFO - we take 1159 photos in this while loop
MAIN: 2025-03-10 16:09:37,297 - INFO - /home/pi/Desktop/images/10032025/16/09/image_10032025_16_09_36_30983.jpg
MAIN: 2025-03-10 16:09:37,297 - INFO - duration: 0.6802536969989887
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:10:07,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 ! 
MAIN: 2025-03-10 16:10:07,487 - INFO - taking picture
MAIN: 2025-03-10 16:10:07,488 - INFO - we take 1160 photos in this while loop
MAIN: 2025-03-10 16:10:07,489 - INFO - /home/pi/Desktop/images/10032025/16/09/image_10032025_16_10_07_30199.jpg
MAIN: 2025-03-10 16:10:07,489 - INFO - duration: 0.6716617190031684
MAIN: 2025-03-10 16:10:07,489 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:10:36,891 - INFO - taking picture
MAIN: 2025-03-10 16:10:36,892 - INFO - we take 1161 photos in this while loop
MAIN: 2025-03-10 16:10:36,892 - INFO - /home/pi/Desktop/images/10032025/16/10/image_10032025_16_10_36_29403.jpg
MAIN: 2025-03-10 16:10:36,892 - INFO - duration: 0.6714817710017087
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:11:06,570 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 16:11:06,737 - INFO - taking picture
MAIN: 2025-03-10 16:11:06,738 - INFO - we take 1162 photos in this while loop
MAIN: 2025-03-10 16:11:06,738 - INFO - /home/pi/Desktop/images/10032025/16/10/image_10032025_16_11_06_29830.jpg
MAIN: 2025-03-10 16:11:06,738 - INFO - duration: 0.687086823003483
MAIN: 2025-03-10 16:11:06,738 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:11:36,283 - INFO - taking picture
MAIN: 2025-03-10 16:11:36,284 - INFO - we take 1163 photos in this while loop
MAIN: 2025-03-10 16:11:36,284 - INFO - /home/pi/Desktop/images/10032025/16/11/image_10032025_16_11_35_29565.jpg
MAIN: 2025-03-10 16:11:36,284 - INFO - duration: 0.6675753640010953
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:12:06,323 - INFO - taking picture
MAIN: 2025-03-10 16:12:06,324 - INFO - we take 1164 photos in this while loop
MAIN: 2025-03-10 16:12:06,324 - INFO - /home/pi/Desktop/images/10032025/16/11/image_10032025_16_12_05_30053.jpg
MAIN: 2025-03-10 16:12:06,324 - INFO - duration: 0.6539579689997481
MAIN: 2025-03-10 16:12:06,325 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/12'
MAIN: 2025-03-10 16:12:06,931 - INFO - cam.read() return no image
Will output and 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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:12:37,161 - INFO - taking picture
MAIN: 2025-03-10 16:12:37,161 - INFO - we take 1165 photos in this while loop
MAIN: 2025-03-10 16:12:37,162 - INFO - /home/pi/Desktop/images/10032025/16/12/image_10032025_16_12_36_30826.jpg
MAIN: 2025-03-10 16:12:37,162 - INFO - duration: 0.6654295830012416
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 16:13:05,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:13:06,973 - INFO - taking picture
MAIN: 2025-03-10 16:13:06,974 - INFO - we take 1166 photos in this while loop
MAIN: 2025-03-10 16:13:06,974 - INFO - /home/pi/Desktop/images/10032025/16/12/image_10032025_16_13_06_29781.jpg
MAIN: 2025-03-10 16:13:06,974 - INFO - duration: 0.6966653119961848
MAIN: 2025-03-10 16:13:06,974 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/13'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:13:36,554 - INFO - taking picture
MAIN: 2025-03-10 16:13:36,555 - INFO - we take 1167 photos in this while loop
MAIN: 2025-03-10 16:13:36,555 - INFO - /home/pi/Desktop/images/10032025/16/13/image_10032025_16_13_36_29587.jpg
MAIN: 2025-03-10 16:13:36,555 - INFO - duration: 0.6899333850014955
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:14:06,452 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 16:14:06,727 - INFO - taking picture
MAIN: 2025-03-10 16:14:06,727 - INFO - we take 1168 photos in this while loop
MAIN: 2025-03-10 16:14:06,727 - INFO - /home/pi/Desktop/images/10032025/16/13/image_10032025_16_14_06_30163.jpg
MAIN: 2025-03-10 16:14:06,728 - INFO - duration: 0.6985216140019475
MAIN: 2025-03-10 16:14:06,728 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:14:36,321 - INFO - taking picture
MAIN: 2025-03-10 16:14:36,321 - INFO - we take 1169 photos in this while loop
MAIN: 2025-03-10 16:14:36,321 - INFO - /home/pi/Desktop/images/10032025/16/14/image_10032025_16_14_35_29592.jpg
MAIN: 2025-03-10 16:14:36,321 - INFO - duration: 0.6999461980012711
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:15:06,553 - INFO - taking picture
MAIN: 2025-03-10 16:15:06,554 - INFO - we take 1170 photos in this while loop
MAIN: 2025-03-10 16:15:06,554 - INFO - /home/pi/Desktop/images/10032025/16/14/image_10032025_16_15_06_30259.jpg
MAIN: 2025-03-10 16:15:06,555 - INFO - duration: 0.6733334370001103
MAIN: 2025-03-10 16:15:06,555 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/15'
MAIN: 2025-03-10 16:15: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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:15:37,441 - INFO - taking picture
MAIN: 2025-03-10 16:15:37,441 - INFO - we take 1171 photos in this while loop
MAIN: 2025-03-10 16:15:37,441 - INFO - /home/pi/Desktop/images/10032025/16/15/image_10032025_16_15_37_30864.jpg
MAIN: 2025-03-10 16:15:37,442 - INFO - duration: 0.6954456769963144
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:16:06,460 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:16:07,310 - INFO - taking picture
MAIN: 2025-03-10 16:16:07,311 - INFO - we take 1172 photos in this while loop
MAIN: 2025-03-10 16:16:07,311 - INFO - /home/pi/Desktop/images/10032025/16/15/image_10032025_16_16_06_29925.jpg
MAIN: 2025-03-10 16:16:07,311 - INFO - duration: 0.6397405720053939
MAIN: 2025-03-10 16:16:07,311 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:16:37,024 - INFO - taking picture
MAIN: 2025-03-10 16:16:37,025 - INFO - we take 1173 photos in this while loop
MAIN: 2025-03-10 16:16:37,025 - INFO - /home/pi/Desktop/images/10032025/16/16/image_10032025_16_16_36_29680.jpg
MAIN: 2025-03-10 16:16:37,025 - INFO - duration: 0.6738508329945034
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:17:06,509 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:17:07,113 - INFO - taking picture
MAIN: 2025-03-10 16:17:07,114 - INFO - we take 1174 photos in this while loop
MAIN: 2025-03-10 16:17:07,114 - INFO - /home/pi/Desktop/images/10032025/16/16/image_10032025_16_17_06_30071.jpg
MAIN: 2025-03-10 16:17:07,114 - INFO - duration: 0.6912551040004473
MAIN: 2025-03-10 16:17:07,114 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:17:36,736 - INFO - taking picture
MAIN: 2025-03-10 16:17:36,737 - INFO - we take 1175 photos in this while loop
MAIN: 2025-03-10 16:17:36,737 - INFO - /home/pi/Desktop/images/10032025/16/17/image_10032025_16_17_36_29645.jpg
MAIN: 2025-03-10 16:17:36,737 - INFO - duration: 0.6685639580027782
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:18: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:18:06,885 - INFO - taking picture
MAIN: 2025-03-10 16:18:06,886 - INFO - we take 1176 photos in this while loop
MAIN: 2025-03-10 16:18:06,886 - INFO - /home/pi/Desktop/images/10032025/16/17/image_10032025_16_18_06_30172.jpg
MAIN: 2025-03-10 16:18:06,886 - INFO - duration: 0.6452714580009342
MAIN: 2025-03-10 16:18:06,886 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:18:36,463 - INFO - taking picture
MAIN: 2025-03-10 16:18:36,464 - INFO - we take 1177 photos in this while loop
MAIN: 2025-03-10 16:18:36,464 - INFO - /home/pi/Desktop/images/10032025/16/18/image_10032025_16_18_36_29559.jpg
MAIN: 2025-03-10 16:18:36,464 - INFO - duration: 0.6632307809995837
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:19: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-10 16:19:06,268 - INFO - taking picture
MAIN: 2025-03-10 16:19:06,268 - INFO - we take 1178 photos in this while loop
MAIN: 2025-03-10 16:19:06,269 - INFO - /home/pi/Desktop/images/10032025/16/18/image_10032025_16_19_05_29827.jpg
MAIN: 2025-03-10 16:19:06,269 - INFO - duration: 0.6403993750063819
MAIN: 2025-03-10 16:19:06,269 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:19:37,167 - INFO - taking picture
MAIN: 2025-03-10 16:19:37,167 - INFO - we take 1179 photos in this while loop
MAIN: 2025-03-10 16:19:37,167 - INFO - /home/pi/Desktop/images/10032025/16/19/image_10032025_16_19_36_30847.jpg
MAIN: 2025-03-10 16:19:37,167 - INFO - duration: 0.6917832289982471
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:20:07,226 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 16:20:07,469 - INFO - taking picture
MAIN: 2025-03-10 16:20:07,470 - INFO - we take 1180 photos in this while loop
MAIN: 2025-03-10 16:20:07,470 - INFO - /home/pi/Desktop/images/10032025/16/19/image_10032025_16_20_07_30311.jpg
MAIN: 2025-03-10 16:20:07,471 - INFO - duration: 0.6838428639966878
MAIN: 2025-03-10 16:20:07,471 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:20:36,968 - INFO - taking picture
MAIN: 2025-03-10 16:20:36,969 - INFO - we take 1181 photos in this while loop
MAIN: 2025-03-10 16:20:36,969 - INFO - /home/pi/Desktop/images/10032025/16/20/image_10032025_16_20_36_29493.jpg
MAIN: 2025-03-10 16:20:36,969 - INFO - duration: 0.6885181250036112
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:21: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:21:07,042 - INFO - taking picture
MAIN: 2025-03-10 16:21:07,043 - INFO - we take 1182 photos in this while loop
MAIN: 2025-03-10 16:21:07,043 - INFO - /home/pi/Desktop/images/10032025/16/20/image_10032025_16_21_06_30120.jpg
MAIN: 2025-03-10 16:21:07,043 - INFO - duration: 0.6423552600026596
MAIN: 2025-03-10 16:21:07,044 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:21:36,501 - INFO - taking picture
MAIN: 2025-03-10 16:21:36,501 - INFO - we take 1183 photos in this while loop
MAIN: 2025-03-10 16:21:36,502 - INFO - /home/pi/Desktop/images/10032025/16/21/image_10032025_16_21_36_29408.jpg
MAIN: 2025-03-10 16:21:36,502 - INFO - duration: 0.6922085420010262
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:22: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:22:06,426 - INFO - taking picture
MAIN: 2025-03-10 16:22:06,427 - INFO - we take 1184 photos in this while loop
MAIN: 2025-03-10 16:22:06,427 - INFO - /home/pi/Desktop/images/10032025/16/21/image_10032025_16_22_06_29913.jpg
MAIN: 2025-03-10 16:22:06,427 - INFO - duration: 0.70462697900075
MAIN: 2025-03-10 16:22:06,428 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:22:37,184 - INFO - taking picture
MAIN: 2025-03-10 16:22:37,185 - INFO - we take 1185 photos in this while loop
MAIN: 2025-03-10 16:22:37,185 - INFO - /home/pi/Desktop/images/10032025/16/22/image_10032025_16_22_36_30758.jpg
MAIN: 2025-03-10 16:22:37,185 - INFO - duration: 0.7038545310060726
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:23: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:23:07,252 - INFO - taking picture
MAIN: 2025-03-10 16:23:07,252 - INFO - we take 1186 photos in this while loop
MAIN: 2025-03-10 16:23:07,253 - INFO - /home/pi/Desktop/images/10032025/16/22/image_10032025_16_23_06_30095.jpg
MAIN: 2025-03-10 16:23:07,253 - INFO - duration: 0.676228436997917
MAIN: 2025-03-10 16:23:07,253 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:23:36,897 - INFO - taking picture
MAIN: 2025-03-10 16:23:36,897 - INFO - we take 1187 photos in this while loop
MAIN: 2025-03-10 16:23:36,897 - INFO - /home/pi/Desktop/images/10032025/16/23/image_10032025_16_23_36_29617.jpg
MAIN: 2025-03-10 16:23:36,897 - INFO - duration: 0.7032043230065028
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:24: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:24:07,042 - INFO - taking picture
MAIN: 2025-03-10 16:24:07,042 - INFO - we take 1188 photos in this while loop
MAIN: 2025-03-10 16:24:07,043 - INFO - /home/pi/Desktop/images/10032025/16/23/image_10032025_16_24_06_30206.jpg
MAIN: 2025-03-10 16:24:07,043 - INFO - duration: 0.6419565620017238
MAIN: 2025-03-10 16:24:07,043 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/24'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:24:36,732 - INFO - taking picture
MAIN: 2025-03-10 16:24:36,733 - INFO - we take 1189 photos in this while loop
MAIN: 2025-03-10 16:24:36,733 - INFO - /home/pi/Desktop/images/10032025/16/24/image_10032025_16_24_36_29687.jpg
MAIN: 2025-03-10 16:24:36,733 - INFO - duration: 0.6451035930003854
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:25: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 ! 
MAIN: 2025-03-10 16:25:06,808 - INFO - taking picture
MAIN: 2025-03-10 16:25:06,809 - INFO - we take 1190 photos in this while loop
MAIN: 2025-03-10 16:25:06,810 - INFO - /home/pi/Desktop/images/10032025/16/24/image_10032025_16_25_06_30030.jpg
MAIN: 2025-03-10 16:25:06,810 - INFO - duration: 0.6912862499957555
MAIN: 2025-03-10 16:25:06,810 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/25'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:25:36,480 - INFO - taking picture
MAIN: 2025-03-10 16:25:36,481 - INFO - we take 1191 photos in this while loop
MAIN: 2025-03-10 16:25:36,481 - INFO - /home/pi/Desktop/images/10032025/16/25/image_10032025_16_25_36_29683.jpg
MAIN: 2025-03-10 16:25:36,481 - INFO - duration: 0.6791066669975407
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:26:06,595 - INFO - taking picture
MAIN: 2025-03-10 16:26:06,595 - INFO - we take 1192 photos in this while loop
MAIN: 2025-03-10 16:26:06,596 - INFO - /home/pi/Desktop/images/10032025/16/25/image_10032025_16_26_06_30118.jpg
MAIN: 2025-03-10 16:26:06,596 - INFO - duration: 0.6756047399976524
MAIN: 2025-03-10 16:26:06,596 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/26'
MAIN: 2025-03-10 16:26:06,821 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:26:37,434 - INFO - taking picture
MAIN: 2025-03-10 16:26:37,435 - INFO - we take 1193 photos in this while loop
MAIN: 2025-03-10 16:26:37,435 - INFO - /home/pi/Desktop/images/10032025/16/26/image_10032025_16_26_37_30823.jpg
MAIN: 2025-03-10 16:26:37,435 - INFO - duration: 0.6916990620011347
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:27: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:27:07,232 - INFO - taking picture
MAIN: 2025-03-10 16:27:07,233 - INFO - we take 1194 photos in this while loop
MAIN: 2025-03-10 16:27:07,233 - INFO - /home/pi/Desktop/images/10032025/16/26/image_10032025_16_27_06_29854.jpg
MAIN: 2025-03-10 16:27:07,233 - INFO - duration: 0.6343451039938373
MAIN: 2025-03-10 16:27:07,233 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/27'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:27:36,746 - INFO - taking picture
MAIN: 2025-03-10 16:27:36,747 - INFO - we take 1195 photos in this while loop
MAIN: 2025-03-10 16:27:36,747 - INFO - /home/pi/Desktop/images/10032025/16/27/image_10032025_16_27_36_29458.jpg
MAIN: 2025-03-10 16:27:36,747 - INFO - duration: 0.6901582810023683
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:28: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:28:06,574 - INFO - taking picture
MAIN: 2025-03-10 16:28:06,575 - INFO - we take 1196 photos in this while loop
MAIN: 2025-03-10 16:28:06,575 - INFO - /home/pi/Desktop/images/10032025/16/27/image_10032025_16_28_06_29875.jpg
MAIN: 2025-03-10 16:28:06,575 - INFO - duration: 0.6431565620005131
MAIN: 2025-03-10 16:28:06,576 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/28'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:28:37,355 - INFO - taking picture
MAIN: 2025-03-10 16:28:37,355 - INFO - we take 1197 photos in this while loop
MAIN: 2025-03-10 16:28:37,356 - INFO - /home/pi/Desktop/images/10032025/16/28/image_10032025_16_28_36_30758.jpg
MAIN: 2025-03-10 16:28:37,356 - INFO - duration: 0.6646854159989743
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:29:05,689 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:29:07,492 - INFO - taking picture
MAIN: 2025-03-10 16:29:07,493 - INFO - we take 1198 photos in this while loop
MAIN: 2025-03-10 16:29:07,493 - INFO - /home/pi/Desktop/images/10032025/16/28/image_10032025_16_29_07_30135.jpg
MAIN: 2025-03-10 16:29:07,493 - INFO - duration: 0.6659474479965866
MAIN: 2025-03-10 16:29:07,493 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:29:37,048 - INFO - taking picture
MAIN: 2025-03-10 16:29:37,048 - INFO - we take 1199 photos in this while loop
MAIN: 2025-03-10 16:29:37,048 - INFO - /home/pi/Desktop/images/10032025/16/29/image_10032025_16_29_36_29543.jpg
MAIN: 2025-03-10 16:29:37,049 - INFO - duration: 0.6775552600010997
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:30:07,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-10 16:30:07,296 - INFO - taking picture
MAIN: 2025-03-10 16:30:07,297 - INFO - we take 1200 photos in this while loop
MAIN: 2025-03-10 16:30:07,297 - INFO - /home/pi/Desktop/images/10032025/16/29/image_10032025_16_30_06_30251.jpg
MAIN: 2025-03-10 16:30:07,297 - INFO - duration: 0.6749056769986055
MAIN: 2025-03-10 16:30:07,298 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:30:36,731 - INFO - taking picture
MAIN: 2025-03-10 16:30:36,732 - INFO - we take 1201 photos in this while loop
MAIN: 2025-03-10 16:30:36,732 - INFO - /home/pi/Desktop/images/10032025/16/30/image_10032025_16_30_36_29437.jpg
MAIN: 2025-03-10 16:30:36,732 - INFO - duration: 0.6722356250029407
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:31: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:31:06,770 - INFO - taking picture
MAIN: 2025-03-10 16:31:06,771 - INFO - we take 1202 photos in this while loop
MAIN: 2025-03-10 16:31:06,771 - INFO - /home/pi/Desktop/images/10032025/16/30/image_10032025_16_31_06_30076.jpg
MAIN: 2025-03-10 16:31:06,771 - INFO - duration: 0.6350060929980827
MAIN: 2025-03-10 16:31:06,772 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:31:36,372 - INFO - taking picture
MAIN: 2025-03-10 16:31:36,372 - INFO - we take 1203 photos in this while loop
MAIN: 2025-03-10 16:31:36,372 - INFO - /home/pi/Desktop/images/10032025/16/31/image_10032025_16_31_35_29536.jpg
MAIN: 2025-03-10 16:31:36,373 - INFO - duration: 0.6994240100029856
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:32: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 ! 
MAIN: 2025-03-10 16:32:06,600 - INFO - taking picture
MAIN: 2025-03-10 16:32:06,601 - INFO - we take 1204 photos in this while loop
MAIN: 2025-03-10 16:32:06,601 - INFO - /home/pi/Desktop/images/10032025/16/31/image_10032025_16_32_06_30246.jpg
MAIN: 2025-03-10 16:32:06,602 - INFO - duration: 0.681501405997551
MAIN: 2025-03-10 16:32:06,602 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/32'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:32:37,349 - INFO - taking picture
MAIN: 2025-03-10 16:32:37,349 - INFO - we take 1205 photos in this while loop
MAIN: 2025-03-10 16:32:37,350 - INFO - /home/pi/Desktop/images/10032025/16/32/image_10032025_16_32_36_30787.jpg
MAIN: 2025-03-10 16:32:37,350 - INFO - duration: 0.6424742189992685
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:33:06,336 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:33:07,222 - INFO - taking picture
MAIN: 2025-03-10 16:33:07,223 - INFO - we take 1206 photos in this while loop
MAIN: 2025-03-10 16:33:07,223 - INFO - /home/pi/Desktop/images/10032025/16/32/image_10032025_16_33_06_29872.jpg
MAIN: 2025-03-10 16:33:07,223 - INFO - duration: 0.6432241670045187
MAIN: 2025-03-10 16:33:07,224 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:33:36,862 - INFO - taking picture
MAIN: 2025-03-10 16:33:36,862 - INFO - we take 1207 photos in this while loop
MAIN: 2025-03-10 16:33:36,862 - INFO - /home/pi/Desktop/images/10032025/16/33/image_10032025_16_33_36_29640.jpg
MAIN: 2025-03-10 16:33:36,863 - INFO - duration: 0.6420837499972549
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:34: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:34:06,710 - INFO - taking picture
MAIN: 2025-03-10 16:34:06,711 - INFO - we take 1208 photos in this while loop
MAIN: 2025-03-10 16:34:06,711 - INFO - /home/pi/Desktop/images/10032025/16/33/image_10032025_16_34_06_29847.jpg
MAIN: 2025-03-10 16:34:06,711 - INFO - duration: 0.6427566150014172
MAIN: 2025-03-10 16:34:06,711 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:34:36,221 - INFO - taking picture
MAIN: 2025-03-10 16:34:36,221 - INFO - we take 1209 photos in this while loop
MAIN: 2025-03-10 16:34:36,222 - INFO - /home/pi/Desktop/images/10032025/16/34/image_10032025_16_34_35_29510.jpg
MAIN: 2025-03-10 16:34:36,222 - INFO - duration: 0.6425956250022864
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:35: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-10 16:35:06,494 - INFO - taking picture
MAIN: 2025-03-10 16:35:06,495 - INFO - we take 1210 photos in this while loop
MAIN: 2025-03-10 16:35:06,495 - INFO - /home/pi/Desktop/images/10032025/16/34/image_10032025_16_35_06_30217.jpg
MAIN: 2025-03-10 16:35:06,495 - INFO - duration: 0.698769998998614
MAIN: 2025-03-10 16:35:06,496 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:35:37,267 - INFO - taking picture
MAIN: 2025-03-10 16:35:37,267 - INFO - we take 1211 photos in this while loop
MAIN: 2025-03-10 16:35:37,268 - INFO - /home/pi/Desktop/images/10032025/16/35/image_10032025_16_35_36_30782.jpg
MAIN: 2025-03-10 16:35:37,268 - INFO - duration: 0.6886086980011896
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:36: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:36:07,309 - INFO - taking picture
MAIN: 2025-03-10 16:36:07,310 - INFO - we take 1212 photos in this while loop
MAIN: 2025-03-10 16:36:07,310 - INFO - /home/pi/Desktop/images/10032025/16/35/image_10032025_16_36_06_30089.jpg
MAIN: 2025-03-10 16:36:07,310 - INFO - duration: 0.641193645002204
MAIN: 2025-03-10 16:36:07,311 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:36:37,042 - INFO - taking picture
MAIN: 2025-03-10 16:36:37,043 - INFO - we take 1213 photos in this while loop
MAIN: 2025-03-10 16:36:37,043 - INFO - /home/pi/Desktop/images/10032025/16/36/image_10032025_16_36_36_29674.jpg
MAIN: 2025-03-10 16:36:37,043 - INFO - duration: 0.6995906759984791
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:37: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:37:07,013 - INFO - taking picture
MAIN: 2025-03-10 16:37:07,013 - INFO - we take 1214 photos in this while loop
MAIN: 2025-03-10 16:37:07,013 - INFO - /home/pi/Desktop/images/10032025/16/36/image_10032025_16_37_06_30019.jpg
MAIN: 2025-03-10 16:37:07,014 - INFO - duration: 0.6503136460014503
MAIN: 2025-03-10 16:37:07,014 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:37:36,563 - INFO - taking picture
MAIN: 2025-03-10 16:37:36,563 - INFO - we take 1215 photos in this while loop
MAIN: 2025-03-10 16:37:36,564 - INFO - /home/pi/Desktop/images/10032025/16/37/image_10032025_16_37_36_29507.jpg
MAIN: 2025-03-10 16:37:36,564 - INFO - duration: 0.6928368740045698
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:38:06,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 ! 
MAIN: 2025-03-10 16:38:06,796 - INFO - taking picture
MAIN: 2025-03-10 16:38:06,797 - INFO - we take 1216 photos in this while loop
MAIN: 2025-03-10 16:38:06,797 - INFO - /home/pi/Desktop/images/10032025/16/37/image_10032025_16_38_06_30212.jpg
MAIN: 2025-03-10 16:38:06,797 - INFO - duration: 0.7132580199977383
MAIN: 2025-03-10 16:38:06,797 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:38:36,393 - INFO - taking picture
MAIN: 2025-03-10 16:38:36,393 - INFO - we take 1217 photos in this while loop
MAIN: 2025-03-10 16:38:36,394 - INFO - /home/pi/Desktop/images/10032025/16/38/image_10032025_16_38_36_29603.jpg
MAIN: 2025-03-10 16:38:36,394 - INFO - duration: 0.7071638540001004
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:39:06,300 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:39:07,398 - INFO - taking picture
MAIN: 2025-03-10 16:39:07,399 - INFO - we take 1218 photos in this while loop
MAIN: 2025-03-10 16:39:07,399 - INFO - /home/pi/Desktop/images/10032025/16/38/image_10032025_16_39_07_31076.jpg
MAIN: 2025-03-10 16:39:07,399 - INFO - duration: 0.6356734889996005
MAIN: 2025-03-10 16:39:07,400 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:39:36,878 - INFO - taking picture
MAIN: 2025-03-10 16:39:36,878 - INFO - we take 1219 photos in this while loop
MAIN: 2025-03-10 16:39:36,879 - INFO - /home/pi/Desktop/images/10032025/16/39/image_10032025_16_39_36_29473.jpg
MAIN: 2025-03-10 16:39:36,879 - INFO - duration: 0.6421232290012995
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:40:06,374 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:40:07,093 - INFO - taking picture
MAIN: 2025-03-10 16:40:07,094 - INFO - we take 1220 photos in this while loop
MAIN: 2025-03-10 16:40:07,094 - INFO - /home/pi/Desktop/images/10032025/16/39/image_10032025_16_40_06_30153.jpg
MAIN: 2025-03-10 16:40:07,095 - INFO - duration: 0.7045860930011258
MAIN: 2025-03-10 16:40:07,095 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:40:36,735 - INFO - taking picture
MAIN: 2025-03-10 16:40:36,735 - INFO - we take 1221 photos in this while loop
MAIN: 2025-03-10 16:40:36,735 - INFO - /home/pi/Desktop/images/10032025/16/40/image_10032025_16_40_36_29704.jpg
MAIN: 2025-03-10 16:40:36,735 - INFO - duration: 0.6407627079970553
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:41: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:41:06,693 - INFO - taking picture
MAIN: 2025-03-10 16:41:06,693 - INFO - we take 1222 photos in this while loop
MAIN: 2025-03-10 16:41:06,693 - INFO - /home/pi/Desktop/images/10032025/16/40/image_10032025_16_41_06_29959.jpg
MAIN: 2025-03-10 16:41:06,694 - INFO - duration: 0.6390809369986528
MAIN: 2025-03-10 16:41:06,694 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:41:36,217 - INFO - taking picture
MAIN: 2025-03-10 16:41:36,218 - INFO - we take 1223 photos in this while loop
MAIN: 2025-03-10 16:41:36,218 - INFO - /home/pi/Desktop/images/10032025/16/41/image_10032025_16_41_35_29518.jpg
MAIN: 2025-03-10 16:41:36,218 - INFO - duration: 0.6454457810032181
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:42:06,497 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:42:07,391 - INFO - taking picture
MAIN: 2025-03-10 16:42:07,392 - INFO - we take 1224 photos in this while loop
MAIN: 2025-03-10 16:42:07,392 - INFO - /home/pi/Desktop/images/10032025/16/41/image_10032025_16_42_07_31176.jpg
MAIN: 2025-03-10 16:42:07,392 - INFO - duration: 0.6427166139983456
MAIN: 2025-03-10 16:42:07,392 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:42:37,091 - INFO - taking picture
MAIN: 2025-03-10 16:42:37,091 - INFO - we take 1225 photos in this while loop
MAIN: 2025-03-10 16:42:37,092 - INFO - /home/pi/Desktop/images/10032025/16/42/image_10032025_16_42_36_29667.jpg
MAIN: 2025-03-10 16:42:37,092 - INFO - duration: 0.6754160409982433
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 16:43:06,266 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:43:07,113 - INFO - taking picture
MAIN: 2025-03-10 16:43:07,113 - INFO - we take 1226 photos in this while loop
MAIN: 2025-03-10 16:43:07,113 - INFO - /home/pi/Desktop/images/10032025/16/42/image_10032025_16_43_06_30054.jpg
MAIN: 2025-03-10 16:43:07,114 - INFO - duration: 0.6425407809947501
MAIN: 2025-03-10 16:43:07,114 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:43:36,839 - INFO - taking picture
MAIN: 2025-03-10 16:43:36,840 - INFO - we take 1227 photos in this while loop
MAIN: 2025-03-10 16:43:36,840 - INFO - /home/pi/Desktop/images/10032025/16/43/image_10032025_16_43_36_29696.jpg
MAIN: 2025-03-10 16:43:36,840 - INFO - duration: 0.6727482810019865
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:44: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 ! 
MAIN: 2025-03-10 16:44:07,035 - INFO - taking picture
MAIN: 2025-03-10 16:44:07,035 - INFO - we take 1228 photos in this while loop
MAIN: 2025-03-10 16:44:07,035 - INFO - /home/pi/Desktop/images/10032025/16/43/image_10032025_16_44_06_30188.jpg
MAIN: 2025-03-10 16:44:07,036 - INFO - duration: 0.6799011459952453
MAIN: 2025-03-10 16:44:07,036 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:44:36,669 - INFO - taking picture
MAIN: 2025-03-10 16:44:36,670 - INFO - we take 1229 photos in this while loop
MAIN: 2025-03-10 16:44:36,670 - INFO - /home/pi/Desktop/images/10032025/16/44/image_10032025_16_44_36_29641.jpg
MAIN: 2025-03-10 16:44:36,670 - INFO - duration: 0.6723403130017687
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:45: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:45:06,754 - INFO - taking picture
MAIN: 2025-03-10 16:45:06,755 - INFO - we take 1230 photos in this while loop
MAIN: 2025-03-10 16:45:06,755 - INFO - /home/pi/Desktop/images/10032025/16/44/image_10032025_16_45_06_30064.jpg
MAIN: 2025-03-10 16:45:06,755 - INFO - duration: 0.6928988540021237
MAIN: 2025-03-10 16:45:06,756 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/45'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:45:36,417 - INFO - taking picture
MAIN: 2025-03-10 16:45:36,418 - INFO - we take 1231 photos in this while loop
MAIN: 2025-03-10 16:45:36,418 - INFO - /home/pi/Desktop/images/10032025/16/45/image_10032025_16_45_36_29684.jpg
MAIN: 2025-03-10 16:45:36,418 - INFO - duration: 0.671803175995592
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:46: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 ! 
MAIN: 2025-03-10 16:46:06,418 - INFO - taking picture
MAIN: 2025-03-10 16:46:06,418 - INFO - we take 1232 photos in this while loop
MAIN: 2025-03-10 16:46:06,418 - INFO - /home/pi/Desktop/images/10032025/16/45/image_10032025_16_46_06_29969.jpg
MAIN: 2025-03-10 16:46:06,418 - INFO - duration: 0.7021429160013213
MAIN: 2025-03-10 16:46:06,419 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:46:37,214 - INFO - taking picture
MAIN: 2025-03-10 16:46:37,214 - INFO - we take 1233 photos in this while loop
MAIN: 2025-03-10 16:46:37,215 - INFO - /home/pi/Desktop/images/10032025/16/46/image_10032025_16_46_36_30807.jpg
MAIN: 2025-03-10 16:46:37,215 - INFO - duration: 0.6910701040033018
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:47: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:47:06,935 - INFO - taking picture
MAIN: 2025-03-10 16:47:06,935 - INFO - we take 1234 photos in this while loop
MAIN: 2025-03-10 16:47:06,935 - INFO - /home/pi/Desktop/images/10032025/16/46/image_10032025_16_47_06_29768.jpg
MAIN: 2025-03-10 16:47:06,936 - INFO - duration: 0.6432799999965937
MAIN: 2025-03-10 16:47:06,936 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:47:36,524 - INFO - taking picture
MAIN: 2025-03-10 16:47:36,525 - INFO - we take 1235 photos in this while loop
MAIN: 2025-03-10 16:47:36,525 - INFO - /home/pi/Desktop/images/10032025/16/47/image_10032025_16_47_36_29549.jpg
MAIN: 2025-03-10 16:47:36,525 - INFO - duration: 0.6832267709978623
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:48:06,370 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 16:48:06,723 - INFO - taking picture
MAIN: 2025-03-10 16:48:06,724 - INFO - we take 1236 photos in this while loop
MAIN: 2025-03-10 16:48:06,724 - INFO - /home/pi/Desktop/images/10032025/16/47/image_10032025_16_48_06_30211.jpg
MAIN: 2025-03-10 16:48:06,724 - INFO - duration: 0.6711098439991474
MAIN: 2025-03-10 16:48:06,725 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:48:37,457 - INFO - taking picture
MAIN: 2025-03-10 16:48:37,458 - INFO - we take 1237 photos in this while loop
MAIN: 2025-03-10 16:48:37,458 - INFO - /home/pi/Desktop/images/10032025/16/48/image_10032025_16_48_37_30762.jpg
MAIN: 2025-03-10 16:48:37,458 - INFO - duration: 0.6425753639996401
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:49: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:49:07,252 - INFO - taking picture
MAIN: 2025-03-10 16:49:07,253 - INFO - we take 1238 photos in this while loop
MAIN: 2025-03-10 16:49:07,253 - INFO - /home/pi/Desktop/images/10032025/16/48/image_10032025_16_49_06_29792.jpg
MAIN: 2025-03-10 16:49:07,253 - INFO - duration: 0.6454534889999195
MAIN: 2025-03-10 16:49:07,254 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:49:36,791 - INFO - taking picture
MAIN: 2025-03-10 16:49:36,792 - INFO - we take 1239 photos in this while loop
MAIN: 2025-03-10 16:49:36,792 - INFO - /home/pi/Desktop/images/10032025/16/49/image_10032025_16_49_36_29541.jpg
MAIN: 2025-03-10 16:49:36,792 - INFO - duration: 0.6430859889951535
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:50:07,289 - INFO - taking picture
MAIN: 2025-03-10 16:50:07,290 - INFO - we take 1240 photos in this while loop
MAIN: 2025-03-10 16:50:07,290 - INFO - /home/pi/Desktop/images/10032025/16/49/image_10032025_16_50_06_30461.jpg
MAIN: 2025-03-10 16:50:07,290 - INFO - duration: 0.6789611450003576
MAIN: 2025-03-10 16:50:07,291 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/50'
MAIN: 2025-03-10 16:50:07,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:50:36,765 - INFO - taking picture
MAIN: 2025-03-10 16:50:36,766 - INFO - we take 1241 photos in this while loop
MAIN: 2025-03-10 16:50:36,766 - INFO - /home/pi/Desktop/images/10032025/16/50/image_10032025_16_50_36_29484.jpg
MAIN: 2025-03-10 16:50:36,766 - INFO - duration: 0.670097396003257
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:51: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:51:06,469 - INFO - taking picture
MAIN: 2025-03-10 16:51:06,470 - INFO - we take 1242 photos in this while loop
MAIN: 2025-03-10 16:51:06,470 - INFO - /home/pi/Desktop/images/10032025/16/50/image_10032025_16_51_06_29710.jpg
MAIN: 2025-03-10 16:51:06,470 - INFO - duration: 0.6639429169954383
MAIN: 2025-03-10 16:51:06,471 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:51:37,279 - INFO - taking picture
MAIN: 2025-03-10 16:51:37,279 - INFO - we take 1243 photos in this while loop
MAIN: 2025-03-10 16:51:37,280 - INFO - /home/pi/Desktop/images/10032025/16/51/image_10032025_16_51_36_30795.jpg
MAIN: 2025-03-10 16:51:37,280 - INFO - duration: 0.6777088529997854
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:52:06,004 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:52:07,234 - INFO - taking picture
MAIN: 2025-03-10 16:52:07,235 - INFO - we take 1244 photos in this while loop
MAIN: 2025-03-10 16:52:07,235 - INFO - /home/pi/Desktop/images/10032025/16/51/image_10032025_16_52_06_29952.jpg
MAIN: 2025-03-10 16:52:07,235 - INFO - duration: 0.6801667710024049
MAIN: 2025-03-10 16:52:07,235 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:52:36,828 - INFO - taking picture
MAIN: 2025-03-10 16:52:36,829 - INFO - we take 1245 photos in this while loop
MAIN: 2025-03-10 16:52:36,829 - INFO - /home/pi/Desktop/images/10032025/16/52/image_10032025_16_52_36_29574.jpg
MAIN: 2025-03-10 16:52:36,829 - INFO - duration: 0.6996984370052814
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:53:05,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:53:06,661 - INFO - taking picture
MAIN: 2025-03-10 16:53:06,662 - INFO - we take 1246 photos in this while loop
MAIN: 2025-03-10 16:53:06,662 - INFO - /home/pi/Desktop/images/10032025/16/52/image_10032025_16_53_06_29884.jpg
MAIN: 2025-03-10 16:53:06,662 - INFO - duration: 0.648971041002369
MAIN: 2025-03-10 16:53:06,663 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:53:37,463 - INFO - taking picture
MAIN: 2025-03-10 16:53:37,464 - INFO - we take 1247 photos in this while loop
MAIN: 2025-03-10 16:53:37,464 - INFO - /home/pi/Desktop/images/10032025/16/53/image_10032025_16_53_37_30773.jpg
MAIN: 2025-03-10 16:53:37,464 - INFO - duration: 0.6773761980002746
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:54: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:54:07,337 - INFO - taking picture
MAIN: 2025-03-10 16:54:07,337 - INFO - we take 1248 photos in this while loop
MAIN: 2025-03-10 16:54:07,338 - INFO - /home/pi/Desktop/images/10032025/16/53/image_10032025_16_54_06_29909.jpg
MAIN: 2025-03-10 16:54:07,338 - INFO - duration: 0.641704061999917
MAIN: 2025-03-10 16:54:07,338 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/54'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:54:37,039 - INFO - taking picture
MAIN: 2025-03-10 16:54:37,039 - INFO - we take 1249 photos in this while loop
MAIN: 2025-03-10 16:54:37,039 - INFO - /home/pi/Desktop/images/10032025/16/54/image_10032025_16_54_36_29667.jpg
MAIN: 2025-03-10 16:54:37,039 - INFO - duration: 0.6762415620032698
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:55:06,761 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:55:07,170 - INFO - taking picture
MAIN: 2025-03-10 16:55:07,171 - INFO - we take 1250 photos in this while loop
MAIN: 2025-03-10 16:55:07,171 - INFO - /home/pi/Desktop/images/10032025/16/54/image_10032025_16_55_06_30130.jpg
MAIN: 2025-03-10 16:55:07,172 - INFO - duration: 0.6776293740040273
MAIN: 2025-03-10 16:55:07,172 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:55:36,767 - INFO - taking picture
MAIN: 2025-03-10 16:55:36,767 - INFO - we take 1251 photos in this while loop
MAIN: 2025-03-10 16:55:36,768 - INFO - /home/pi/Desktop/images/10032025/16/55/image_10032025_16_55_36_29597.jpg
MAIN: 2025-03-10 16:55:36,768 - INFO - duration: 0.6762444269988919
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:56:06,647 - INFO - taking picture
MAIN: 2025-03-10 16:56:06,647 - INFO - we take 1252 photos in this while loop
MAIN: 2025-03-10 16:56:06,647 - INFO - /home/pi/Desktop/images/10032025/16/55/image_10032025_16_56_06_29922.jpg
MAIN: 2025-03-10 16:56:06,648 - INFO - duration: 0.6338982290035347
MAIN: 2025-03-10 16:56:06,648 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/56'
MAIN: 2025-03-10 16:56:06,690 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:56:36,339 - INFO - taking picture
MAIN: 2025-03-10 16:56:36,340 - INFO - we take 1253 photos in this while loop
MAIN: 2025-03-10 16:56:36,340 - INFO - /home/pi/Desktop/images/10032025/16/56/image_10032025_16_56_35_29629.jpg
MAIN: 2025-03-10 16:56:36,340 - INFO - duration: 0.6967813540031784
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:57:05,788 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:57:06,482 - INFO - taking picture
MAIN: 2025-03-10 16:57:06,483 - INFO - we take 1254 photos in this while loop
MAIN: 2025-03-10 16:57:06,483 - INFO - /home/pi/Desktop/images/10032025/16/56/image_10032025_16_57_06_30183.jpg
MAIN: 2025-03-10 16:57:06,483 - INFO - duration: 0.6563205210040906
MAIN: 2025-03-10 16:57:06,484 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:57:37,421 - INFO - taking picture
MAIN: 2025-03-10 16:57:37,421 - INFO - we take 1255 photos in this while loop
MAIN: 2025-03-10 16:57:37,422 - INFO - /home/pi/Desktop/images/10032025/16/57/image_10032025_16_57_37_30898.jpg
MAIN: 2025-03-10 16:57:37,422 - INFO - duration: 0.6956660409996402
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 16:58: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:58:06,452 - INFO - taking picture
MAIN: 2025-03-10 16:58:06,452 - INFO - we take 1256 photos in this while loop
MAIN: 2025-03-10 16:58:06,452 - INFO - /home/pi/Desktop/images/10032025/16/57/image_10032025_16_58_06_29024.jpg
MAIN: 2025-03-10 16:58:06,453 - INFO - duration: 0.7018897389934864
MAIN: 2025-03-10 16:58:06,453 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:58:37,342 - INFO - taking picture
MAIN: 2025-03-10 16:58:37,342 - INFO - we take 1257 photos in this while loop
MAIN: 2025-03-10 16:58:37,343 - INFO - /home/pi/Desktop/images/10032025/16/58/image_10032025_16_58_36_30893.jpg
MAIN: 2025-03-10 16:58:37,343 - INFO - duration: 0.6985510939994128
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 16:59:06,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:59:07,204 - INFO - taking picture
MAIN: 2025-03-10 16:59:07,204 - INFO - we take 1258 photos in this while loop
MAIN: 2025-03-10 16:59:07,205 - INFO - /home/pi/Desktop/images/10032025/16/58/image_10032025_16_59_06_29887.jpg
MAIN: 2025-03-10 16:59:07,205 - INFO - duration: 0.6732507289998466
MAIN: 2025-03-10 16:59:07,205 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/16/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 16:59:36,746 - INFO - taking picture
MAIN: 2025-03-10 16:59:36,747 - INFO - we take 1259 photos in this while loop
MAIN: 2025-03-10 16:59:36,747 - INFO - /home/pi/Desktop/images/10032025/16/59/image_10032025_16_59_36_29521.jpg
MAIN: 2025-03-10 16:59:36,747 - INFO - duration: 0.6941813019948313
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (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-10 17:00:06,937 - INFO - taking picture
MAIN: 2025-03-10 17:00:06,938 - INFO - we take 1260 photos in this while loop
MAIN: 2025-03-10 17:00:06,938 - INFO - /home/pi/Desktop/images/10032025/16/59/image_10032025_17_00_06_30210.jpg
MAIN: 2025-03-10 17:00:06,939 - INFO - duration: 0.6750157290007337
MAIN: 2025-03-10 17:00:06,940 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/00'
MAIN: 2025-03-10 17:00:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:00:36,536 - INFO - taking picture
MAIN: 2025-03-10 17:00:36,537 - INFO - we take 1261 photos in this while loop
MAIN: 2025-03-10 17:00:36,537 - INFO - /home/pi/Desktop/images/10032025/17/00/image_10032025_17_00_36_29569.jpg
MAIN: 2025-03-10 17:00:36,537 - INFO - duration: 0.704155104001984
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:01: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-10 17:01:06,433 - INFO - taking picture
MAIN: 2025-03-10 17:01:06,434 - INFO - we take 1262 photos in this while loop
MAIN: 2025-03-10 17:01:06,434 - INFO - /home/pi/Desktop/images/10032025/17/00/image_10032025_17_01_06_29907.jpg
MAIN: 2025-03-10 17:01:06,434 - INFO - duration: 0.6936590100012836
MAIN: 2025-03-10 17:01:06,435 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:01:37,351 - INFO - taking picture
MAIN: 2025-03-10 17:01:37,351 - INFO - we take 1263 photos in this while loop
MAIN: 2025-03-10 17:01:37,351 - INFO - /home/pi/Desktop/images/10032025/17/01/image_10032025_17_01_36_30902.jpg
MAIN: 2025-03-10 17:01:37,352 - INFO - duration: 0.7086657809995813
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 17:02: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:02:07,523 - INFO - taking picture
MAIN: 2025-03-10 17:02:07,524 - INFO - we take 1264 photos in this while loop
MAIN: 2025-03-10 17:02:07,524 - INFO - /home/pi/Desktop/images/10032025/17/01/image_10032025_17_02_07_30192.jpg
MAIN: 2025-03-10 17:02:07,524 - INFO - duration: 0.689315572999476
MAIN: 2025-03-10 17:02:07,525 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:02:37,044 - INFO - taking picture
MAIN: 2025-03-10 17:02:37,045 - INFO - we take 1265 photos in this while loop
MAIN: 2025-03-10 17:02:37,045 - INFO - /home/pi/Desktop/images/10032025/17/02/image_10032025_17_02_36_29508.jpg
MAIN: 2025-03-10 17:02:37,046 - INFO - duration: 0.7017706769984215
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:03:05,716 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:03:06,668 - INFO - taking picture
MAIN: 2025-03-10 17:03:06,669 - INFO - we take 1266 photos in this while loop
MAIN: 2025-03-10 17:03:06,669 - INFO - /home/pi/Desktop/images/10032025/17/02/image_10032025_17_03_06_29689.jpg
MAIN: 2025-03-10 17:03:06,669 - INFO - duration: 0.6356591660005506
MAIN: 2025-03-10 17:03:06,669 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/03'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:03:37,398 - INFO - taking picture
MAIN: 2025-03-10 17:03:37,398 - INFO - we take 1267 photos in this while loop
MAIN: 2025-03-10 17:03:37,398 - INFO - /home/pi/Desktop/images/10032025/17/03/image_10032025_17_03_37_30707.jpg
MAIN: 2025-03-10 17:03:37,399 - INFO - duration: 0.6577672390048974
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:04: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-10 17:04:06,346 - INFO - taking picture
MAIN: 2025-03-10 17:04:06,347 - INFO - we take 1268 photos in this while loop
MAIN: 2025-03-10 17:04:06,347 - INFO - /home/pi/Desktop/images/10032025/17/03/image_10032025_17_04_05_28917.jpg
MAIN: 2025-03-10 17:04:06,347 - INFO - duration: 0.689355311995314
MAIN: 2025-03-10 17:04:06,348 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/04'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:04:37,261 - INFO - taking picture
MAIN: 2025-03-10 17:04:37,262 - INFO - we take 1269 photos in this while loop
MAIN: 2025-03-10 17:04:37,262 - INFO - /home/pi/Desktop/images/10032025/17/04/image_10032025_17_04_36_30948.jpg
MAIN: 2025-03-10 17:04:37,262 - INFO - duration: 0.6560909369945875
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:05:06,516 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:05:07,409 - INFO - taking picture
MAIN: 2025-03-10 17:05:07,410 - INFO - we take 1270 photos in this while loop
MAIN: 2025-03-10 17:05:07,410 - INFO - /home/pi/Desktop/images/10032025/17/04/image_10032025_17_05_07_30101.jpg
MAIN: 2025-03-10 17:05:07,411 - INFO - duration: 0.7027293749997625
MAIN: 2025-03-10 17:05:07,411 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:05:37,029 - INFO - taking picture
MAIN: 2025-03-10 17:05:37,030 - INFO - we take 1271 photos in this while loop
MAIN: 2025-03-10 17:05:37,030 - INFO - /home/pi/Desktop/images/10032025/17/05/image_10032025_17_05_36_29671.jpg
MAIN: 2025-03-10 17:05:37,030 - INFO - duration: 0.6504281250017812
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:06:06,403 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:06:06,979 - INFO - taking picture
MAIN: 2025-03-10 17:06:06,979 - INFO - we take 1272 photos in this while loop
MAIN: 2025-03-10 17:06:06,979 - INFO - /home/pi/Desktop/images/10032025/17/05/image_10032025_17_06_06_29939.jpg
MAIN: 2025-03-10 17:06:06,980 - INFO - duration: 0.6602266669942765
MAIN: 2025-03-10 17:06:06,980 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/06'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:06:36,554 - INFO - taking picture
MAIN: 2025-03-10 17:06:36,555 - INFO - we take 1273 photos in this while loop
MAIN: 2025-03-10 17:06:36,555 - INFO - /home/pi/Desktop/images/10032025/17/06/image_10032025_17_06_36_29521.jpg
MAIN: 2025-03-10 17:06:36,555 - INFO - duration: 0.7140396870017867
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:07:06,471 - INFO - taking picture
MAIN: 2025-03-10 17:07:06,472 - INFO - we take 1274 photos in this while loop
MAIN: 2025-03-10 17:07:06,472 - INFO - /home/pi/Desktop/images/10032025/17/06/image_10032025_17_07_06_29937.jpg
MAIN: 2025-03-10 17:07:06,472 - INFO - duration: 0.6932260410030722
MAIN: 2025-03-10 17:07:06,473 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/07'
MAIN: 2025-03-10 17:07:06,489 - INFO - cam.read() return no image
Will output and 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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:07:37,384 - INFO - taking picture
MAIN: 2025-03-10 17:07:37,384 - INFO - we take 1275 photos in this while loop
MAIN: 2025-03-10 17:07:37,384 - INFO - /home/pi/Desktop/images/10032025/17/07/image_10032025_17_07_36_30931.jpg
MAIN: 2025-03-10 17:07:37,385 - INFO - duration: 0.6738326030026656
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:08: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 ! 
MAIN: 2025-03-10 17:08:06,268 - INFO - taking picture
MAIN: 2025-03-10 17:08:06,269 - INFO - we take 1276 photos in this while loop
MAIN: 2025-03-10 17:08:06,269 - INFO - /home/pi/Desktop/images/10032025/17/07/image_10032025_17_08_05_28862.jpg
MAIN: 2025-03-10 17:08:06,269 - INFO - duration: 0.6958464579947758
MAIN: 2025-03-10 17:08:06,270 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:08:37,089 - INFO - taking picture
MAIN: 2025-03-10 17:08:37,090 - INFO - we take 1277 photos in this while loop
MAIN: 2025-03-10 17:08:37,090 - INFO - /home/pi/Desktop/images/10032025/17/08/image_10032025_17_08_36_30826.jpg
MAIN: 2025-03-10 17:08:37,090 - INFO - duration: 0.6905836980004096
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:09:06,052 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:09:06,868 - INFO - taking picture
MAIN: 2025-03-10 17:09:06,869 - INFO - we take 1278 photos in this while loop
MAIN: 2025-03-10 17:09:06,869 - INFO - /home/pi/Desktop/images/10032025/17/08/image_10032025_17_09_06_29812.jpg
MAIN: 2025-03-10 17:09:06,869 - INFO - duration: 0.6571260939963395
MAIN: 2025-03-10 17:09:06,870 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:09:36,591 - INFO - taking picture
MAIN: 2025-03-10 17:09:36,592 - INFO - we take 1279 photos in this while loop
MAIN: 2025-03-10 17:09:36,592 - INFO - /home/pi/Desktop/images/10032025/17/09/image_10032025_17_09_36_29669.jpg
MAIN: 2025-03-10 17:09:36,592 - INFO - duration: 0.7106424999947194
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:10:07,006 - INFO - taking picture
MAIN: 2025-03-10 17:10:07,007 - INFO - we take 1280 photos in this while loop
MAIN: 2025-03-10 17:10:07,007 - INFO - /home/pi/Desktop/images/10032025/17/09/image_10032025_17_10_06_30442.jpg
MAIN: 2025-03-10 17:10:07,007 - INFO - duration: 0.6828333340017707
MAIN: 2025-03-10 17:10:07,008 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/10'
MAIN: 2025-03-10 17:10:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:10:36,583 - INFO - taking picture
MAIN: 2025-03-10 17:10:36,584 - INFO - we take 1281 photos in this while loop
MAIN: 2025-03-10 17:10:36,584 - INFO - /home/pi/Desktop/images/10032025/17/10/image_10032025_17_10_36_29561.jpg
MAIN: 2025-03-10 17:10:36,584 - INFO - duration: 0.6989370310038794
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:11:06,068 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:11:06,713 - INFO - taking picture
MAIN: 2025-03-10 17:11:06,714 - INFO - we take 1282 photos in this while loop
MAIN: 2025-03-10 17:11:06,714 - INFO - /home/pi/Desktop/images/10032025/17/10/image_10032025_17_11_06_30122.jpg
MAIN: 2025-03-10 17:11:06,714 - INFO - duration: 0.7067640620007296
MAIN: 2025-03-10 17:11:06,715 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:11:36,260 - INFO - taking picture
MAIN: 2025-03-10 17:11:36,261 - INFO - we take 1283 photos in this while loop
MAIN: 2025-03-10 17:11:36,261 - INFO - /home/pi/Desktop/images/10032025/17/11/image_10032025_17_11_35_29568.jpg
MAIN: 2025-03-10 17:11:36,261 - INFO - duration: 0.685333436995279
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 17:12:06,486 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:12:07,229 - INFO - taking picture
MAIN: 2025-03-10 17:12:07,230 - INFO - we take 1284 photos in this while loop
MAIN: 2025-03-10 17:12:07,230 - INFO - /home/pi/Desktop/images/10032025/17/11/image_10032025_17_12_06_31016.jpg
MAIN: 2025-03-10 17:12:07,230 - INFO - duration: 0.6375806249998277
MAIN: 2025-03-10 17:12:07,231 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:12:36,599 - INFO - taking picture
MAIN: 2025-03-10 17:12:36,600 - INFO - we take 1285 photos in this while loop
MAIN: 2025-03-10 17:12:36,600 - INFO - /home/pi/Desktop/images/10032025/17/12/image_10032025_17_12_36_29322.jpg
MAIN: 2025-03-10 17:12:36,600 - INFO - duration: 0.685288540997135
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:13:06,232 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 17:13:06,595 - INFO - taking picture
MAIN: 2025-03-10 17:13:06,595 - INFO - we take 1286 photos in this while loop
MAIN: 2025-03-10 17:13:06,595 - INFO - /home/pi/Desktop/images/10032025/17/12/image_10032025_17_13_06_29985.jpg
MAIN: 2025-03-10 17:13:06,596 - INFO - duration: 0.6950841670040973
MAIN: 2025-03-10 17:13:06,596 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:13:37,394 - INFO - taking picture
MAIN: 2025-03-10 17:13:37,395 - INFO - we take 1287 photos in this while loop
MAIN: 2025-03-10 17:13:37,395 - INFO - /home/pi/Desktop/images/10032025/17/13/image_10032025_17_13_37_30827.jpg
MAIN: 2025-03-10 17:13:37,395 - INFO - duration: 0.6671289580044686
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:14:07,347 - INFO - taking picture
MAIN: 2025-03-10 17:14:07,347 - INFO - we take 1288 photos in this while loop
MAIN: 2025-03-10 17:14:07,348 - INFO - /home/pi/Desktop/images/10032025/17/13/image_10032025_17_14_06_29931.jpg
MAIN: 2025-03-10 17:14:07,348 - INFO - duration: 0.6882861980047892
MAIN: 2025-03-10 17:14:07,348 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:14:36,920 - INFO - taking picture
MAIN: 2025-03-10 17:14:36,921 - INFO - we take 1289 photos in this while loop
MAIN: 2025-03-10 17:14:36,921 - INFO - /home/pi/Desktop/images/10032025/17/14/image_10032025_17_14_36_29589.jpg
MAIN: 2025-03-10 17:14:36,921 - INFO - duration: 0.6727868230009335
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:15:05,998 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:15:06,869 - INFO - taking picture
MAIN: 2025-03-10 17:15:06,870 - INFO - we take 1290 photos in this while loop
MAIN: 2025-03-10 17:15:06,870 - INFO - /home/pi/Desktop/images/10032025/17/14/image_10032025_17_15_06_29944.jpg
MAIN: 2025-03-10 17:15:06,870 - INFO - duration: 0.6773291139979847
MAIN: 2025-03-10 17:15:06,871 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:15:36,453 - INFO - taking picture
MAIN: 2025-03-10 17:15:36,453 - INFO - we take 1291 photos in this while loop
MAIN: 2025-03-10 17:15:36,453 - INFO - /home/pi/Desktop/images/10032025/17/15/image_10032025_17_15_36_29567.jpg
MAIN: 2025-03-10 17:15:36,453 - INFO - duration: 0.6931773949982016
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:16: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 ! 
MAIN: 2025-03-10 17:16:06,552 - INFO - taking picture
MAIN: 2025-03-10 17:16:06,552 - INFO - we take 1292 photos in this while loop
MAIN: 2025-03-10 17:16:06,552 - INFO - /home/pi/Desktop/images/10032025/17/15/image_10032025_17_16_06_30085.jpg
MAIN: 2025-03-10 17:16:06,553 - INFO - duration: 0.70635505199607
MAIN: 2025-03-10 17:16:06,553 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:16:37,458 - INFO - taking picture
MAIN: 2025-03-10 17:16:37,459 - INFO - we take 1293 photos in this while loop
MAIN: 2025-03-10 17:16:37,459 - INFO - /home/pi/Desktop/images/10032025/17/16/image_10032025_17_16_37_30911.jpg
MAIN: 2025-03-10 17:16:37,459 - INFO - duration: 0.701495884997712
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:17: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:17:07,409 - INFO - taking picture
MAIN: 2025-03-10 17:17:07,410 - INFO - we take 1294 photos in this while loop
MAIN: 2025-03-10 17:17:07,410 - INFO - /home/pi/Desktop/images/10032025/17/16/image_10032025_17_17_07_29967.jpg
MAIN: 2025-03-10 17:17:07,410 - INFO - duration: 0.684540467998886
MAIN: 2025-03-10 17:17:07,410 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:17:36,935 - INFO - taking picture
MAIN: 2025-03-10 17:17:36,936 - INFO - we take 1295 photos in this while loop
MAIN: 2025-03-10 17:17:36,936 - INFO - /home/pi/Desktop/images/10032025/17/17/image_10032025_17_17_36_29536.jpg
MAIN: 2025-03-10 17:17:36,936 - INFO - duration: 0.6740180199994938
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:18: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:18:07,071 - INFO - taking picture
MAIN: 2025-03-10 17:18:07,072 - INFO - we take 1296 photos in this while loop
MAIN: 2025-03-10 17:18:07,072 - INFO - /home/pi/Desktop/images/10032025/17/17/image_10032025_17_18_06_30092.jpg
MAIN: 2025-03-10 17:18:07,072 - INFO - duration: 0.7174921350015211
MAIN: 2025-03-10 17:18:07,073 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:18:36,494 - INFO - taking picture
MAIN: 2025-03-10 17:18:36,494 - INFO - we take 1297 photos in this while loop
MAIN: 2025-03-10 17:18:36,494 - INFO - /home/pi/Desktop/images/10032025/17/18/image_10032025_17_18_36_29455.jpg
MAIN: 2025-03-10 17:18:36,494 - INFO - duration: 0.6847633329962264
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:19:05,646 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:19:06,477 - INFO - taking picture
MAIN: 2025-03-10 17:19:06,478 - INFO - we take 1298 photos in this while loop
MAIN: 2025-03-10 17:19:06,478 - INFO - /home/pi/Desktop/images/10032025/17/18/image_10032025_17_19_06_30027.jpg
MAIN: 2025-03-10 17:19:06,478 - INFO - duration: 0.6412773440024466
MAIN: 2025-03-10 17:19:06,479 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:19:37,375 - INFO - taking picture
MAIN: 2025-03-10 17:19:37,376 - INFO - we take 1299 photos in this while loop
MAIN: 2025-03-10 17:19:37,376 - INFO - /home/pi/Desktop/images/10032025/17/19/image_10032025_17_19_36_30847.jpg
MAIN: 2025-03-10 17:19:37,376 - INFO - duration: 0.6919194789952599
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:20:06,475 - INFO - taking picture
MAIN: 2025-03-10 17:20:06,476 - INFO - we take 1300 photos in this while loop
MAIN: 2025-03-10 17:20:06,476 - INFO - /home/pi/Desktop/images/10032025/17/19/image_10032025_17_20_06_29107.jpg
MAIN: 2025-03-10 17:20:06,477 - INFO - duration: 0.6855104160058545
MAIN: 2025-03-10 17:20:06,478 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/20'
MAIN: 2025-03-10 17:20: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:20:37,175 - INFO - taking picture
MAIN: 2025-03-10 17:20:37,176 - INFO - we take 1301 photos in this while loop
MAIN: 2025-03-10 17:20:37,176 - INFO - /home/pi/Desktop/images/10032025/17/20/image_10032025_17_20_36_30728.jpg
MAIN: 2025-03-10 17:20:37,176 - INFO - duration: 0.6561392700023134
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 17:21: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:21:07,111 - INFO - taking picture
MAIN: 2025-03-10 17:21:07,111 - INFO - we take 1302 photos in this while loop
MAIN: 2025-03-10 17:21:07,111 - INFO - /home/pi/Desktop/images/10032025/17/20/image_10032025_17_21_06_29950.jpg
MAIN: 2025-03-10 17:21:07,112 - INFO - duration: 0.6410125000038533
MAIN: 2025-03-10 17:21:07,112 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:21:36,646 - INFO - taking picture
MAIN: 2025-03-10 17:21:36,647 - INFO - we take 1303 photos in this while loop
MAIN: 2025-03-10 17:21:36,647 - INFO - /home/pi/Desktop/images/10032025/17/21/image_10032025_17_21_36_29487.jpg
MAIN: 2025-03-10 17:21:36,647 - INFO - duration: 0.6897139060019981
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:22:06,664 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 17:22:06,911 - INFO - taking picture
MAIN: 2025-03-10 17:22:06,911 - INFO - we take 1304 photos in this while loop
MAIN: 2025-03-10 17:22:06,911 - INFO - /home/pi/Desktop/images/10032025/17/21/image_10032025_17_22_06_30256.jpg
MAIN: 2025-03-10 17:22:06,911 - INFO - duration: 0.6973032290043193
MAIN: 2025-03-10 17:22:06,912 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:22:36,376 - INFO - taking picture
MAIN: 2025-03-10 17:22:36,376 - INFO - we take 1305 photos in this while loop
MAIN: 2025-03-10 17:22:36,377 - INFO - /home/pi/Desktop/images/10032025/17/22/image_10032025_17_22_36_29473.jpg
MAIN: 2025-03-10 17:22:36,377 - INFO - duration: 0.6890480729998671
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:23: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:23:07,412 - INFO - taking picture
MAIN: 2025-03-10 17:23:07,412 - INFO - we take 1306 photos in this while loop
MAIN: 2025-03-10 17:23:07,412 - INFO - /home/pi/Desktop/images/10032025/17/22/image_10032025_17_23_07_31076.jpg
MAIN: 2025-03-10 17:23:07,413 - INFO - duration: 0.6486005730039324
MAIN: 2025-03-10 17:23:07,413 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:23:37,140 - INFO - taking picture
MAIN: 2025-03-10 17:23:37,141 - INFO - we take 1307 photos in this while loop
MAIN: 2025-03-10 17:23:37,141 - INFO - /home/pi/Desktop/images/10032025/17/23/image_10032025_17_23_36_29687.jpg
MAIN: 2025-03-10 17:23:37,141 - INFO - duration: 0.6900048960014828
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:24: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:24:07,201 - INFO - taking picture
MAIN: 2025-03-10 17:24:07,202 - INFO - we take 1308 photos in this while loop
MAIN: 2025-03-10 17:24:07,202 - INFO - /home/pi/Desktop/images/10032025/17/23/image_10032025_17_24_06_30063.jpg
MAIN: 2025-03-10 17:24:07,202 - INFO - duration: 0.6869808850024128
MAIN: 2025-03-10 17:24:07,202 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:24:36,811 - INFO - taking picture
MAIN: 2025-03-10 17:24:36,811 - INFO - we take 1309 photos in this while loop
MAIN: 2025-03-10 17:24:36,812 - INFO - /home/pi/Desktop/images/10032025/17/24/image_10032025_17_24_36_29602.jpg
MAIN: 2025-03-10 17:24:36,812 - INFO - duration: 0.6944221349986037
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:25: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:25:07,082 - INFO - taking picture
MAIN: 2025-03-10 17:25:07,083 - INFO - we take 1310 photos in this while loop
MAIN: 2025-03-10 17:25:07,083 - INFO - /home/pi/Desktop/images/10032025/17/24/image_10032025_17_25_06_30270.jpg
MAIN: 2025-03-10 17:25:07,084 - INFO - duration: 0.6960413540000445
MAIN: 2025-03-10 17:25:07,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:25:36,745 - INFO - taking picture
MAIN: 2025-03-10 17:25:36,745 - INFO - we take 1311 photos in this while loop
MAIN: 2025-03-10 17:25:36,746 - INFO - /home/pi/Desktop/images/10032025/17/25/image_10032025_17_25_36_29654.jpg
MAIN: 2025-03-10 17:25:36,746 - INFO - duration: 0.7038413020054577
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:26: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:26:06,888 - INFO - taking picture
MAIN: 2025-03-10 17:26:06,889 - INFO - we take 1312 photos in this while loop
MAIN: 2025-03-10 17:26:06,889 - INFO - /home/pi/Desktop/images/10032025/17/25/image_10032025_17_26_06_30143.jpg
MAIN: 2025-03-10 17:26:06,889 - INFO - duration: 0.7037058339992655
MAIN: 2025-03-10 17:26:06,889 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:26:36,555 - INFO - taking picture
MAIN: 2025-03-10 17:26:36,556 - INFO - we take 1313 photos in this while loop
MAIN: 2025-03-10 17:26:36,556 - INFO - /home/pi/Desktop/images/10032025/17/26/image_10032025_17_26_36_29666.jpg
MAIN: 2025-03-10 17:26:36,556 - INFO - duration: 0.7044337490006001
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:27: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:27:06,607 - INFO - taking picture
MAIN: 2025-03-10 17:27:06,608 - INFO - we take 1314 photos in this while loop
MAIN: 2025-03-10 17:27:06,608 - INFO - /home/pi/Desktop/images/10032025/17/26/image_10032025_17_27_06_30043.jpg
MAIN: 2025-03-10 17:27:06,608 - INFO - duration: 0.7124297919945093
MAIN: 2025-03-10 17:27:06,608 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/27'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:27:36,286 - INFO - taking picture
MAIN: 2025-03-10 17:27:36,287 - INFO - we take 1315 photos in this while loop
MAIN: 2025-03-10 17:27:36,287 - INFO - /home/pi/Desktop/images/10032025/17/27/image_10032025_17_27_35_29699.jpg
MAIN: 2025-03-10 17:27:36,287 - INFO - duration: 0.6920441659967764
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:28:06,351 - INFO - taking picture
MAIN: 2025-03-10 17:28:06,351 - INFO - we take 1316 photos in this while loop
MAIN: 2025-03-10 17:28:06,351 - INFO - /home/pi/Desktop/images/10032025/17/27/image_10032025_17_28_05_30080.jpg
MAIN: 2025-03-10 17:28:06,352 - INFO - duration: 0.6762780729986844
MAIN: 2025-03-10 17:28:06,352 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/28'
MAIN: 2025-03-10 17:28:06,472 - INFO - cam.read() return no image
Will output and 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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:28:37,253 - INFO - taking picture
MAIN: 2025-03-10 17:28:37,254 - INFO - we take 1317 photos in this while loop
MAIN: 2025-03-10 17:28:37,254 - INFO - /home/pi/Desktop/images/10032025/17/28/image_10032025_17_28_36_30885.jpg
MAIN: 2025-03-10 17:28:37,254 - INFO - duration: 0.6926238020023447
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:29: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:29:07,032 - INFO - taking picture
MAIN: 2025-03-10 17:29:07,033 - INFO - we take 1318 photos in this while loop
MAIN: 2025-03-10 17:29:07,033 - INFO - /home/pi/Desktop/images/10032025/17/28/image_10032025_17_29_06_29837.jpg
MAIN: 2025-03-10 17:29:07,033 - INFO - duration: 0.6345410409994656
MAIN: 2025-03-10 17:29:07,033 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:29:36,534 - INFO - taking picture
MAIN: 2025-03-10 17:29:36,535 - INFO - we take 1319 photos in this while loop
MAIN: 2025-03-10 17:29:36,535 - INFO - /home/pi/Desktop/images/10032025/17/29/image_10032025_17_29_36_29458.jpg
MAIN: 2025-03-10 17:29:36,535 - INFO - duration: 0.6775628120012698
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:30: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-10 17:30:06,720 - INFO - taking picture
MAIN: 2025-03-10 17:30:06,720 - INFO - we take 1320 photos in this while loop
MAIN: 2025-03-10 17:30:06,721 - INFO - /home/pi/Desktop/images/10032025/17/29/image_10032025_17_30_06_30183.jpg
MAIN: 2025-03-10 17:30:06,721 - INFO - duration: 0.6801981769967824
MAIN: 2025-03-10 17:30:06,721 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:30:37,433 - INFO - taking picture
MAIN: 2025-03-10 17:30:37,433 - INFO - we take 1321 photos in this while loop
MAIN: 2025-03-10 17:30:37,434 - INFO - /home/pi/Desktop/images/10032025/17/30/image_10032025_17_30_37_30713.jpg
MAIN: 2025-03-10 17:30:37,434 - INFO - duration: 0.6792027600022266
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:31: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:31:07,379 - INFO - taking picture
MAIN: 2025-03-10 17:31:07,379 - INFO - we take 1322 photos in this while loop
MAIN: 2025-03-10 17:31:07,379 - INFO - /home/pi/Desktop/images/10032025/17/30/image_10032025_17_31_07_29943.jpg
MAIN: 2025-03-10 17:31:07,380 - INFO - duration: 0.6816236980012036
MAIN: 2025-03-10 17:31:07,380 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:31:36,937 - INFO - taking picture
MAIN: 2025-03-10 17:31:36,938 - INFO - we take 1323 photos in this while loop
MAIN: 2025-03-10 17:31:36,938 - INFO - /home/pi/Desktop/images/10032025/17/31/image_10032025_17_31_36_29541.jpg
MAIN: 2025-03-10 17:31:36,938 - INFO - duration: 0.6988950519953505
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:32:06,045 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:32:06,825 - INFO - taking picture
MAIN: 2025-03-10 17:32:06,826 - INFO - we take 1324 photos in this while loop
MAIN: 2025-03-10 17:32:06,826 - INFO - /home/pi/Desktop/images/10032025/17/31/image_10032025_17_32_06_29949.jpg
MAIN: 2025-03-10 17:32:06,826 - INFO - duration: 0.6374155729936319
MAIN: 2025-03-10 17:32:06,827 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:32:36,345 - INFO - taking picture
MAIN: 2025-03-10 17:32:36,346 - INFO - we take 1325 photos in this while loop
MAIN: 2025-03-10 17:32:36,346 - INFO - /home/pi/Desktop/images/10032025/17/32/image_10032025_17_32_35_29463.jpg
MAIN: 2025-03-10 17:32:36,346 - INFO - duration: 0.693659790995298
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:33: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:33:07,448 - INFO - taking picture
MAIN: 2025-03-10 17:33:07,448 - INFO - we take 1326 photos in this while loop
MAIN: 2025-03-10 17:33:07,448 - INFO - /home/pi/Desktop/images/10032025/17/32/image_10032025_17_33_07_31113.jpg
MAIN: 2025-03-10 17:33:07,449 - INFO - duration: 0.682618384998932
MAIN: 2025-03-10 17:33:07,449 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:33:36,939 - INFO - taking picture
MAIN: 2025-03-10 17:33:36,939 - INFO - we take 1327 photos in this while loop
MAIN: 2025-03-10 17:33:36,939 - INFO - /home/pi/Desktop/images/10032025/17/33/image_10032025_17_33_36_29484.jpg
MAIN: 2025-03-10 17:33:36,940 - INFO - duration: 0.6888665619990206
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:34:06,790 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 17:34:06,974 - INFO - taking picture
MAIN: 2025-03-10 17:34:06,975 - INFO - we take 1328 photos in this while loop
MAIN: 2025-03-10 17:34:06,975 - INFO - /home/pi/Desktop/images/10032025/17/33/image_10032025_17_34_06_30039.jpg
MAIN: 2025-03-10 17:34:06,975 - INFO - duration: 0.6851445310021518
MAIN: 2025-03-10 17:34:06,976 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:34:36,567 - INFO - taking picture
MAIN: 2025-03-10 17:34:36,567 - INFO - we take 1329 photos in this while loop
MAIN: 2025-03-10 17:34:36,568 - INFO - /home/pi/Desktop/images/10032025/17/34/image_10032025_17_34_36_29585.jpg
MAIN: 2025-03-10 17:34:36,568 - INFO - duration: 0.6923168749999604
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:35:06,564 - INFO - taking picture
MAIN: 2025-03-10 17:35:06,565 - INFO - we take 1330 photos in this while loop
MAIN: 2025-03-10 17:35:06,565 - INFO - /home/pi/Desktop/images/10032025/17/34/image_10032025_17_35_06_30002.jpg
MAIN: 2025-03-10 17:35:06,565 - INFO - duration: 0.6874221350008156
MAIN: 2025-03-10 17:35:06,566 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/35'
MAIN: 2025-03-10 17:35:07,139 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:35:37,415 - INFO - taking picture
MAIN: 2025-03-10 17:35:37,416 - INFO - we take 1331 photos in this while loop
MAIN: 2025-03-10 17:35:37,416 - INFO - /home/pi/Desktop/images/10032025/17/35/image_10032025_17_35_37_30843.jpg
MAIN: 2025-03-10 17:35:37,416 - INFO - duration: 0.6949763020020328
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:36: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 ! 
MAIN: 2025-03-10 17:36:06,335 - INFO - taking picture
MAIN: 2025-03-10 17:36:06,335 - INFO - we take 1332 photos in this while loop
MAIN: 2025-03-10 17:36:06,336 - INFO - /home/pi/Desktop/images/10032025/17/35/image_10032025_17_36_05_28907.jpg
MAIN: 2025-03-10 17:36:06,336 - INFO - duration: 0.706877030999749
MAIN: 2025-03-10 17:36:06,336 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/36'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:36:37,180 - INFO - taking picture
MAIN: 2025-03-10 17:36:37,180 - INFO - we take 1333 photos in this while loop
MAIN: 2025-03-10 17:36:37,180 - INFO - /home/pi/Desktop/images/10032025/17/36/image_10032025_17_36_36_30878.jpg
MAIN: 2025-03-10 17:36:37,180 - INFO - duration: 0.6728398429986555
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:37: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:37:06,975 - INFO - taking picture
MAIN: 2025-03-10 17:37:06,976 - INFO - we take 1334 photos in this while loop
MAIN: 2025-03-10 17:37:06,976 - INFO - /home/pi/Desktop/images/10032025/17/36/image_10032025_17_37_06_29829.jpg
MAIN: 2025-03-10 17:37:06,976 - INFO - duration: 0.6387673429999268
MAIN: 2025-03-10 17:37:06,976 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:37:36,471 - INFO - taking picture
MAIN: 2025-03-10 17:37:36,471 - INFO - we take 1335 photos in this while loop
MAIN: 2025-03-10 17:37:36,471 - INFO - /home/pi/Desktop/images/10032025/17/37/image_10032025_17_37_36_29435.jpg
MAIN: 2025-03-10 17:37:36,472 - INFO - duration: 0.6993600519999745
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:38:06,699 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 17:38:06,714 - INFO - taking picture
MAIN: 2025-03-10 17:38:06,714 - INFO - we take 1336 photos in this while loop
MAIN: 2025-03-10 17:38:06,715 - INFO - /home/pi/Desktop/images/10032025/17/37/image_10032025_17_38_06_30260.jpg
MAIN: 2025-03-10 17:38:06,715 - INFO - duration: 0.6820272910044878
MAIN: 2025-03-10 17:38:06,715 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:38:36,278 - INFO - taking picture
MAIN: 2025-03-10 17:38:36,279 - INFO - we take 1337 photos in this while loop
MAIN: 2025-03-10 17:38:36,279 - INFO - /home/pi/Desktop/images/10032025/17/38/image_10032025_17_38_35_29559.jpg
MAIN: 2025-03-10 17:38:36,279 - INFO - duration: 0.6869607280023047
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:39:06,331 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:39:07,331 - INFO - taking picture
MAIN: 2025-03-10 17:39:07,331 - INFO - we take 1338 photos in this while loop
MAIN: 2025-03-10 17:39:07,332 - INFO - /home/pi/Desktop/images/10032025/17/38/image_10032025_17_39_06_31095.jpg
MAIN: 2025-03-10 17:39:07,332 - INFO - duration: 0.6439246869995259
MAIN: 2025-03-10 17:39:07,332 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:39:36,817 - INFO - taking picture
MAIN: 2025-03-10 17:39:36,818 - INFO - we take 1339 photos in this while loop
MAIN: 2025-03-10 17:39:36,818 - INFO - /home/pi/Desktop/images/10032025/17/39/image_10032025_17_39_36_29438.jpg
MAIN: 2025-03-10 17:39:36,818 - INFO - duration: 0.6915070830000332
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:40:07,186 - INFO - taking picture
MAIN: 2025-03-10 17:40:07,186 - INFO - we take 1340 photos in this while loop
MAIN: 2025-03-10 17:40:07,187 - INFO - /home/pi/Desktop/images/10032025/17/39/image_10032025_17_40_06_30376.jpg
MAIN: 2025-03-10 17:40:07,187 - INFO - duration: 0.6838057809945894
MAIN: 2025-03-10 17:40:07,187 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/40'
MAIN: 2025-03-10 17:40:07,308 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:40:36,758 - INFO - taking picture
MAIN: 2025-03-10 17:40:36,758 - INFO - we take 1341 photos in this while loop
MAIN: 2025-03-10 17:40:36,759 - INFO - /home/pi/Desktop/images/10032025/17/40/image_10032025_17_40_36_29565.jpg
MAIN: 2025-03-10 17:40:36,759 - INFO - duration: 0.6901429159988766
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:41:05,974 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:41:06,678 - INFO - taking picture
MAIN: 2025-03-10 17:41:06,679 - INFO - we take 1342 photos in this while loop
MAIN: 2025-03-10 17:41:06,679 - INFO - /home/pi/Desktop/images/10032025/17/40/image_10032025_17_41_06_29929.jpg
MAIN: 2025-03-10 17:41:06,679 - INFO - duration: 0.6816363539983286
MAIN: 2025-03-10 17:41:06,680 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:41:36,267 - INFO - taking picture
MAIN: 2025-03-10 17:41:36,267 - INFO - we take 1343 photos in this while loop
MAIN: 2025-03-10 17:41:36,267 - INFO - /home/pi/Desktop/images/10032025/17/41/image_10032025_17_41_35_29592.jpg
MAIN: 2025-03-10 17:41:36,268 - INFO - duration: 0.6771021349995863
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:42:06,109 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 17:42:06,462 - INFO - taking picture
MAIN: 2025-03-10 17:42:06,463 - INFO - we take 1344 photos in this while loop
MAIN: 2025-03-10 17:42:06,463 - INFO - /home/pi/Desktop/images/10032025/17/41/image_10032025_17_42_06_30157.jpg
MAIN: 2025-03-10 17:42:06,463 - INFO - duration: 0.7149037490016781
MAIN: 2025-03-10 17:42:06,464 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:42:37,412 - INFO - taking picture
MAIN: 2025-03-10 17:42:37,413 - INFO - we take 1345 photos in this while loop
MAIN: 2025-03-10 17:42:37,413 - INFO - /home/pi/Desktop/images/10032025/17/42/image_10032025_17_42_37_30993.jpg
MAIN: 2025-03-10 17:42:37,413 - INFO - duration: 0.6722559890040429
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 17:43:05,899 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:43:07,168 - INFO - taking picture
MAIN: 2025-03-10 17:43:07,168 - INFO - we take 1346 photos in this while loop
MAIN: 2025-03-10 17:43:07,168 - INFO - /home/pi/Desktop/images/10032025/17/42/image_10032025_17_43_06_29740.jpg
MAIN: 2025-03-10 17:43:07,169 - INFO - duration: 0.6866807810001774
MAIN: 2025-03-10 17:43:07,169 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:43:36,598 - INFO - taking picture
MAIN: 2025-03-10 17:43:36,598 - INFO - we take 1347 photos in this while loop
MAIN: 2025-03-10 17:43:36,599 - INFO - /home/pi/Desktop/images/10032025/17/43/image_10032025_17_43_36_29430.jpg
MAIN: 2025-03-10 17:43:36,599 - INFO - duration: 0.6863530210030149
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:44:06,680 - INFO - taking picture
MAIN: 2025-03-10 17:44:06,680 - INFO - we take 1348 photos in this while loop
MAIN: 2025-03-10 17:44:06,680 - INFO - /home/pi/Desktop/images/10032025/17/43/image_10032025_17_44_06_30100.jpg
MAIN: 2025-03-10 17:44:06,680 - INFO - duration: 0.6680025000023306
MAIN: 2025-03-10 17:44:06,681 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/44'
MAIN: 2025-03-10 17:44: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:44:37,513 - INFO - taking picture
MAIN: 2025-03-10 17:44:37,514 - INFO - we take 1349 photos in this while loop
MAIN: 2025-03-10 17:44:37,514 - INFO - /home/pi/Desktop/images/10032025/17/44/image_10032025_17_44_37_30813.jpg
MAIN: 2025-03-10 17:44:37,514 - INFO - duration: 0.6883495310030412
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:45:06,376 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:45:07,462 - INFO - taking picture
MAIN: 2025-03-10 17:45:07,462 - INFO - we take 1350 photos in this while loop
MAIN: 2025-03-10 17:45:07,463 - INFO - /home/pi/Desktop/images/10032025/17/44/image_10032025_17_45_07_29960.jpg
MAIN: 2025-03-10 17:45:07,463 - INFO - duration: 0.6769161979973433
MAIN: 2025-03-10 17:45:07,463 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:45:36,977 - INFO - taking picture
MAIN: 2025-03-10 17:45:36,978 - INFO - we take 1351 photos in this while loop
MAIN: 2025-03-10 17:45:36,978 - INFO - /home/pi/Desktop/images/10032025/17/45/image_10032025_17_45_36_29527.jpg
MAIN: 2025-03-10 17:45:36,978 - INFO - duration: 0.6646838009983185
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:46:06,136 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:46:06,905 - INFO - taking picture
MAIN: 2025-03-10 17:46:06,905 - INFO - we take 1352 photos in this while loop
MAIN: 2025-03-10 17:46:06,906 - INFO - /home/pi/Desktop/images/10032025/17/45/image_10032025_17_46_06_29949.jpg
MAIN: 2025-03-10 17:46:06,906 - INFO - duration: 0.6430764579999959
MAIN: 2025-03-10 17:46:06,906 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/46'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:46:36,610 - INFO - taking picture
MAIN: 2025-03-10 17:46:36,611 - INFO - we take 1353 photos in this while loop
MAIN: 2025-03-10 17:46:36,611 - INFO - /home/pi/Desktop/images/10032025/17/46/image_10032025_17_46_36_29638.jpg
MAIN: 2025-03-10 17:46:36,611 - INFO - duration: 0.709444790998532
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:47:05,775 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:47:06,709 - INFO - taking picture
MAIN: 2025-03-10 17:47:06,710 - INFO - we take 1354 photos in this while loop
MAIN: 2025-03-10 17:47:06,710 - INFO - /home/pi/Desktop/images/10032025/17/46/image_10032025_17_47_06_30173.jpg
MAIN: 2025-03-10 17:47:06,710 - INFO - duration: 0.6352069260028657
MAIN: 2025-03-10 17:47:06,710 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:47:37,504 - INFO - taking picture
MAIN: 2025-03-10 17:47:37,505 - INFO - we take 1355 photos in this while loop
MAIN: 2025-03-10 17:47:37,505 - INFO - /home/pi/Desktop/images/10032025/17/47/image_10032025_17_47_37_30736.jpg
MAIN: 2025-03-10 17:47:37,505 - INFO - duration: 0.6938153649971355
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:48: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 ! 
MAIN: 2025-03-10 17:48:06,545 - INFO - taking picture
MAIN: 2025-03-10 17:48:06,546 - INFO - we take 1356 photos in this while loop
MAIN: 2025-03-10 17:48:06,546 - INFO - /home/pi/Desktop/images/10032025/17/47/image_10032025_17_48_06_29034.jpg
MAIN: 2025-03-10 17:48:06,546 - INFO - duration: 0.6999614059968735
MAIN: 2025-03-10 17:48:06,546 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:48:37,517 - INFO - taking picture
MAIN: 2025-03-10 17:48:37,518 - INFO - we take 1357 photos in this while loop
MAIN: 2025-03-10 17:48:37,518 - INFO - /home/pi/Desktop/images/10032025/17/48/image_10032025_17_48_37_30997.jpg
MAIN: 2025-03-10 17:48:37,518 - INFO - duration: 0.6749411979981232
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:49: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 ! 
MAIN: 2025-03-10 17:49:06,480 - INFO - taking picture
MAIN: 2025-03-10 17:49:06,480 - INFO - we take 1358 photos in this while loop
MAIN: 2025-03-10 17:49:06,481 - INFO - /home/pi/Desktop/images/10032025/17/48/image_10032025_17_49_06_28939.jpg
MAIN: 2025-03-10 17:49:06,481 - INFO - duration: 0.6977332290043705
MAIN: 2025-03-10 17:49:06,481 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/49'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:49:37,271 - INFO - taking picture
MAIN: 2025-03-10 17:49:37,272 - INFO - we take 1359 photos in this while loop
MAIN: 2025-03-10 17:49:37,272 - INFO - /home/pi/Desktop/images/10032025/17/49/image_10032025_17_49_36_30817.jpg
MAIN: 2025-03-10 17:49:37,272 - INFO - duration: 0.6713733849974233
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:50:06,383 - INFO - taking picture
MAIN: 2025-03-10 17:50:06,384 - INFO - we take 1360 photos in this while loop
MAIN: 2025-03-10 17:50:06,384 - INFO - /home/pi/Desktop/images/10032025/17/49/image_10032025_17_50_05_29064.jpg
MAIN: 2025-03-10 17:50:06,384 - INFO - duration: 0.7187083329990855
MAIN: 2025-03-10 17:50:06,385 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/50'
MAIN: 2025-03-10 17:50:07,245 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:50:37,148 - INFO - taking picture
MAIN: 2025-03-10 17:50:37,149 - INFO - we take 1361 photos in this while loop
MAIN: 2025-03-10 17:50:37,149 - INFO - /home/pi/Desktop/images/10032025/17/50/image_10032025_17_50_36_30796.jpg
MAIN: 2025-03-10 17:50:37,149 - INFO - duration: 0.6876216140008182
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:51:06,511 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:51:07,061 - INFO - taking picture
MAIN: 2025-03-10 17:51:07,062 - INFO - we take 1362 photos in this while loop
MAIN: 2025-03-10 17:51:07,062 - INFO - /home/pi/Desktop/images/10032025/17/50/image_10032025_17_51_06_29901.jpg
MAIN: 2025-03-10 17:51:07,062 - INFO - duration: 0.6988653119988157
MAIN: 2025-03-10 17:51:07,062 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/51'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:51:36,637 - INFO - taking picture
MAIN: 2025-03-10 17:51:36,637 - INFO - we take 1363 photos in this while loop
MAIN: 2025-03-10 17:51:36,637 - INFO - /home/pi/Desktop/images/10032025/17/51/image_10032025_17_51_36_29596.jpg
MAIN: 2025-03-10 17:51:36,638 - INFO - duration: 0.6778692709995084
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:52:06,805 - INFO - taking picture
MAIN: 2025-03-10 17:52:06,806 - INFO - we take 1364 photos in this while loop
MAIN: 2025-03-10 17:52:06,806 - INFO - /home/pi/Desktop/images/10032025/17/51/image_10032025_17_52_06_30164.jpg
MAIN: 2025-03-10 17:52:06,806 - INFO - duration: 0.6824033330049133
MAIN: 2025-03-10 17:52:06,807 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/52'
MAIN: 2025-03-10 17:52:07,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:52:36,532 - INFO - taking picture
MAIN: 2025-03-10 17:52:36,533 - INFO - we take 1365 photos in this while loop
MAIN: 2025-03-10 17:52:36,533 - INFO - /home/pi/Desktop/images/10032025/17/52/image_10032025_17_52_36_29710.jpg
MAIN: 2025-03-10 17:52:36,533 - INFO - duration: 0.6990382809963194
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:53:05,784 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:53:06,574 - INFO - taking picture
MAIN: 2025-03-10 17:53:06,574 - INFO - we take 1366 photos in this while loop
MAIN: 2025-03-10 17:53:06,574 - INFO - /home/pi/Desktop/images/10032025/17/52/image_10032025_17_53_06_30103.jpg
MAIN: 2025-03-10 17:53:06,575 - INFO - duration: 0.6368593229999533
MAIN: 2025-03-10 17:53:06,575 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:53:37,450 - INFO - taking picture
MAIN: 2025-03-10 17:53:37,450 - INFO - we take 1367 photos in this while loop
MAIN: 2025-03-10 17:53:37,450 - INFO - /home/pi/Desktop/images/10032025/17/53/image_10032025_17_53_37_30832.jpg
MAIN: 2025-03-10 17:53:37,451 - INFO - duration: 0.6804573959961999
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:54:06,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:54:06,500 - INFO - taking picture
MAIN: 2025-03-10 17:54:06,501 - INFO - we take 1368 photos in this while loop
MAIN: 2025-03-10 17:54:06,501 - INFO - /home/pi/Desktop/images/10032025/17/53/image_10032025_17_54_06_29038.jpg
MAIN: 2025-03-10 17:54:06,501 - INFO - duration: 0.6930534900020575
MAIN: 2025-03-10 17:54:06,502 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:54:37,410 - INFO - taking picture
MAIN: 2025-03-10 17:54:37,411 - INFO - we take 1369 photos in this while loop
MAIN: 2025-03-10 17:54:37,411 - INFO - /home/pi/Desktop/images/10032025/17/54/image_10032025_17_54_37_30909.jpg
MAIN: 2025-03-10 17:54:37,411 - INFO - duration: 0.6934958849960822
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:55:06,426 - INFO - taking picture
MAIN: 2025-03-10 17:55:06,427 - INFO - we take 1370 photos in this while loop
MAIN: 2025-03-10 17:55:06,427 - INFO - /home/pi/Desktop/images/10032025/17/54/image_10032025_17_55_06_29022.jpg
MAIN: 2025-03-10 17:55:06,428 - INFO - duration: 0.6875389060005546
MAIN: 2025-03-10 17:55:06,428 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/55'
MAIN: 2025-03-10 17:55:07,018 - INFO - cam.read() return no image
Will output and 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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:55:37,308 - INFO - taking picture
MAIN: 2025-03-10 17:55:37,308 - INFO - we take 1371 photos in this while loop
MAIN: 2025-03-10 17:55:37,309 - INFO - /home/pi/Desktop/images/10032025/17/55/image_10032025_17_55_36_30874.jpg
MAIN: 2025-03-10 17:55:37,309 - INFO - duration: 0.6944136459933361
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:56: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:56:07,350 - INFO - taking picture
MAIN: 2025-03-10 17:56:07,351 - INFO - we take 1372 photos in this while loop
MAIN: 2025-03-10 17:56:07,351 - INFO - /home/pi/Desktop/images/10032025/17/55/image_10032025_17_56_06_30044.jpg
MAIN: 2025-03-10 17:56:07,351 - INFO - duration: 0.692469790999894
MAIN: 2025-03-10 17:56:07,352 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/56'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:56:36,935 - INFO - taking picture
MAIN: 2025-03-10 17:56:36,936 - INFO - we take 1373 photos in this while loop
MAIN: 2025-03-10 17:56:36,936 - INFO - /home/pi/Desktop/images/10032025/17/56/image_10032025_17_56_36_29581.jpg
MAIN: 2025-03-10 17:56:36,936 - INFO - duration: 0.6954645829973742
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:57: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:57:06,967 - INFO - taking picture
MAIN: 2025-03-10 17:57:06,967 - INFO - we take 1374 photos in this while loop
MAIN: 2025-03-10 17:57:06,967 - INFO - /home/pi/Desktop/images/10032025/17/56/image_10032025_17_57_06_30029.jpg
MAIN: 2025-03-10 17:57:06,967 - INFO - duration: 0.6975607810018118
MAIN: 2025-03-10 17:57:06,968 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/57'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:57:36,564 - INFO - taking picture
MAIN: 2025-03-10 17:57:36,564 - INFO - we take 1375 photos in this while loop
MAIN: 2025-03-10 17:57:36,564 - INFO - /home/pi/Desktop/images/10032025/17/57/image_10032025_17_57_36_29597.jpg
MAIN: 2025-03-10 17:57:36,565 - INFO - duration: 0.6976063010006328
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:58: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:58:06,627 - INFO - taking picture
MAIN: 2025-03-10 17:58:06,628 - INFO - we take 1376 photos in this while loop
MAIN: 2025-03-10 17:58:06,628 - INFO - /home/pi/Desktop/images/10032025/17/57/image_10032025_17_58_06_30060.jpg
MAIN: 2025-03-10 17:58:06,628 - INFO - duration: 0.7009745830000611
MAIN: 2025-03-10 17:58:06,629 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:58:36,295 - INFO - taking picture
MAIN: 2025-03-10 17:58:36,296 - INFO - we take 1377 photos in this while loop
MAIN: 2025-03-10 17:58:36,296 - INFO - /home/pi/Desktop/images/10032025/17/58/image_10032025_17_58_35_29657.jpg
MAIN: 2025-03-10 17:58:36,296 - INFO - duration: 0.7108567700051935
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 17:59:05,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:59:07,275 - INFO - taking picture
MAIN: 2025-03-10 17:59:07,275 - INFO - we take 1378 photos in this while loop
MAIN: 2025-03-10 17:59:07,276 - INFO - /home/pi/Desktop/images/10032025/17/58/image_10032025_17_59_06_31010.jpg
MAIN: 2025-03-10 17:59:07,276 - INFO - duration: 0.6803149990009842
MAIN: 2025-03-10 17:59:07,276 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/17/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 17:59:36,924 - INFO - taking picture
MAIN: 2025-03-10 17:59:36,925 - INFO - we take 1379 photos in this while loop
MAIN: 2025-03-10 17:59:36,925 - INFO - /home/pi/Desktop/images/10032025/17/59/image_10032025_17_59_36_29632.jpg
MAIN: 2025-03-10 17:59:36,925 - INFO - duration: 0.6968241150025278
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:00:07,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 ! 
MAIN: 2025-03-10 18:00:07,201 - INFO - taking picture
MAIN: 2025-03-10 18:00:07,202 - INFO - we take 1380 photos in this while loop
MAIN: 2025-03-10 18:00:07,203 - INFO - /home/pi/Desktop/images/10032025/17/59/image_10032025_18_00_06_30307.jpg
MAIN: 2025-03-10 18:00:07,204 - INFO - duration: 0.6680723429963109
MAIN: 2025-03-10 18:00:07,205 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:00:36,834 - INFO - taking picture
MAIN: 2025-03-10 18:00:36,835 - INFO - we take 1381 photos in this while loop
MAIN: 2025-03-10 18:00:36,835 - INFO - /home/pi/Desktop/images/10032025/18/00/image_10032025_18_00_36_29607.jpg
MAIN: 2025-03-10 18:00:36,835 - INFO - duration: 0.6921114580036374
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:01: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 ! 
MAIN: 2025-03-10 18:01:06,791 - INFO - taking picture
MAIN: 2025-03-10 18:01:06,792 - INFO - we take 1382 photos in this while loop
MAIN: 2025-03-10 18:01:06,792 - INFO - /home/pi/Desktop/images/10032025/18/00/image_10032025_18_01_06_29967.jpg
MAIN: 2025-03-10 18:01:06,792 - INFO - duration: 0.6817815620015608
MAIN: 2025-03-10 18:01:06,793 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/01'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:01:36,320 - INFO - taking picture
MAIN: 2025-03-10 18:01:36,321 - INFO - we take 1383 photos in this while loop
MAIN: 2025-03-10 18:01:36,321 - INFO - /home/pi/Desktop/images/10032025/18/01/image_10032025_18_01_35_29514.jpg
MAIN: 2025-03-10 18:01:36,321 - INFO - duration: 0.6957997389981756
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:02:06,377 - INFO - taking picture
MAIN: 2025-03-10 18:02:06,377 - INFO - we take 1384 photos in this while loop
MAIN: 2025-03-10 18:02:06,377 - INFO - /home/pi/Desktop/images/10032025/18/01/image_10032025_18_02_05_30121.jpg
MAIN: 2025-03-10 18:02:06,378 - INFO - duration: 0.6306984379989444
MAIN: 2025-03-10 18:02:06,378 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/02'
MAIN: 2025-03-10 18:02:07,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:02:37,286 - INFO - taking picture
MAIN: 2025-03-10 18:02:37,287 - INFO - we take 1385 photos in this while loop
MAIN: 2025-03-10 18:02:37,287 - INFO - /home/pi/Desktop/images/10032025/18/02/image_10032025_18_02_36_30840.jpg
MAIN: 2025-03-10 18:02:37,287 - INFO - duration: 0.69968260400492
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:03: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:03:07,414 - INFO - taking picture
MAIN: 2025-03-10 18:03:07,414 - INFO - we take 1386 photos in this while loop
MAIN: 2025-03-10 18:03:07,414 - INFO - /home/pi/Desktop/images/10032025/18/02/image_10032025_18_03_07_30129.jpg
MAIN: 2025-03-10 18:03:07,415 - INFO - duration: 0.697754270004225
MAIN: 2025-03-10 18:03:07,415 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/03'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:03:37,078 - INFO - taking picture
MAIN: 2025-03-10 18:03:37,079 - INFO - we take 1387 photos in this while loop
MAIN: 2025-03-10 18:03:37,079 - INFO - /home/pi/Desktop/images/10032025/18/03/image_10032025_18_03_36_29663.jpg
MAIN: 2025-03-10 18:03:37,079 - INFO - duration: 0.6985932809984661
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 18:04: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:04:07,110 - INFO - taking picture
MAIN: 2025-03-10 18:04:07,110 - INFO - we take 1388 photos in this while loop
MAIN: 2025-03-10 18:04:07,110 - INFO - /home/pi/Desktop/images/10032025/18/03/image_10032025_18_04_06_30079.jpg
MAIN: 2025-03-10 18:04:07,111 - INFO - duration: 0.6509572920040227
MAIN: 2025-03-10 18:04:07,111 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:04:36,863 - INFO - taking picture
MAIN: 2025-03-10 18:04:36,863 - INFO - we take 1389 photos in this while loop
MAIN: 2025-03-10 18:04:36,863 - INFO - /home/pi/Desktop/images/10032025/18/04/image_10032025_18_04_36_29713.jpg
MAIN: 2025-03-10 18:04:36,863 - INFO - duration: 0.690005000004021
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:05: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:05:06,981 - INFO - taking picture
MAIN: 2025-03-10 18:05:06,982 - INFO - we take 1390 photos in this while loop
MAIN: 2025-03-10 18:05:06,982 - INFO - /home/pi/Desktop/images/10032025/18/04/image_10032025_18_05_06_30124.jpg
MAIN: 2025-03-10 18:05:06,983 - INFO - duration: 0.6846493740013102
MAIN: 2025-03-10 18:05:06,984 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:05:36,601 - INFO - taking picture
MAIN: 2025-03-10 18:05:36,602 - INFO - we take 1391 photos in this while loop
MAIN: 2025-03-10 18:05:36,602 - INFO - /home/pi/Desktop/images/10032025/18/05/image_10032025_18_05_36_29599.jpg
MAIN: 2025-03-10 18:05:36,602 - INFO - duration: 0.7046384899949771
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:06:06,540 - INFO - cam.read() 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-10 18:06:06,860 - INFO - taking picture
MAIN: 2025-03-10 18:06:06,861 - INFO - we take 1392 photos in this while loop
MAIN: 2025-03-10 18:06:06,861 - INFO - /home/pi/Desktop/images/10032025/18/05/image_10032025_18_06_06_30267.jpg
MAIN: 2025-03-10 18:06:06,861 - INFO - duration: 0.6957421350016375
MAIN: 2025-03-10 18:06:06,862 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:06:36,456 - INFO - taking picture
MAIN: 2025-03-10 18:06:36,457 - INFO - we take 1393 photos in this while loop
MAIN: 2025-03-10 18:06:36,457 - INFO - /home/pi/Desktop/images/10032025/18/06/image_10032025_18_06_36_29599.jpg
MAIN: 2025-03-10 18:06:36,457 - INFO - duration: 0.692087656003423
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:07:06,455 - INFO - taking picture
MAIN: 2025-03-10 18:07:06,456 - INFO - we take 1394 photos in this while loop
MAIN: 2025-03-10 18:07:06,456 - INFO - /home/pi/Desktop/images/10032025/18/06/image_10032025_18_07_06_30015.jpg
MAIN: 2025-03-10 18:07:06,456 - INFO - duration: 0.6757654159955564
MAIN: 2025-03-10 18:07:06,457 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/07'
MAIN: 2025-03-10 18:07: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:07:37,449 - INFO - taking picture
MAIN: 2025-03-10 18:07:37,449 - INFO - we take 1395 photos in this while loop
MAIN: 2025-03-10 18:07:37,449 - INFO - /home/pi/Desktop/images/10032025/18/07/image_10032025_18_07_37_30977.jpg
MAIN: 2025-03-10 18:07:37,450 - INFO - duration: 0.691341771002044
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:08:06,348 - INFO - taking picture
MAIN: 2025-03-10 18:08:06,349 - INFO - we take 1396 photos in this while loop
MAIN: 2025-03-10 18:08:06,349 - INFO - /home/pi/Desktop/images/10032025/18/07/image_10032025_18_08_05_28941.jpg
MAIN: 2025-03-10 18:08:06,349 - INFO - duration: 0.6492751559999306
MAIN: 2025-03-10 18:08:06,350 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/08'
MAIN: 2025-03-10 18:08:07,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:08:37,285 - INFO - taking picture
MAIN: 2025-03-10 18:08:37,286 - INFO - we take 1397 photos in this while loop
MAIN: 2025-03-10 18:08:37,286 - INFO - /home/pi/Desktop/images/10032025/18/08/image_10032025_18_08_36_30885.jpg
MAIN: 2025-03-10 18:08:37,286 - INFO - duration: 0.7014335939966259
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:09: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:09:07,414 - INFO - taking picture
MAIN: 2025-03-10 18:09:07,414 - INFO - we take 1398 photos in this while loop
MAIN: 2025-03-10 18:09:07,414 - INFO - /home/pi/Desktop/images/10032025/18/08/image_10032025_18_09_07_30158.jpg
MAIN: 2025-03-10 18:09:07,414 - INFO - duration: 0.6713998949999223
MAIN: 2025-03-10 18:09:07,415 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/09'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:09:37,062 - INFO - taking picture
MAIN: 2025-03-10 18:09:37,062 - INFO - we take 1399 photos in this while loop
MAIN: 2025-03-10 18:09:37,062 - INFO - /home/pi/Desktop/images/10032025/18/09/image_10032025_18_09_36_29623.jpg
MAIN: 2025-03-10 18:09:37,063 - INFO - duration: 0.6963981250009965
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:10:07,026 - INFO - cam.read() 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-10 18:10:07,299 - INFO - taking picture
MAIN: 2025-03-10 18:10:07,300 - INFO - we take 1400 photos in this while loop
MAIN: 2025-03-10 18:10:07,300 - INFO - /home/pi/Desktop/images/10032025/18/09/image_10032025_18_10_06_30231.jpg
MAIN: 2025-03-10 18:10:07,300 - INFO - duration: 0.7028492699973867
MAIN: 2025-03-10 18:10:07,301 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:10:36,716 - INFO - taking picture
MAIN: 2025-03-10 18:10:36,717 - INFO - we take 1401 photos in this while loop
MAIN: 2025-03-10 18:10:36,717 - INFO - /home/pi/Desktop/images/10032025/18/10/image_10032025_18_10_36_29452.jpg
MAIN: 2025-03-10 18:10:36,717 - INFO - duration: 0.666891510001733
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:11: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:11:06,719 - INFO - taking picture
MAIN: 2025-03-10 18:11:06,719 - INFO - we take 1402 photos in this while loop
MAIN: 2025-03-10 18:11:06,719 - INFO - /home/pi/Desktop/images/10032025/18/10/image_10032025_18_11_06_29964.jpg
MAIN: 2025-03-10 18:11:06,719 - INFO - duration: 0.7042462500030524
MAIN: 2025-03-10 18:11:06,720 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:11:36,284 - INFO - taking picture
MAIN: 2025-03-10 18:11:36,285 - INFO - we take 1403 photos in this while loop
MAIN: 2025-03-10 18:11:36,285 - INFO - /home/pi/Desktop/images/10032025/18/11/image_10032025_18_11_35_29573.jpg
MAIN: 2025-03-10 18:11:36,285 - INFO - duration: 0.6963657290034462
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:12:06,390 - INFO - taking picture
MAIN: 2025-03-10 18:12:06,390 - INFO - we take 1404 photos in this while loop
MAIN: 2025-03-10 18:12:06,390 - INFO - /home/pi/Desktop/images/10032025/18/11/image_10032025_18_12_06_30160.jpg
MAIN: 2025-03-10 18:12:06,391 - INFO - duration: 0.640898958001344
MAIN: 2025-03-10 18:12:06,391 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/12'
MAIN: 2025-03-10 18:12:06,595 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:12:37,368 - INFO - taking picture
MAIN: 2025-03-10 18:12:37,368 - INFO - we take 1405 photos in this while loop
MAIN: 2025-03-10 18:12:37,368 - INFO - /home/pi/Desktop/images/10032025/18/12/image_10032025_18_12_36_30925.jpg
MAIN: 2025-03-10 18:12:37,369 - INFO - duration: 0.6932802079973044
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:13:06,720 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:13:07,412 - INFO - taking picture
MAIN: 2025-03-10 18:13:07,412 - INFO - we take 1406 photos in this while loop
MAIN: 2025-03-10 18:13:07,413 - INFO - /home/pi/Desktop/images/10032025/18/12/image_10032025_18_13_07_30027.jpg
MAIN: 2025-03-10 18:13:07,413 - INFO - duration: 0.7102178120039753
MAIN: 2025-03-10 18:13:07,413 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:13:37,087 - INFO - taking picture
MAIN: 2025-03-10 18:13:37,087 - INFO - we take 1407 photos in this while loop
MAIN: 2025-03-10 18:13:37,088 - INFO - /home/pi/Desktop/images/10032025/18/13/image_10032025_18_13_36_29677.jpg
MAIN: 2025-03-10 18:13:37,088 - INFO - duration: 0.7080368219976663
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:14: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:14:07,240 - INFO - taking picture
MAIN: 2025-03-10 18:14:07,241 - INFO - we take 1408 photos in this while loop
MAIN: 2025-03-10 18:14:07,241 - INFO - /home/pi/Desktop/images/10032025/18/13/image_10032025_18_14_06_30162.jpg
MAIN: 2025-03-10 18:14:07,241 - INFO - duration: 0.699383957995451
MAIN: 2025-03-10 18:14:07,242 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:14:36,896 - INFO - taking picture
MAIN: 2025-03-10 18:14:36,897 - INFO - we take 1409 photos in this while loop
MAIN: 2025-03-10 18:14:36,897 - INFO - /home/pi/Desktop/images/10032025/18/14/image_10032025_18_14_36_29661.jpg
MAIN: 2025-03-10 18:14:36,897 - INFO - duration: 0.6934977079945384
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:15:06,295 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:15:06,861 - INFO - taking picture
MAIN: 2025-03-10 18:15:06,862 - INFO - we take 1410 photos in this while loop
MAIN: 2025-03-10 18:15:06,862 - INFO - /home/pi/Desktop/images/10032025/18/14/image_10032025_18_15_06_29942.jpg
MAIN: 2025-03-10 18:15:06,862 - INFO - duration: 0.715733436998562
MAIN: 2025-03-10 18:15:06,863 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:15:36,487 - INFO - taking picture
MAIN: 2025-03-10 18:15:36,487 - INFO - we take 1411 photos in this while loop
MAIN: 2025-03-10 18:15:36,488 - INFO - /home/pi/Desktop/images/10032025/18/15/image_10032025_18_15_36_29639.jpg
MAIN: 2025-03-10 18:15:36,488 - INFO - duration: 0.7013499469976523
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:16:06,240 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:16:06,730 - INFO - taking picture
MAIN: 2025-03-10 18:16:06,731 - INFO - we take 1412 photos in this while loop
MAIN: 2025-03-10 18:16:06,731 - INFO - /home/pi/Desktop/images/10032025/18/15/image_10032025_18_16_06_30234.jpg
MAIN: 2025-03-10 18:16:06,731 - INFO - duration: 0.7098576040007174
MAIN: 2025-03-10 18:16:06,732 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:16:36,385 - INFO - taking picture
MAIN: 2025-03-10 18:16:36,385 - INFO - we take 1413 photos in this while loop
MAIN: 2025-03-10 18:16:36,386 - INFO - /home/pi/Desktop/images/10032025/18/16/image_10032025_18_16_36_29660.jpg
MAIN: 2025-03-10 18:16:36,386 - INFO - duration: 0.7034477600027458
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:17:06,237 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 18:17:06,479 - INFO - taking picture
MAIN: 2025-03-10 18:17:06,479 - INFO - we take 1414 photos in this while loop
MAIN: 2025-03-10 18:17:06,480 - INFO - /home/pi/Desktop/images/10032025/18/16/image_10032025_18_17_06_30098.jpg
MAIN: 2025-03-10 18:17:06,480 - INFO - duration: 0.6987123949948
MAIN: 2025-03-10 18:17:06,480 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:17:37,335 - INFO - taking picture
MAIN: 2025-03-10 18:17:37,335 - INFO - we take 1415 photos in this while loop
MAIN: 2025-03-10 18:17:37,336 - INFO - /home/pi/Desktop/images/10032025/18/17/image_10032025_18_17_36_30858.jpg
MAIN: 2025-03-10 18:17:37,336 - INFO - duration: 0.6962284889959847
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:18: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:18:07,244 - INFO - taking picture
MAIN: 2025-03-10 18:18:07,245 - INFO - we take 1416 photos in this while loop
MAIN: 2025-03-10 18:18:07,245 - INFO - /home/pi/Desktop/images/10032025/18/17/image_10032025_18_18_06_29905.jpg
MAIN: 2025-03-10 18:18:07,245 - INFO - duration: 0.7002997400049935
MAIN: 2025-03-10 18:18:07,246 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/18'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:18:36,745 - INFO - taking picture
MAIN: 2025-03-10 18:18:36,745 - INFO - we take 1417 photos in this while loop
MAIN: 2025-03-10 18:18:36,746 - INFO - /home/pi/Desktop/images/10032025/18/18/image_10032025_18_18_36_29521.jpg
MAIN: 2025-03-10 18:18:36,746 - INFO - duration: 0.678834010999708
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:19:05,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:19:06,619 - INFO - taking picture
MAIN: 2025-03-10 18:19:06,620 - INFO - we take 1418 photos in this while loop
MAIN: 2025-03-10 18:19:06,620 - INFO - /home/pi/Desktop/images/10032025/18/18/image_10032025_18_19_06_29865.jpg
MAIN: 2025-03-10 18:19:06,620 - INFO - duration: 0.6878185930036125
MAIN: 2025-03-10 18:19:06,621 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/19'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:19:37,484 - INFO - taking picture
MAIN: 2025-03-10 18:19:37,484 - INFO - we take 1419 photos in this while loop
MAIN: 2025-03-10 18:19:37,484 - INFO - /home/pi/Desktop/images/10032025/18/19/image_10032025_18_19_37_30867.jpg
MAIN: 2025-03-10 18:19:37,485 - INFO - duration: 0.6846087490048376
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:20:06,449 - INFO - taking picture
MAIN: 2025-03-10 18:20:06,450 - INFO - we take 1420 photos in this while loop
MAIN: 2025-03-10 18:20:06,450 - INFO - /home/pi/Desktop/images/10032025/18/19/image_10032025_18_20_06_28973.jpg
MAIN: 2025-03-10 18:20:06,451 - INFO - duration: 0.6771307809976861
MAIN: 2025-03-10 18:20:06,451 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/20'
MAIN: 2025-03-10 18:20:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:20:37,169 - INFO - taking picture
MAIN: 2025-03-10 18:20:37,169 - INFO - we take 1421 photos in this while loop
MAIN: 2025-03-10 18:20:37,170 - INFO - /home/pi/Desktop/images/10032025/18/20/image_10032025_18_20_36_30704.jpg
MAIN: 2025-03-10 18:20:37,170 - INFO - duration: 0.6915050000025076
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:21: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:21:06,999 - INFO - taking picture
MAIN: 2025-03-10 18:21:06,999 - INFO - we take 1422 photos in this while loop
MAIN: 2025-03-10 18:21:06,999 - INFO - /home/pi/Desktop/images/10032025/18/20/image_10032025_18_21_06_29885.jpg
MAIN: 2025-03-10 18:21:07,000 - INFO - duration: 0.6358668739994755
MAIN: 2025-03-10 18:21:07,000 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:21:36,572 - INFO - taking picture
MAIN: 2025-03-10 18:21:36,572 - INFO - we take 1423 photos in this while loop
MAIN: 2025-03-10 18:21:36,573 - INFO - /home/pi/Desktop/images/10032025/18/21/image_10032025_18_21_36_29511.jpg
MAIN: 2025-03-10 18:21:36,573 - INFO - duration: 0.6973451559970272
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:22:06,524 - INFO - taking picture
MAIN: 2025-03-10 18:22:06,524 - INFO - we take 1424 photos in this while loop
MAIN: 2025-03-10 18:22:06,525 - INFO - /home/pi/Desktop/images/10032025/18/21/image_10032025_18_22_06_30008.jpg
MAIN: 2025-03-10 18:22:06,525 - INFO - duration: 0.641270104002615
MAIN: 2025-03-10 18:22:06,525 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/22'
MAIN: 2025-03-10 18:22: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:22:36,242 - INFO - taking picture
MAIN: 2025-03-10 18:22:36,242 - INFO - we take 1425 photos in this while loop
MAIN: 2025-03-10 18:22:36,243 - INFO - /home/pi/Desktop/images/10032025/18/22/image_10032025_18_22_35_29680.jpg
MAIN: 2025-03-10 18:22:36,243 - INFO - duration: 0.6788900520041352
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:23:06,679 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:23:07,415 - INFO - taking picture
MAIN: 2025-03-10 18:23:07,415 - INFO - we take 1426 photos in this while loop
MAIN: 2025-03-10 18:23:07,415 - INFO - /home/pi/Desktop/images/10032025/18/22/image_10032025_18_23_07_31200.jpg
MAIN: 2025-03-10 18:23:07,416 - INFO - duration: 0.6506761459968402
MAIN: 2025-03-10 18:23:07,416 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:23:37,106 - INFO - taking picture
MAIN: 2025-03-10 18:23:37,107 - INFO - we take 1427 photos in this while loop
MAIN: 2025-03-10 18:23:37,107 - INFO - /home/pi/Desktop/images/10032025/18/23/image_10032025_18_23_36_29648.jpg
MAIN: 2025-03-10 18:23:37,107 - INFO - duration: 0.6941985939993174
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:24: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:24:07,218 - INFO - taking picture
MAIN: 2025-03-10 18:24:07,218 - INFO - we take 1428 photos in this while loop
MAIN: 2025-03-10 18:24:07,218 - INFO - /home/pi/Desktop/images/10032025/18/23/image_10032025_18_24_06_30114.jpg
MAIN: 2025-03-10 18:24:07,219 - INFO - duration: 0.6912991659992258
MAIN: 2025-03-10 18:24:07,219 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:24:36,847 - INFO - taking picture
MAIN: 2025-03-10 18:24:36,848 - INFO - we take 1429 photos in this while loop
MAIN: 2025-03-10 18:24:36,848 - INFO - /home/pi/Desktop/images/10032025/18/24/image_10032025_18_24_36_29626.jpg
MAIN: 2025-03-10 18:24:36,848 - INFO - duration: 0.6948522390011931
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:25:07,074 - INFO - taking picture
MAIN: 2025-03-10 18:25:07,074 - INFO - we take 1430 photos in this while loop
MAIN: 2025-03-10 18:25:07,075 - INFO - /home/pi/Desktop/images/10032025/18/24/image_10032025_18_25_06_30247.jpg
MAIN: 2025-03-10 18:25:07,075 - INFO - duration: 0.6742292700000689
MAIN: 2025-03-10 18:25:07,075 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/25'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:25:36,637 - INFO - taking picture
MAIN: 2025-03-10 18:25:36,637 - INFO - we take 1431 photos in this while loop
MAIN: 2025-03-10 18:25:36,638 - INFO - /home/pi/Desktop/images/10032025/18/25/image_10032025_18_25_36_29591.jpg
MAIN: 2025-03-10 18:25:36,638 - INFO - duration: 0.6459642190020531
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:26: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:26:06,792 - INFO - taking picture
MAIN: 2025-03-10 18:26:06,793 - INFO - we take 1432 photos in this while loop
MAIN: 2025-03-10 18:26:06,793 - INFO - /home/pi/Desktop/images/10032025/18/25/image_10032025_18_26_06_30144.jpg
MAIN: 2025-03-10 18:26:06,793 - INFO - duration: 0.6573231770016719
MAIN: 2025-03-10 18:26:06,794 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:26:36,412 - INFO - taking picture
MAIN: 2025-03-10 18:26:36,412 - INFO - we take 1433 photos in this while loop
MAIN: 2025-03-10 18:26:36,413 - INFO - /home/pi/Desktop/images/10032025/18/26/image_10032025_18_26_36_29594.jpg
MAIN: 2025-03-10 18:26:36,413 - INFO - duration: 0.6826479689989355
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:27: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 ! 
MAIN: 2025-03-10 18:27:06,444 - INFO - taking picture
MAIN: 2025-03-10 18:27:06,444 - INFO - we take 1434 photos in this while loop
MAIN: 2025-03-10 18:27:06,445 - INFO - /home/pi/Desktop/images/10032025/18/26/image_10032025_18_27_06_30027.jpg
MAIN: 2025-03-10 18:27:06,445 - INFO - duration: 0.6871573440002976
MAIN: 2025-03-10 18:27:06,445 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:27:37,346 - INFO - taking picture
MAIN: 2025-03-10 18:27:37,347 - INFO - we take 1435 photos in this while loop
MAIN: 2025-03-10 18:27:37,347 - INFO - /home/pi/Desktop/images/10032025/18/27/image_10032025_18_27_36_30891.jpg
MAIN: 2025-03-10 18:27:37,347 - INFO - duration: 0.6978454159980174
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:28: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:28:07,375 - INFO - taking picture
MAIN: 2025-03-10 18:28:07,376 - INFO - we take 1436 photos in this while loop
MAIN: 2025-03-10 18:28:07,376 - INFO - /home/pi/Desktop/images/10032025/18/27/image_10032025_18_28_06_30015.jpg
MAIN: 2025-03-10 18:28:07,376 - INFO - duration: 0.7115495830003056
MAIN: 2025-03-10 18:28:07,377 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/28'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:28:36,895 - INFO - taking picture
MAIN: 2025-03-10 18:28:36,896 - INFO - we take 1437 photos in this while loop
MAIN: 2025-03-10 18:28:36,896 - INFO - /home/pi/Desktop/images/10032025/18/28/image_10032025_18_28_36_29535.jpg
MAIN: 2025-03-10 18:28:36,896 - INFO - duration: 0.6957275519962423
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 18:29:05,410 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:29:06,678 - INFO - taking picture
MAIN: 2025-03-10 18:29:06,678 - INFO - we take 1438 photos in this while loop
MAIN: 2025-03-10 18:29:06,678 - INFO - /home/pi/Desktop/images/10032025/18/28/image_10032025_18_29_06_29778.jpg
MAIN: 2025-03-10 18:29:06,679 - INFO - duration: 0.7001387499985867
MAIN: 2025-03-10 18:29:06,679 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:29:36,356 - INFO - taking picture
MAIN: 2025-03-10 18:29:36,357 - INFO - we take 1439 photos in this while loop
MAIN: 2025-03-10 18:29:36,357 - INFO - /home/pi/Desktop/images/10032025/18/29/image_10032025_18_29_35_29719.jpg
MAIN: 2025-03-10 18:29:36,357 - INFO - duration: 0.6595645310007967
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:30:06,583 - INFO - taking picture
MAIN: 2025-03-10 18:30:06,584 - INFO - we take 1440 photos in this while loop
MAIN: 2025-03-10 18:30:06,584 - INFO - /home/pi/Desktop/images/10032025/18/29/image_10032025_18_30_06_30219.jpg
MAIN: 2025-03-10 18:30:06,585 - INFO - duration: 0.6676958329990157
MAIN: 2025-03-10 18:30:06,585 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/30'
MAIN: 2025-03-10 18:30: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:30:37,381 - INFO - taking picture
MAIN: 2025-03-10 18:30:37,382 - INFO - we take 1441 photos in this while loop
MAIN: 2025-03-10 18:30:37,382 - INFO - /home/pi/Desktop/images/10032025/18/30/image_10032025_18_30_37_30766.jpg
MAIN: 2025-03-10 18:30:37,382 - INFO - duration: 0.698512707996997
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:31:05,969 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:31:07,277 - INFO - taking picture
MAIN: 2025-03-10 18:31:07,278 - INFO - we take 1442 photos in this while loop
MAIN: 2025-03-10 18:31:07,278 - INFO - /home/pi/Desktop/images/10032025/18/30/image_10032025_18_31_06_29931.jpg
MAIN: 2025-03-10 18:31:07,278 - INFO - duration: 0.6631279690045631
MAIN: 2025-03-10 18:31:07,278 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:31:36,878 - INFO - taking picture
MAIN: 2025-03-10 18:31:36,878 - INFO - we take 1443 photos in this while loop
MAIN: 2025-03-10 18:31:36,879 - INFO - /home/pi/Desktop/images/10032025/18/31/image_10032025_18_31_36_29570.jpg
MAIN: 2025-03-10 18:31:36,879 - INFO - duration: 0.6936758849988109
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:32: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:32:06,991 - INFO - taking picture
MAIN: 2025-03-10 18:32:06,992 - INFO - we take 1444 photos in this while loop
MAIN: 2025-03-10 18:32:06,992 - INFO - /home/pi/Desktop/images/10032025/18/31/image_10032025_18_32_06_30078.jpg
MAIN: 2025-03-10 18:32:06,992 - INFO - duration: 0.7281244779951521
MAIN: 2025-03-10 18:32:06,993 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/32'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:32:36,652 - INFO - taking picture
MAIN: 2025-03-10 18:32:36,652 - INFO - we take 1445 photos in this while loop
MAIN: 2025-03-10 18:32:36,652 - INFO - /home/pi/Desktop/images/10032025/18/32/image_10032025_18_32_36_29671.jpg
MAIN: 2025-03-10 18:32:36,653 - INFO - duration: 0.7168593229944236
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:33:06,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 ! 
MAIN: 2025-03-10 18:33:06,621 - INFO - taking picture
MAIN: 2025-03-10 18:33:06,622 - INFO - we take 1446 photos in this while loop
MAIN: 2025-03-10 18:33:06,622 - INFO - /home/pi/Desktop/images/10032025/18/32/image_10032025_18_33_06_30025.jpg
MAIN: 2025-03-10 18:33:06,623 - INFO - duration: 0.660758749996603
MAIN: 2025-03-10 18:33:06,623 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:33:36,297 - INFO - taking picture
MAIN: 2025-03-10 18:33:36,298 - INFO - we take 1447 photos in this while loop
MAIN: 2025-03-10 18:33:36,298 - INFO - /home/pi/Desktop/images/10032025/18/33/image_10032025_18_33_35_29681.jpg
MAIN: 2025-03-10 18:33:36,298 - INFO - duration: 0.6554081770009361
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:34: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 ! 
MAIN: 2025-03-10 18:34:06,430 - INFO - taking picture
MAIN: 2025-03-10 18:34:06,431 - INFO - we take 1448 photos in this while loop
MAIN: 2025-03-10 18:34:06,431 - INFO - /home/pi/Desktop/images/10032025/18/33/image_10032025_18_34_06_30144.jpg
MAIN: 2025-03-10 18:34:06,431 - INFO - duration: 0.6434705200008466
MAIN: 2025-03-10 18:34:06,431 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:34:37,356 - INFO - taking picture
MAIN: 2025-03-10 18:34:37,357 - INFO - we take 1449 photos in this while loop
MAIN: 2025-03-10 18:34:37,357 - INFO - /home/pi/Desktop/images/10032025/18/34/image_10032025_18_34_36_30866.jpg
MAIN: 2025-03-10 18:34:37,357 - INFO - duration: 0.7031279689981602
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:35:06,571 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:35:07,409 - INFO - taking picture
MAIN: 2025-03-10 18:35:07,411 - INFO - we take 1450 photos in this while loop
MAIN: 2025-03-10 18:35:07,411 - INFO - /home/pi/Desktop/images/10032025/18/34/image_10032025_18_35_06_30072.jpg
MAIN: 2025-03-10 18:35:07,412 - INFO - duration: 0.6855785939987982
MAIN: 2025-03-10 18:35:07,413 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:35:36,988 - INFO - taking picture
MAIN: 2025-03-10 18:35:36,988 - INFO - we take 1451 photos in this while loop
MAIN: 2025-03-10 18:35:36,989 - INFO - /home/pi/Desktop/images/10032025/18/35/image_10032025_18_35_36_29575.jpg
MAIN: 2025-03-10 18:35:36,989 - INFO - duration: 0.6870325510026305
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:36:06,432 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:36:07,030 - INFO - taking picture
MAIN: 2025-03-10 18:36:07,031 - INFO - we take 1452 photos in this while loop
MAIN: 2025-03-10 18:36:07,031 - INFO - /home/pi/Desktop/images/10032025/18/35/image_10032025_18_36_06_29999.jpg
MAIN: 2025-03-10 18:36:07,031 - INFO - duration: 0.7297901560013997
MAIN: 2025-03-10 18:36:07,031 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:36:36,684 - INFO - taking picture
MAIN: 2025-03-10 18:36:36,684 - INFO - we take 1453 photos in this while loop
MAIN: 2025-03-10 18:36:36,685 - INFO - /home/pi/Desktop/images/10032025/18/36/image_10032025_18_36_36_29722.jpg
MAIN: 2025-03-10 18:36:36,685 - INFO - duration: 0.6609188540023752
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:37: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:37:06,837 - INFO - taking picture
MAIN: 2025-03-10 18:37:06,838 - INFO - we take 1454 photos in this while loop
MAIN: 2025-03-10 18:37:06,838 - INFO - /home/pi/Desktop/images/10032025/18/36/image_10032025_18_37_06_30157.jpg
MAIN: 2025-03-10 18:37:06,838 - INFO - duration: 0.6565563539988943
MAIN: 2025-03-10 18:37:06,839 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:37:36,455 - INFO - taking picture
MAIN: 2025-03-10 18:37:36,455 - INFO - we take 1455 photos in this while loop
MAIN: 2025-03-10 18:37:36,455 - INFO - /home/pi/Desktop/images/10032025/18/37/image_10032025_18_37_36_29602.jpg
MAIN: 2025-03-10 18:37:36,456 - INFO - duration: 0.6710196349959006
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:38:05,761 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:38:06,589 - INFO - taking picture
MAIN: 2025-03-10 18:38:06,589 - INFO - we take 1456 photos in this while loop
MAIN: 2025-03-10 18:38:06,590 - INFO - /home/pi/Desktop/images/10032025/18/37/image_10032025_18_38_06_30157.jpg
MAIN: 2025-03-10 18:38:06,590 - INFO - duration: 0.6482513540031505
MAIN: 2025-03-10 18:38:06,590 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:38:37,514 - INFO - taking picture
MAIN: 2025-03-10 18:38:37,514 - INFO - we take 1457 photos in this while loop
MAIN: 2025-03-10 18:38:37,515 - INFO - /home/pi/Desktop/images/10032025/18/38/image_10032025_18_38_37_30861.jpg
MAIN: 2025-03-10 18:38:37,515 - INFO - duration: 0.7116635940037668
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:39: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:39:06,302 - INFO - taking picture
MAIN: 2025-03-10 18:39:06,302 - INFO - we take 1458 photos in this while loop
MAIN: 2025-03-10 18:39:06,302 - INFO - /home/pi/Desktop/images/10032025/18/38/image_10032025_18_39_05_28785.jpg
MAIN: 2025-03-10 18:39:06,303 - INFO - duration: 0.7139755209936993
MAIN: 2025-03-10 18:39:06,303 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:39:37,158 - INFO - taking picture
MAIN: 2025-03-10 18:39:37,159 - INFO - we take 1459 photos in this while loop
MAIN: 2025-03-10 18:39:37,159 - INFO - /home/pi/Desktop/images/10032025/18/39/image_10032025_18_39_36_30922.jpg
MAIN: 2025-03-10 18:39:37,159 - INFO - duration: 0.6480998439947143
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:40: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:40:07,457 - INFO - taking picture
MAIN: 2025-03-10 18:40:07,458 - INFO - we take 1460 photos in this while loop
MAIN: 2025-03-10 18:40:07,459 - INFO - /home/pi/Desktop/images/10032025/18/39/image_10032025_18_40_07_30242.jpg
MAIN: 2025-03-10 18:40:07,460 - INFO - duration: 0.7055096360054449
MAIN: 2025-03-10 18:40:07,460 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/40'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:40:36,950 - INFO - taking picture
MAIN: 2025-03-10 18:40:36,951 - INFO - we take 1461 photos in this while loop
MAIN: 2025-03-10 18:40:36,951 - INFO - /home/pi/Desktop/images/10032025/18/40/image_10032025_18_40_36_29533.jpg
MAIN: 2025-03-10 18:40:36,951 - INFO - duration: 0.6637868739999249
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:41: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:41:06,804 - INFO - taking picture
MAIN: 2025-03-10 18:41:06,805 - INFO - we take 1462 photos in this while loop
MAIN: 2025-03-10 18:41:06,805 - INFO - /home/pi/Desktop/images/10032025/18/40/image_10032025_18_41_06_29808.jpg
MAIN: 2025-03-10 18:41:06,805 - INFO - duration: 0.7094238019999466
MAIN: 2025-03-10 18:41:06,805 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:41:36,363 - INFO - taking picture
MAIN: 2025-03-10 18:41:36,364 - INFO - we take 1463 photos in this while loop
MAIN: 2025-03-10 18:41:36,364 - INFO - /home/pi/Desktop/images/10032025/18/41/image_10032025_18_41_35_29572.jpg
MAIN: 2025-03-10 18:41:36,364 - INFO - duration: 0.6957504160018289
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:42:06,370 - INFO - taking picture
MAIN: 2025-03-10 18:42:06,370 - INFO - we take 1464 photos in this while loop
MAIN: 2025-03-10 18:42:06,370 - INFO - /home/pi/Desktop/images/10032025/18/41/image_10032025_18_42_05_30032.jpg
MAIN: 2025-03-10 18:42:06,370 - INFO - duration: 0.6695926560059888
MAIN: 2025-03-10 18:42:06,371 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/42'
MAIN: 2025-03-10 18:42:06,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:42:37,204 - INFO - taking picture
MAIN: 2025-03-10 18:42:37,205 - INFO - we take 1465 photos in this while loop
MAIN: 2025-03-10 18:42:37,205 - INFO - /home/pi/Desktop/images/10032025/18/42/image_10032025_18_42_36_30805.jpg
MAIN: 2025-03-10 18:42:37,205 - INFO - duration: 0.6987102600032813
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:43: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:43:07,101 - INFO - taking picture
MAIN: 2025-03-10 18:43:07,101 - INFO - we take 1466 photos in this while loop
MAIN: 2025-03-10 18:43:07,101 - INFO - /home/pi/Desktop/images/10032025/18/42/image_10032025_18_43_06_29916.jpg
MAIN: 2025-03-10 18:43:07,102 - INFO - duration: 0.6780358850010089
MAIN: 2025-03-10 18:43:07,102 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:43:36,646 - INFO - taking picture
MAIN: 2025-03-10 18:43:36,647 - INFO - we take 1467 photos in this while loop
MAIN: 2025-03-10 18:43:36,647 - INFO - /home/pi/Desktop/images/10032025/18/43/image_10032025_18_43_36_29549.jpg
MAIN: 2025-03-10 18:43:36,647 - INFO - duration: 0.6742863539984683
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:44:06,150 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:44:06,872 - INFO - taking picture
MAIN: 2025-03-10 18:44:06,872 - INFO - we take 1468 photos in this while loop
MAIN: 2025-03-10 18:44:06,872 - INFO - /home/pi/Desktop/images/10032025/18/43/image_10032025_18_44_06_30229.jpg
MAIN: 2025-03-10 18:44:06,873 - INFO - duration: 0.6703923430031864
MAIN: 2025-03-10 18:44:06,873 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:44:36,470 - INFO - taking picture
MAIN: 2025-03-10 18:44:36,470 - INFO - we take 1469 photos in this while loop
MAIN: 2025-03-10 18:44:36,470 - INFO - /home/pi/Desktop/images/10032025/18/44/image_10032025_18_44_36_29573.jpg
MAIN: 2025-03-10 18:44:36,471 - INFO - duration: 0.695015675999457
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:45:06,411 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 18:45:06,469 - INFO - taking picture
MAIN: 2025-03-10 18:45:06,470 - INFO - we take 1470 photos in this while loop
MAIN: 2025-03-10 18:45:06,470 - INFO - /home/pi/Desktop/images/10032025/18/44/image_10032025_18_45_06_30022.jpg
MAIN: 2025-03-10 18:45:06,470 - INFO - duration: 0.6723721870002919
MAIN: 2025-03-10 18:45:06,471 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:45:37,338 - INFO - taking picture
MAIN: 2025-03-10 18:45:37,339 - INFO - we take 1471 photos in this while loop
MAIN: 2025-03-10 18:45:37,339 - INFO - /home/pi/Desktop/images/10032025/18/45/image_10032025_18_45_36_30846.jpg
MAIN: 2025-03-10 18:45:37,339 - INFO - duration: 0.6946272389977821
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:46:05,883 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:46:07,041 - INFO - taking picture
MAIN: 2025-03-10 18:46:07,042 - INFO - we take 1472 photos in this while loop
MAIN: 2025-03-10 18:46:07,042 - INFO - /home/pi/Desktop/images/10032025/18/45/image_10032025_18_46_06_29729.jpg
MAIN: 2025-03-10 18:46:07,042 - INFO - duration: 0.6678714579975349
MAIN: 2025-03-10 18:46:07,043 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:46:36,526 - INFO - taking picture
MAIN: 2025-03-10 18:46:36,526 - INFO - we take 1473 photos in this while loop
MAIN: 2025-03-10 18:46:36,527 - INFO - /home/pi/Desktop/images/10032025/18/46/image_10032025_18_46_36_29455.jpg
MAIN: 2025-03-10 18:46:36,527 - INFO - duration: 0.6970461970049655
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:47:06,474 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 18:47:06,648 - INFO - taking picture
MAIN: 2025-03-10 18:47:06,649 - INFO - we take 1474 photos in this while loop
MAIN: 2025-03-10 18:47:06,649 - INFO - /home/pi/Desktop/images/10032025/18/46/image_10032025_18_47_06_30118.jpg
MAIN: 2025-03-10 18:47:06,649 - INFO - duration: 0.7010732810012996
MAIN: 2025-03-10 18:47:06,650 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:47:37,495 - INFO - taking picture
MAIN: 2025-03-10 18:47:37,495 - INFO - we take 1475 photos in this while loop
MAIN: 2025-03-10 18:47:37,495 - INFO - /home/pi/Desktop/images/10032025/18/47/image_10032025_18_47_37_30869.jpg
MAIN: 2025-03-10 18:47:37,496 - INFO - duration: 0.6782200520028709
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:48:06,540 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:48:07,207 - INFO - taking picture
MAIN: 2025-03-10 18:48:07,207 - INFO - we take 1476 photos in this while loop
MAIN: 2025-03-10 18:48:07,207 - INFO - /home/pi/Desktop/images/10032025/18/47/image_10032025_18_48_06_29707.jpg
MAIN: 2025-03-10 18:48:07,208 - INFO - duration: 0.6828310939963558
MAIN: 2025-03-10 18:48:07,208 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:48:36,772 - INFO - taking picture
MAIN: 2025-03-10 18:48:36,773 - INFO - we take 1477 photos in this while loop
MAIN: 2025-03-10 18:48:36,773 - INFO - /home/pi/Desktop/images/10032025/18/48/image_10032025_18_48_36_29565.jpg
MAIN: 2025-03-10 18:48:36,773 - INFO - duration: 0.6831095309971715
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:49: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 ! 
MAIN: 2025-03-10 18:49:06,677 - INFO - taking picture
MAIN: 2025-03-10 18:49:06,677 - INFO - we take 1478 photos in this while loop
MAIN: 2025-03-10 18:49:06,678 - INFO - /home/pi/Desktop/images/10032025/18/48/image_10032025_18_49_06_29877.jpg
MAIN: 2025-03-10 18:49:06,678 - INFO - duration: 0.7097423439990962
MAIN: 2025-03-10 18:49:06,678 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:49:36,310 - INFO - taking picture
MAIN: 2025-03-10 18:49:36,310 - INFO - we take 1479 photos in this while loop
MAIN: 2025-03-10 18:49:36,310 - INFO - /home/pi/Desktop/images/10032025/18/49/image_10032025_18_49_35_29654.jpg
MAIN: 2025-03-10 18:49:36,311 - INFO - duration: 0.6877623949985718
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:50:06,427 - INFO - taking picture
MAIN: 2025-03-10 18:50:06,428 - INFO - we take 1480 photos in this while loop
MAIN: 2025-03-10 18:50:06,428 - INFO - /home/pi/Desktop/images/10032025/18/49/image_10032025_18_50_05_30049.jpg
MAIN: 2025-03-10 18:50:06,428 - INFO - duration: 0.75604984399979
MAIN: 2025-03-10 18:50:06,585 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/50'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:50:07,629 - INFO - cam.read() return no image
Will output and 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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:50:37,342 - INFO - taking picture
MAIN: 2025-03-10 18:50:37,343 - INFO - we take 1481 photos in this while loop
MAIN: 2025-03-10 18:50:37,343 - INFO - /home/pi/Desktop/images/10032025/18/50/image_10032025_18_50_36_31008.jpg
MAIN: 2025-03-10 18:50:37,343 - INFO - duration: 0.6620734370007995
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:51:05,670 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:51:07,497 - INFO - taking picture
MAIN: 2025-03-10 18:51:07,497 - INFO - we take 1482 photos in this while loop
MAIN: 2025-03-10 18:51:07,498 - INFO - /home/pi/Desktop/images/10032025/18/50/image_10032025_18_51_07_30115.jpg
MAIN: 2025-03-10 18:51:07,498 - INFO - duration: 0.7009665619989391
MAIN: 2025-03-10 18:51:07,498 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:51:37,174 - INFO - taking picture
MAIN: 2025-03-10 18:51:37,175 - INFO - we take 1483 photos in this while loop
MAIN: 2025-03-10 18:51:37,175 - INFO - /home/pi/Desktop/images/10032025/18/51/image_10032025_18_51_36_29683.jpg
MAIN: 2025-03-10 18:51:37,175 - INFO - duration: 0.6941300000034971
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:52:06,130 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:52:07,163 - INFO - taking picture
MAIN: 2025-03-10 18:52:07,163 - INFO - we take 1484 photos in this while loop
MAIN: 2025-03-10 18:52:07,163 - INFO - /home/pi/Desktop/images/10032025/18/51/image_10032025_18_52_06_30036.jpg
MAIN: 2025-03-10 18:52:07,164 - INFO - duration: 0.6465591140004108
MAIN: 2025-03-10 18:52:07,164 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/52'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:52:36,724 - INFO - taking picture
MAIN: 2025-03-10 18:52:36,725 - INFO - we take 1485 photos in this while loop
MAIN: 2025-03-10 18:52:36,725 - INFO - /home/pi/Desktop/images/10032025/18/52/image_10032025_18_52_36_29508.jpg
MAIN: 2025-03-10 18:52:36,725 - INFO - duration: 0.699630832998082
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:53: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-10 18:53:06,739 - INFO - taking picture
MAIN: 2025-03-10 18:53:06,740 - INFO - we take 1486 photos in this while loop
MAIN: 2025-03-10 18:53:06,740 - INFO - /home/pi/Desktop/images/10032025/18/52/image_10032025_18_53_06_30020.jpg
MAIN: 2025-03-10 18:53:06,740 - INFO - duration: 0.6947718750016065
MAIN: 2025-03-10 18:53:06,741 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/53'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:53:37,488 - INFO - taking picture
MAIN: 2025-03-10 18:53:37,488 - INFO - we take 1487 photos in this while loop
MAIN: 2025-03-10 18:53:37,488 - INFO - /home/pi/Desktop/images/10032025/18/53/image_10032025_18_53_37_30748.jpg
MAIN: 2025-03-10 18:53:37,489 - INFO - duration: 0.6946809889996075
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:54: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:54:07,301 - INFO - taking picture
MAIN: 2025-03-10 18:54:07,302 - INFO - we take 1488 photos in this while loop
MAIN: 2025-03-10 18:54:07,302 - INFO - /home/pi/Desktop/images/10032025/18/53/image_10032025_18_54_06_29874.jpg
MAIN: 2025-03-10 18:54:07,302 - INFO - duration: 0.634038801996212
MAIN: 2025-03-10 18:54:07,303 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:54:36,759 - INFO - taking picture
MAIN: 2025-03-10 18:54:36,760 - INFO - we take 1489 photos in this while loop
MAIN: 2025-03-10 18:54:36,760 - INFO - /home/pi/Desktop/images/10032025/18/54/image_10032025_18_54_36_29404.jpg
MAIN: 2025-03-10 18:54:36,760 - INFO - duration: 0.6871468230019673
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:55:07,041 - INFO - taking picture
MAIN: 2025-03-10 18:55:07,041 - INFO - we take 1490 photos in this while loop
MAIN: 2025-03-10 18:55:07,042 - INFO - /home/pi/Desktop/images/10032025/18/54/image_10032025_18_55_06_30292.jpg
MAIN: 2025-03-10 18:55:07,042 - INFO - duration: 0.6767295829995419
MAIN: 2025-03-10 18:55:07,043 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/55'
MAIN: 2025-03-10 18:55:07,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:55:36,574 - INFO - taking picture
MAIN: 2025-03-10 18:55:36,575 - INFO - we take 1491 photos in this while loop
MAIN: 2025-03-10 18:55:36,575 - INFO - /home/pi/Desktop/images/10032025/18/55/image_10032025_18_55_36_29516.jpg
MAIN: 2025-03-10 18:55:36,575 - INFO - duration: 0.6937306769978022
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:56: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:56:06,698 - INFO - taking picture
MAIN: 2025-03-10 18:56:06,699 - INFO - we take 1492 photos in this while loop
MAIN: 2025-03-10 18:56:06,699 - INFO - /home/pi/Desktop/images/10032025/18/55/image_10032025_18_56_06_30115.jpg
MAIN: 2025-03-10 18:56:06,699 - INFO - duration: 0.702207186994201
MAIN: 2025-03-10 18:56:06,700 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:56:36,473 - INFO - taking picture
MAIN: 2025-03-10 18:56:36,474 - INFO - we take 1493 photos in this while loop
MAIN: 2025-03-10 18:56:36,474 - INFO - /home/pi/Desktop/images/10032025/18/56/image_10032025_18_56_36_29773.jpg
MAIN: 2025-03-10 18:56:36,474 - INFO - duration: 0.7040613019999
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:57: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:57:06,401 - INFO - taking picture
MAIN: 2025-03-10 18:57:06,402 - INFO - we take 1494 photos in this while loop
MAIN: 2025-03-10 18:57:06,402 - INFO - /home/pi/Desktop/images/10032025/18/56/image_10032025_18_57_06_29925.jpg
MAIN: 2025-03-10 18:57:06,403 - INFO - duration: 0.706799322993902
MAIN: 2025-03-10 18:57:06,403 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:57:37,247 - INFO - taking picture
MAIN: 2025-03-10 18:57:37,248 - INFO - we take 1495 photos in this while loop
MAIN: 2025-03-10 18:57:37,248 - INFO - /home/pi/Desktop/images/10032025/18/57/image_10032025_18_57_36_30857.jpg
MAIN: 2025-03-10 18:57:37,248 - INFO - duration: 0.6950118750028196
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:58:06,253 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:58:07,085 - INFO - taking picture
MAIN: 2025-03-10 18:58:07,086 - INFO - we take 1496 photos in this while loop
MAIN: 2025-03-10 18:58:07,086 - INFO - /home/pi/Desktop/images/10032025/18/57/image_10032025_18_58_06_29891.jpg
MAIN: 2025-03-10 18:58:07,086 - INFO - duration: 0.6416422909969697
MAIN: 2025-03-10 18:58:07,087 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:58:36,672 - INFO - taking picture
MAIN: 2025-03-10 18:58:36,673 - INFO - we take 1497 photos in this while loop
MAIN: 2025-03-10 18:58:36,673 - INFO - /home/pi/Desktop/images/10032025/18/58/image_10032025_18_58_36_29536.jpg
MAIN: 2025-03-10 18:58:36,673 - INFO - duration: 0.6920430720056174
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 18:59: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:59:06,898 - INFO - taking picture
MAIN: 2025-03-10 18:59:06,899 - INFO - we take 1498 photos in this while loop
MAIN: 2025-03-10 18:59:06,899 - INFO - /home/pi/Desktop/images/10032025/18/58/image_10032025_18_59_06_30217.jpg
MAIN: 2025-03-10 18:59:06,899 - INFO - duration: 0.7004939059988828
MAIN: 2025-03-10 18:59:06,899 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/18/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 18:59:36,396 - INFO - taking picture
MAIN: 2025-03-10 18:59:36,396 - INFO - we take 1499 photos in this while loop
MAIN: 2025-03-10 18:59:36,396 - INFO - /home/pi/Desktop/images/10032025/18/59/image_10032025_18_59_36_29521.jpg
MAIN: 2025-03-10 18:59:36,397 - INFO - duration: 0.6772085940028774
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:00:06,647 - INFO - taking picture
MAIN: 2025-03-10 19:00:06,647 - INFO - we take 1500 photos in this while loop
MAIN: 2025-03-10 19:00:06,648 - INFO - /home/pi/Desktop/images/10032025/18/59/image_10032025_19_00_06_30201.jpg
MAIN: 2025-03-10 19:00:06,648 - INFO - duration: 0.7264156239980366
MAIN: 2025-03-10 19:00:06,648 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/00'
MAIN: 2025-03-10 19:00:07,211 - INFO - cam.read() return no image
Will output and 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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:00:36,279 - INFO - taking picture
MAIN: 2025-03-10 19:00:36,280 - INFO - we take 1501 photos in this while loop
MAIN: 2025-03-10 19:00:36,280 - INFO - /home/pi/Desktop/images/10032025/19/00/image_10032025_19_00_35_29662.jpg
MAIN: 2025-03-10 19:00:36,280 - INFO - duration: 0.6962927079948713
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:01:05,797 - INFO - cam.read() return no image
Will output and 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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:01:07,523 - INFO - taking picture
MAIN: 2025-03-10 19:01:07,524 - INFO - we take 1502 photos in this while loop
MAIN: 2025-03-10 19:01:07,524 - INFO - /home/pi/Desktop/images/10032025/19/00/image_10032025_19_01_07_31243.jpg
MAIN: 2025-03-10 19:01:07,524 - INFO - duration: 0.6972119790007127
MAIN: 2025-03-10 19:01:07,525 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:01:37,007 - INFO - taking picture
MAIN: 2025-03-10 19:01:37,008 - INFO - we take 1503 photos in this while loop
MAIN: 2025-03-10 19:01:37,008 - INFO - /home/pi/Desktop/images/10032025/19/01/image_10032025_19_01_36_29519.jpg
MAIN: 2025-03-10 19:01:37,008 - INFO - duration: 0.6620856239969726
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:02:06,082 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:02:06,804 - INFO - taking picture
MAIN: 2025-03-10 19:02:06,804 - INFO - we take 1504 photos in this while loop
MAIN: 2025-03-10 19:02:06,805 - INFO - /home/pi/Desktop/images/10032025/19/01/image_10032025_19_02_06_29821.jpg
MAIN: 2025-03-10 19:02:06,805 - INFO - duration: 0.6364331769946148
MAIN: 2025-03-10 19:02:06,805 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:02:36,310 - INFO - taking picture
MAIN: 2025-03-10 19:02:36,310 - INFO - we take 1505 photos in this while loop
MAIN: 2025-03-10 19:02:36,311 - INFO - /home/pi/Desktop/images/10032025/19/02/image_10032025_19_02_35_29451.jpg
MAIN: 2025-03-10 19:02:36,311 - INFO - duration: 0.6910879159986507
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:03:06,368 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:03:07,408 - INFO - taking picture
MAIN: 2025-03-10 19:03:07,409 - INFO - we take 1506 photos in this while loop
MAIN: 2025-03-10 19:03:07,409 - INFO - /home/pi/Desktop/images/10032025/19/02/image_10032025_19_03_07_31153.jpg
MAIN: 2025-03-10 19:03:07,409 - INFO - duration: 0.6354190619967994
MAIN: 2025-03-10 19:03:07,409 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:03:36,996 - INFO - taking picture
MAIN: 2025-03-10 19:03:36,997 - INFO - we take 1507 photos in this while loop
MAIN: 2025-03-10 19:03:36,997 - INFO - /home/pi/Desktop/images/10032025/19/03/image_10032025_19_03_36_29557.jpg
MAIN: 2025-03-10 19:03:36,997 - INFO - duration: 0.6664072919957107
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:04:06,707 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 19:04:06,928 - INFO - taking picture
MAIN: 2025-03-10 19:04:06,928 - INFO - we take 1508 photos in this while loop
MAIN: 2025-03-10 19:04:06,928 - INFO - /home/pi/Desktop/images/10032025/19/03/image_10032025_19_04_06_29956.jpg
MAIN: 2025-03-10 19:04:06,929 - INFO - duration: 0.6408397910054191
MAIN: 2025-03-10 19:04:06,929 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/04'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:04:36,519 - INFO - taking picture
MAIN: 2025-03-10 19:04:36,520 - INFO - we take 1509 photos in this while loop
MAIN: 2025-03-10 19:04:36,520 - INFO - /home/pi/Desktop/images/10032025/19/04/image_10032025_19_04_36_29526.jpg
MAIN: 2025-03-10 19:04:36,520 - INFO - duration: 0.7061625509959413
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:05:06,639 - INFO - taking picture
MAIN: 2025-03-10 19:05:06,640 - INFO - we take 1510 photos in this while loop
MAIN: 2025-03-10 19:05:06,640 - INFO - /home/pi/Desktop/images/10032025/19/04/image_10032025_19_05_06_30158.jpg
MAIN: 2025-03-10 19:05:06,640 - INFO - duration: 0.6678361970043625
MAIN: 2025-03-10 19:05:06,641 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/05'
MAIN: 2025-03-10 19:05: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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:05:37,492 - INFO - taking picture
MAIN: 2025-03-10 19:05:37,493 - INFO - we take 1511 photos in this while loop
MAIN: 2025-03-10 19:05:37,493 - INFO - /home/pi/Desktop/images/10032025/19/05/image_10032025_19_05_37_30830.jpg
MAIN: 2025-03-10 19:05:37,493 - INFO - duration: 0.6907733330008341
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:06:06,113 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 19:06:06,411 - INFO - taking picture
MAIN: 2025-03-10 19:06:06,411 - INFO - we take 1512 photos in this while loop
MAIN: 2025-03-10 19:06:06,411 - INFO - /home/pi/Desktop/images/10032025/19/05/image_10032025_19_06_06_28911.jpg
MAIN: 2025-03-10 19:06:06,412 - INFO - duration: 0.6976020310030435
MAIN: 2025-03-10 19:06:06,412 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:06:37,272 - INFO - taking picture
MAIN: 2025-03-10 19:06:37,273 - INFO - we take 1513 photos in this while loop
MAIN: 2025-03-10 19:06:37,273 - INFO - /home/pi/Desktop/images/10032025/19/06/image_10032025_19_06_36_30867.jpg
MAIN: 2025-03-10 19:06:37,273 - INFO - duration: 0.6916879679993144
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:07: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:07:07,241 - INFO - taking picture
MAIN: 2025-03-10 19:07:07,242 - INFO - we take 1514 photos in this while loop
MAIN: 2025-03-10 19:07:07,242 - INFO - /home/pi/Desktop/images/10032025/19/06/image_10032025_19_07_06_29971.jpg
MAIN: 2025-03-10 19:07:07,242 - INFO - duration: 0.6885369790034019
MAIN: 2025-03-10 19:07:07,243 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/07'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:07:36,817 - INFO - taking picture
MAIN: 2025-03-10 19:07:36,817 - INFO - we take 1515 photos in this while loop
MAIN: 2025-03-10 19:07:36,817 - INFO - /home/pi/Desktop/images/10032025/19/07/image_10032025_19_07_36_29574.jpg
MAIN: 2025-03-10 19:07:36,817 - INFO - duration: 0.6894657290031319
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19: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 ! 
MAIN: 2025-03-10 19:08:06,858 - INFO - taking picture
MAIN: 2025-03-10 19:08:06,859 - INFO - we take 1516 photos in this while loop
MAIN: 2025-03-10 19:08:06,859 - INFO - /home/pi/Desktop/images/10032025/19/07/image_10032025_19_08_06_30033.jpg
MAIN: 2025-03-10 19:08:06,859 - INFO - duration: 0.6976855199973215
MAIN: 2025-03-10 19:08:06,860 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/08'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:08:36,403 - INFO - taking picture
MAIN: 2025-03-10 19:08:36,404 - INFO - we take 1517 photos in this while loop
MAIN: 2025-03-10 19:08:36,404 - INFO - /home/pi/Desktop/images/10032025/19/08/image_10032025_19_08_36_29549.jpg
MAIN: 2025-03-10 19:08:36,404 - INFO - duration: 0.6933660940048867
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:09:06,240 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 19:09:06,341 - INFO - taking picture
MAIN: 2025-03-10 19:09:06,342 - INFO - we take 1518 photos in this while loop
MAIN: 2025-03-10 19:09:06,342 - INFO - /home/pi/Desktop/images/10032025/19/08/image_10032025_19_09_05_29935.jpg
MAIN: 2025-03-10 19:09:06,343 - INFO - duration: 0.6958843219981645
MAIN: 2025-03-10 19:09:06,343 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/09'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:09:37,253 - INFO - taking picture
MAIN: 2025-03-10 19:09:37,253 - INFO - we take 1519 photos in this while loop
MAIN: 2025-03-10 19:09:37,253 - INFO - /home/pi/Desktop/images/10032025/19/09/image_10032025_19_09_36_30926.jpg
MAIN: 2025-03-10 19:09:37,253 - INFO - duration: 0.6801180210022721
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:10:06,349 - INFO - taking picture
MAIN: 2025-03-10 19:10:06,349 - INFO - we take 1520 photos in this while loop
MAIN: 2025-03-10 19:10:06,350 - INFO - /home/pi/Desktop/images/10032025/19/09/image_10032025_19_10_05_29003.jpg
MAIN: 2025-03-10 19:10:06,350 - INFO - duration: 0.7731851560020004
MAIN: 2025-03-10 19:10:06,402 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/10'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:10:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:10:37,274 - INFO - taking picture
MAIN: 2025-03-10 19:10:37,274 - INFO - we take 1521 photos in this while loop
MAIN: 2025-03-10 19:10:37,274 - INFO - /home/pi/Desktop/images/10032025/19/10/image_10032025_19_10_36_30997.jpg
MAIN: 2025-03-10 19:10:37,275 - INFO - duration: 0.7004448959996807
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:11:05,466 - INFO - cam.read() return no image
Will output and 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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:11:07,455 - INFO - taking picture
MAIN: 2025-03-10 19:11:07,455 - INFO - we take 1522 photos in this while loop
MAIN: 2025-03-10 19:11:07,456 - INFO - /home/pi/Desktop/images/10032025/19/10/image_10032025_19_11_07_30185.jpg
MAIN: 2025-03-10 19:11:07,456 - INFO - duration: 0.695981145996484
MAIN: 2025-03-10 19:11:07,456 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/11'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:11:36,933 - INFO - taking picture
MAIN: 2025-03-10 19:11:36,934 - INFO - we take 1523 photos in this while loop
MAIN: 2025-03-10 19:11:36,934 - INFO - /home/pi/Desktop/images/10032025/19/11/image_10032025_19_11_36_29479.jpg
MAIN: 2025-03-10 19:11:36,934 - INFO - duration: 0.6944290100000217
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:12: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:12:06,988 - INFO - taking picture
MAIN: 2025-03-10 19:12:06,988 - INFO - we take 1524 photos in this while loop
MAIN: 2025-03-10 19:12:06,989 - INFO - /home/pi/Desktop/images/10032025/19/11/image_10032025_19_12_06_30046.jpg
MAIN: 2025-03-10 19:12:06,989 - INFO - duration: 0.7023247910037753
MAIN: 2025-03-10 19:12:06,989 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/12'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:12:36,615 - INFO - taking picture
MAIN: 2025-03-10 19:12:36,615 - INFO - we take 1525 photos in this while loop
MAIN: 2025-03-10 19:12:36,616 - INFO - /home/pi/Desktop/images/10032025/19/12/image_10032025_19_12_36_29635.jpg
MAIN: 2025-03-10 19:12:36,616 - INFO - duration: 0.6942154680000385
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:13:06,017 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:13:06,734 - INFO - taking picture
MAIN: 2025-03-10 19:13:06,735 - INFO - we take 1526 photos in this while loop
MAIN: 2025-03-10 19:13:06,735 - INFO - /home/pi/Desktop/images/10032025/19/12/image_10032025_19_13_06_30155.jpg
MAIN: 2025-03-10 19:13:06,735 - INFO - duration: 0.6581976559973555
MAIN: 2025-03-10 19:13:06,736 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:13:37,499 - INFO - taking picture
MAIN: 2025-03-10 19:13:37,499 - INFO - we take 1527 photos in this while loop
MAIN: 2025-03-10 19:13:37,499 - INFO - /home/pi/Desktop/images/10032025/19/13/image_10032025_19_13_37_30747.jpg
MAIN: 2025-03-10 19:13:37,500 - INFO - duration: 0.6752900520004914
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:14:06,240 - INFO - taking picture
MAIN: 2025-03-10 19:14:06,241 - INFO - we take 1528 photos in this while loop
MAIN: 2025-03-10 19:14:06,241 - INFO - /home/pi/Desktop/images/10032025/19/13/image_10032025_19_14_05_28749.jpg
MAIN: 2025-03-10 19:14:06,241 - INFO - duration: 0.6675536460024887
MAIN: 2025-03-10 19:14:06,242 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/14'
MAIN: 2025-03-10 19:14:06,611 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:14:37,162 - INFO - taking picture
MAIN: 2025-03-10 19:14:37,162 - INFO - we take 1529 photos in this while loop
MAIN: 2025-03-10 19:14:37,163 - INFO - /home/pi/Desktop/images/10032025/19/14/image_10032025_19_14_36_30898.jpg
MAIN: 2025-03-10 19:14:37,163 - INFO - duration: 0.6906816670016269
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:15:06,658 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:15:07,339 - INFO - taking picture
MAIN: 2025-03-10 19:15:07,339 - INFO - we take 1530 photos in this while loop
MAIN: 2025-03-10 19:15:07,340 - INFO - /home/pi/Desktop/images/10032025/19/14/image_10032025_19_15_06_30156.jpg
MAIN: 2025-03-10 19:15:07,340 - INFO - duration: 0.7116307289979886
MAIN: 2025-03-10 19:15:07,340 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/15'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:15:37,043 - INFO - taking picture
MAIN: 2025-03-10 19:15:37,044 - INFO - we take 1531 photos in this while loop
MAIN: 2025-03-10 19:15:37,044 - INFO - /home/pi/Desktop/images/10032025/19/15/image_10032025_19_15_36_29725.jpg
MAIN: 2025-03-10 19:15:37,044 - INFO - duration: 0.6906578649941366
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:16:07,089 - INFO - cam.read() 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-10 19:16:07,129 - INFO - taking picture
MAIN: 2025-03-10 19:16:07,130 - INFO - we take 1532 photos in this while loop
MAIN: 2025-03-10 19:16:07,130 - INFO - /home/pi/Desktop/images/10032025/19/15/image_10032025_19_16_06_30090.jpg
MAIN: 2025-03-10 19:16:07,130 - INFO - duration: 0.6860505209988332
MAIN: 2025-03-10 19:16:07,131 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:16:36,654 - INFO - taking picture
MAIN: 2025-03-10 19:16:36,655 - INFO - we take 1533 photos in this while loop
MAIN: 2025-03-10 19:16:36,655 - INFO - /home/pi/Desktop/images/10032025/19/16/image_10032025_19_16_36_29516.jpg
MAIN: 2025-03-10 19:16:36,655 - INFO - duration: 0.6950700520028477
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:17:05,798 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:17:06,701 - INFO - taking picture
MAIN: 2025-03-10 19:17:06,701 - INFO - we take 1534 photos in this while loop
MAIN: 2025-03-10 19:17:06,701 - INFO - /home/pi/Desktop/images/10032025/19/16/image_10032025_19_17_06_30098.jpg
MAIN: 2025-03-10 19:17:06,702 - INFO - duration: 0.6425473439958296
MAIN: 2025-03-10 19:17:06,702 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/17'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:17:36,275 - INFO - taking picture
MAIN: 2025-03-10 19:17:36,275 - INFO - we take 1535 photos in this while loop
MAIN: 2025-03-10 19:17:36,275 - INFO - /home/pi/Desktop/images/10032025/19/17/image_10032025_19_17_35_29535.jpg
MAIN: 2025-03-10 19:17:36,276 - INFO - duration: 0.681431145996612
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:18: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-10 19:18:06,500 - INFO - taking picture
MAIN: 2025-03-10 19:18:06,501 - INFO - we take 1536 photos in this while loop
MAIN: 2025-03-10 19:18:06,501 - INFO - /home/pi/Desktop/images/10032025/19/17/image_10032025_19_18_06_30215.jpg
MAIN: 2025-03-10 19:18:06,501 - INFO - duration: 0.6917076040044776
MAIN: 2025-03-10 19:18:06,502 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:18:37,358 - INFO - taking picture
MAIN: 2025-03-10 19:18:37,359 - INFO - we take 1537 photos in this while loop
MAIN: 2025-03-10 19:18:37,359 - INFO - /home/pi/Desktop/images/10032025/19/18/image_10032025_19_18_36_30850.jpg
MAIN: 2025-03-10 19:18:37,359 - INFO - duration: 0.6991410929986159
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:19:06,226 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:19:07,204 - INFO - taking picture
MAIN: 2025-03-10 19:19:07,204 - INFO - we take 1538 photos in this while loop
MAIN: 2025-03-10 19:19:07,204 - INFO - /home/pi/Desktop/images/10032025/19/18/image_10032025_19_19_06_29907.jpg
MAIN: 2025-03-10 19:19:07,204 - INFO - duration: 0.6370386459966539
MAIN: 2025-03-10 19:19:07,205 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:19:36,891 - INFO - taking picture
MAIN: 2025-03-10 19:19:36,892 - INFO - we take 1539 photos in this while loop
MAIN: 2025-03-10 19:19:36,892 - INFO - /home/pi/Desktop/images/10032025/19/19/image_10032025_19_19_36_29624.jpg
MAIN: 2025-03-10 19:19:36,892 - INFO - duration: 0.7006170839958941
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:20:07,339 - INFO - taking picture
MAIN: 2025-03-10 19:20:07,339 - INFO - we take 1540 photos in this while loop
MAIN: 2025-03-10 19:20:07,340 - INFO - /home/pi/Desktop/images/10032025/19/19/image_10032025_19_20_06_30465.jpg
MAIN: 2025-03-10 19:20:07,340 - INFO - duration: 0.6828708850007388
MAIN: 2025-03-10 19:20:07,340 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/20'
MAIN: 2025-03-10 19:20:07,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:20:36,954 - INFO - taking picture
MAIN: 2025-03-10 19:20:36,954 - INFO - we take 1541 photos in this while loop
MAIN: 2025-03-10 19:20:36,954 - INFO - /home/pi/Desktop/images/10032025/19/20/image_10032025_19_20_36_29600.jpg
MAIN: 2025-03-10 19:20:36,955 - INFO - duration: 0.6971777599974303
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:21:05,759 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:21:06,926 - INFO - taking picture
MAIN: 2025-03-10 19:21:06,927 - INFO - we take 1542 photos in this while loop
MAIN: 2025-03-10 19:21:06,927 - INFO - /home/pi/Desktop/images/10032025/19/20/image_10032025_19_21_06_29984.jpg
MAIN: 2025-03-10 19:21:06,927 - INFO - duration: 0.6853626029987936
MAIN: 2025-03-10 19:21:06,927 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:21:36,511 - INFO - taking picture
MAIN: 2025-03-10 19:21:36,511 - INFO - we take 1543 photos in this while loop
MAIN: 2025-03-10 19:21:36,512 - INFO - /home/pi/Desktop/images/10032025/19/21/image_10032025_19_21_36_29583.jpg
MAIN: 2025-03-10 19:21:36,512 - INFO - duration: 0.6865817710058764
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:22:06,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 ! 
MAIN: 2025-03-10 19:22:07,487 - INFO - taking picture
MAIN: 2025-03-10 19:22:07,487 - INFO - we take 1544 photos in this while loop
MAIN: 2025-03-10 19:22:07,487 - INFO - /home/pi/Desktop/images/10032025/19/21/image_10032025_19_22_06_30021.jpg
MAIN: 2025-03-10 19:22:07,488 - INFO - duration: 1.6409942180034705
MAIN: 2025-03-10 19:22:07,488 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/22'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:22:37,032 - INFO - taking picture
MAIN: 2025-03-10 19:22:37,033 - INFO - we take 1545 photos in this while loop
MAIN: 2025-03-10 19:22:37,033 - INFO - /home/pi/Desktop/images/10032025/19/22/image_10032025_19_22_36_30513.jpg
MAIN: 2025-03-10 19:22:37,033 - INFO - duration: 0.6724231769985636
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:23:05,768 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:23:06,848 - INFO - taking picture
MAIN: 2025-03-10 19:23:06,849 - INFO - we take 1546 photos in this while loop
MAIN: 2025-03-10 19:23:06,849 - INFO - /home/pi/Desktop/images/10032025/19/22/image_10032025_19_23_06_29799.jpg
MAIN: 2025-03-10 19:23:06,849 - INFO - duration: 0.6888290619972395
MAIN: 2025-03-10 19:23:06,849 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:23:36,387 - INFO - taking picture
MAIN: 2025-03-10 19:23:36,388 - INFO - we take 1547 photos in this while loop
MAIN: 2025-03-10 19:23:36,388 - INFO - /home/pi/Desktop/images/10032025/19/23/image_10032025_19_23_36_29537.jpg
MAIN: 2025-03-10 19:23:36,388 - INFO - duration: 0.6906220830060192
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:24:06,183 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 19:24:06,550 - INFO - taking picture
MAIN: 2025-03-10 19:24:06,551 - INFO - we take 1548 photos in this while loop
MAIN: 2025-03-10 19:24:06,551 - INFO - /home/pi/Desktop/images/10032025/19/23/image_10032025_19_24_06_30178.jpg
MAIN: 2025-03-10 19:24:06,551 - INFO - duration: 0.675562031006848
MAIN: 2025-03-10 19:24:06,552 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:24:37,405 - INFO - taking picture
MAIN: 2025-03-10 19:24:37,405 - INFO - we take 1549 photos in this while loop
MAIN: 2025-03-10 19:24:37,405 - INFO - /home/pi/Desktop/images/10032025/19/24/image_10032025_19_24_37_30834.jpg
MAIN: 2025-03-10 19:24:37,405 - INFO - duration: 0.6952958339970792
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:25:06,374 - INFO - taking picture
MAIN: 2025-03-10 19:25:06,375 - INFO - we take 1550 photos in this while loop
MAIN: 2025-03-10 19:25:06,375 - INFO - /home/pi/Desktop/images/10032025/19/24/image_10032025_19_25_05_28937.jpg
MAIN: 2025-03-10 19:25:06,376 - INFO - duration: 0.7274964579992229
MAIN: 2025-03-10 19:25:06,376 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/25'
MAIN: 2025-03-10 19:25:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:25:37,171 - INFO - taking picture
MAIN: 2025-03-10 19:25:37,171 - INFO - we take 1551 photos in this while loop
MAIN: 2025-03-10 19:25:37,171 - INFO - /home/pi/Desktop/images/10032025/19/25/image_10032025_19_25_36_30831.jpg
MAIN: 2025-03-10 19:25:37,172 - INFO - duration: 0.6917435939976713
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:26:07,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 ! 
MAIN: 2025-03-10 19:26:07,315 - INFO - taking picture
MAIN: 2025-03-10 19:26:07,316 - INFO - we take 1552 photos in this while loop
MAIN: 2025-03-10 19:26:07,316 - INFO - /home/pi/Desktop/images/10032025/19/25/image_10032025_19_26_06_30155.jpg
MAIN: 2025-03-10 19:26:07,316 - INFO - duration: 0.6808792190058739
MAIN: 2025-03-10 19:26:07,317 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:26:36,905 - INFO - taking picture
MAIN: 2025-03-10 19:26:36,905 - INFO - we take 1553 photos in this while loop
MAIN: 2025-03-10 19:26:36,905 - INFO - /home/pi/Desktop/images/10032025/19/26/image_10032025_19_26_36_29582.jpg
MAIN: 2025-03-10 19:26:36,905 - INFO - duration: 0.6872674480036949
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:27: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:27:06,692 - INFO - taking picture
MAIN: 2025-03-10 19:27:06,692 - INFO - we take 1554 photos in this while loop
MAIN: 2025-03-10 19:27:06,692 - INFO - /home/pi/Desktop/images/10032025/19/26/image_10032025_19_27_06_29825.jpg
MAIN: 2025-03-10 19:27:06,693 - INFO - duration: 0.6483861980013899
MAIN: 2025-03-10 19:27:06,693 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:27:36,324 - INFO - taking picture
MAIN: 2025-03-10 19:27:36,324 - INFO - we take 1555 photos in this while loop
MAIN: 2025-03-10 19:27:36,325 - INFO - /home/pi/Desktop/images/10032025/19/27/image_10032025_19_27_35_29585.jpg
MAIN: 2025-03-10 19:27:36,325 - INFO - duration: 0.6951446349994512
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:28: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 ! 
MAIN: 2025-03-10 19:28:06,423 - INFO - taking picture
MAIN: 2025-03-10 19:28:06,423 - INFO - we take 1556 photos in this while loop
MAIN: 2025-03-10 19:28:06,423 - INFO - /home/pi/Desktop/images/10032025/19/27/image_10032025_19_28_06_30151.jpg
MAIN: 2025-03-10 19:28:06,424 - INFO - duration: 0.6422376039990922
MAIN: 2025-03-10 19:28:06,424 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/28'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:28:37,303 - INFO - taking picture
MAIN: 2025-03-10 19:28:37,304 - INFO - we take 1557 photos in this while loop
MAIN: 2025-03-10 19:28:37,304 - INFO - /home/pi/Desktop/images/10032025/19/28/image_10032025_19_28_36_30824.jpg
MAIN: 2025-03-10 19:28:37,304 - INFO - duration: 0.6981696349976119
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:29: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:29:07,418 - INFO - taking picture
MAIN: 2025-03-10 19:29:07,418 - INFO - we take 1558 photos in this while loop
MAIN: 2025-03-10 19:29:07,419 - INFO - /home/pi/Desktop/images/10032025/19/28/image_10032025_19_29_07_30123.jpg
MAIN: 2025-03-10 19:29:07,419 - INFO - duration: 0.6899585420032963
MAIN: 2025-03-10 19:29:07,419 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/29'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:29:37,083 - INFO - taking picture
MAIN: 2025-03-10 19:29:37,084 - INFO - we take 1559 photos in this while loop
MAIN: 2025-03-10 19:29:37,084 - INFO - /home/pi/Desktop/images/10032025/19/29/image_10032025_19_29_36_29666.jpg
MAIN: 2025-03-10 19:29:37,084 - INFO - duration: 0.6892481249960838
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:30:07,026 - INFO - cam.read() 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-10 19:30:07,327 - INFO - taking picture
MAIN: 2025-03-10 19:30:07,327 - INFO - we take 1560 photos in this while loop
MAIN: 2025-03-10 19:30:07,328 - INFO - /home/pi/Desktop/images/10032025/19/29/image_10032025_19_30_06_30258.jpg
MAIN: 2025-03-10 19:30:07,328 - INFO - duration: 0.6741485419988749
MAIN: 2025-03-10 19:30:07,328 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:30:36,946 - INFO - taking picture
MAIN: 2025-03-10 19:30:36,946 - INFO - we take 1561 photos in this while loop
MAIN: 2025-03-10 19:30:36,947 - INFO - /home/pi/Desktop/images/10032025/19/30/image_10032025_19_30_36_29599.jpg
MAIN: 2025-03-10 19:30:36,947 - INFO - duration: 0.6932987500040326
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:31:07,013 - INFO - taking picture
MAIN: 2025-03-10 19:31:07,013 - INFO - we take 1562 photos in this while loop
MAIN: 2025-03-10 19:31:07,013 - INFO - /home/pi/Desktop/images/10032025/19/30/image_10032025_19_31_06_30067.jpg
MAIN: 2025-03-10 19:31:07,014 - INFO - duration: 0.6925654169972404
MAIN: 2025-03-10 19:31:07,014 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:31:36,610 - INFO - taking picture
MAIN: 2025-03-10 19:31:36,611 - INFO - we take 1563 photos in this while loop
MAIN: 2025-03-10 19:31:36,611 - INFO - /home/pi/Desktop/images/10032025/19/31/image_10032025_19_31_36_29590.jpg
MAIN: 2025-03-10 19:31:36,611 - INFO - duration: 0.6990533330026665
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:32:06,832 - INFO - taking picture
MAIN: 2025-03-10 19:32:06,833 - INFO - we take 1564 photos in this while loop
MAIN: 2025-03-10 19:32:06,833 - INFO - /home/pi/Desktop/images/10032025/19/31/image_10032025_19_32_06_30262.jpg
MAIN: 2025-03-10 19:32:06,833 - INFO - duration: 0.6587611969953286
MAIN: 2025-03-10 19:32:06,834 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/32'
MAIN: 2025-03-10 19:32:06,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:32:36,381 - INFO - taking picture
MAIN: 2025-03-10 19:32:36,381 - INFO - we take 1565 photos in this while loop
MAIN: 2025-03-10 19:32:36,381 - INFO - /home/pi/Desktop/images/10032025/19/32/image_10032025_19_32_36_29520.jpg
MAIN: 2025-03-10 19:32:36,382 - INFO - duration: 0.6867398429967579
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:33:06,382 - INFO - taking picture
MAIN: 2025-03-10 19:33:06,383 - INFO - we take 1566 photos in this while loop
MAIN: 2025-03-10 19:33:06,383 - INFO - /home/pi/Desktop/images/10032025/19/32/image_10032025_19_33_05_30014.jpg
MAIN: 2025-03-10 19:33:06,383 - INFO - duration: 0.6739091670024209
MAIN: 2025-03-10 19:33:06,383 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/33'
MAIN: 2025-03-10 19:33: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:33:37,433 - INFO - taking picture
MAIN: 2025-03-10 19:33:37,433 - INFO - we take 1567 photos in this while loop
MAIN: 2025-03-10 19:33:37,433 - INFO - /home/pi/Desktop/images/10032025/19/33/image_10032025_19_33_37_31024.jpg
MAIN: 2025-03-10 19:33:37,434 - INFO - duration: 0.6998259900065023
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:34:05,946 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 19:34:06,270 - INFO - taking picture
MAIN: 2025-03-10 19:34:06,270 - INFO - we take 1568 photos in this while loop
MAIN: 2025-03-10 19:34:06,271 - INFO - /home/pi/Desktop/images/10032025/19/33/image_10032025_19_34_05_28830.jpg
MAIN: 2025-03-10 19:34:06,271 - INFO - duration: 0.7066485409959569
MAIN: 2025-03-10 19:34:06,271 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:34:37,063 - INFO - taking picture
MAIN: 2025-03-10 19:34:37,063 - INFO - we take 1569 photos in this while loop
MAIN: 2025-03-10 19:34:37,063 - INFO - /home/pi/Desktop/images/10032025/19/34/image_10032025_19_34_36_30863.jpg
MAIN: 2025-03-10 19:34:37,064 - INFO - duration: 0.6361431770055788
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:35:06,526 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:35:07,080 - INFO - taking picture
MAIN: 2025-03-10 19:35:07,081 - INFO - we take 1570 photos in this while loop
MAIN: 2025-03-10 19:35:07,081 - INFO - /home/pi/Desktop/images/10032025/19/34/image_10032025_19_35_06_29955.jpg
MAIN: 2025-03-10 19:35:07,082 - INFO - duration: 0.699387446999026
MAIN: 2025-03-10 19:35:07,083 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/35'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:35:36,715 - INFO - taking picture
MAIN: 2025-03-10 19:35:36,716 - INFO - we take 1571 photos in this while loop
MAIN: 2025-03-10 19:35:36,716 - INFO - /home/pi/Desktop/images/10032025/19/35/image_10032025_19_35_36_29690.jpg
MAIN: 2025-03-10 19:35:36,716 - INFO - duration: 0.6436217189984745
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:36:06,211 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:36:06,741 - INFO - taking picture
MAIN: 2025-03-10 19:36:06,742 - INFO - we take 1572 photos in this while loop
MAIN: 2025-03-10 19:36:06,742 - INFO - /home/pi/Desktop/images/10032025/19/35/image_10032025_19_36_06_30012.jpg
MAIN: 2025-03-10 19:36:06,742 - INFO - duration: 0.6566650000022491
MAIN: 2025-03-10 19:36:06,742 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:36:36,394 - INFO - taking picture
MAIN: 2025-03-10 19:36:36,395 - INFO - we take 1573 photos in this while loop
MAIN: 2025-03-10 19:36:36,395 - INFO - /home/pi/Desktop/images/10032025/19/36/image_10032025_19_36_36_29665.jpg
MAIN: 2025-03-10 19:36:36,395 - INFO - duration: 0.6451748439940275
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:37:06,186 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 19:37:06,468 - INFO - taking picture
MAIN: 2025-03-10 19:37:06,469 - INFO - we take 1574 photos in this while loop
MAIN: 2025-03-10 19:37:06,469 - INFO - /home/pi/Desktop/images/10032025/19/36/image_10032025_19_37_06_30073.jpg
MAIN: 2025-03-10 19:37:06,469 - INFO - duration: 0.6457656240017968
MAIN: 2025-03-10 19:37:06,470 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:37:37,469 - INFO - taking picture
MAIN: 2025-03-10 19:37:37,469 - INFO - we take 1575 photos in this while loop
MAIN: 2025-03-10 19:37:37,470 - INFO - /home/pi/Desktop/images/10032025/19/37/image_10032025_19_37_37_30951.jpg
MAIN: 2025-03-10 19:37:37,470 - INFO - duration: 0.6949841660025413
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (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-10 19:38:06,243 - INFO - taking picture
MAIN: 2025-03-10 19:38:06,243 - INFO - we take 1576 photos in this while loop
MAIN: 2025-03-10 19:38:06,244 - INFO - /home/pi/Desktop/images/10032025/19/37/image_10032025_19_38_05_28827.jpg
MAIN: 2025-03-10 19:38:06,244 - INFO - duration: 0.6414940620015841
MAIN: 2025-03-10 19:38:06,244 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/38'
MAIN: 2025-03-10 19:38: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:38:37,182 - INFO - taking picture
MAIN: 2025-03-10 19:38:37,183 - INFO - we take 1577 photos in this while loop
MAIN: 2025-03-10 19:38:37,183 - INFO - /home/pi/Desktop/images/10032025/19/38/image_10032025_19_38_36_30884.jpg
MAIN: 2025-03-10 19:38:37,183 - INFO - duration: 0.6967135939994478
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:39: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:39:07,116 - INFO - taking picture
MAIN: 2025-03-10 19:39:07,116 - INFO - we take 1578 photos in this while loop
MAIN: 2025-03-10 19:39:07,117 - INFO - /home/pi/Desktop/images/10032025/19/38/image_10032025_19_39_06_29934.jpg
MAIN: 2025-03-10 19:39:07,117 - INFO - duration: 0.6955141139987973
MAIN: 2025-03-10 19:39:07,117 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:39:36,740 - INFO - taking picture
MAIN: 2025-03-10 19:39:36,741 - INFO - we take 1579 photos in this while loop
MAIN: 2025-03-10 19:39:36,741 - INFO - /home/pi/Desktop/images/10032025/19/39/image_10032025_19_39_36_29620.jpg
MAIN: 2025-03-10 19:39:36,741 - INFO - duration: 0.7001927079982124
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:40: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-10 19:40:07,045 - INFO - taking picture
MAIN: 2025-03-10 19:40:07,046 - INFO - we take 1580 photos in this while loop
MAIN: 2025-03-10 19:40:07,046 - INFO - /home/pi/Desktop/images/10032025/19/39/image_10032025_19_40_06_30320.jpg
MAIN: 2025-03-10 19:40:07,047 - INFO - duration: 0.6849183329977677
MAIN: 2025-03-10 19:40:07,047 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:40:36,555 - INFO - taking picture
MAIN: 2025-03-10 19:40:36,555 - INFO - we take 1581 photos in this while loop
MAIN: 2025-03-10 19:40:36,555 - INFO - /home/pi/Desktop/images/10032025/19/40/image_10032025_19_40_36_29521.jpg
MAIN: 2025-03-10 19:40:36,556 - INFO - duration: 0.6717211979994318
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:41:05,936 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:41:06,508 - INFO - taking picture
MAIN: 2025-03-10 19:41:06,509 - INFO - we take 1582 photos in this while loop
MAIN: 2025-03-10 19:41:06,509 - INFO - /home/pi/Desktop/images/10032025/19/40/image_10032025_19_41_06_29912.jpg
MAIN: 2025-03-10 19:41:06,509 - INFO - duration: 0.7129031239965116
MAIN: 2025-03-10 19:41:06,510 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:41:37,402 - INFO - taking picture
MAIN: 2025-03-10 19:41:37,403 - INFO - we take 1583 photos in this while loop
MAIN: 2025-03-10 19:41:37,403 - INFO - /home/pi/Desktop/images/10032025/19/41/image_10032025_19_41_37_30910.jpg
MAIN: 2025-03-10 19:41:37,403 - INFO - duration: 0.6964939059980679
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:42:06,243 - INFO - taking picture
MAIN: 2025-03-10 19:42:06,244 - INFO - we take 1584 photos in this while loop
MAIN: 2025-03-10 19:42:06,244 - INFO - /home/pi/Desktop/images/10032025/19/41/image_10032025_19_42_05_28882.jpg
MAIN: 2025-03-10 19:42:06,244 - INFO - duration: 0.6544959890015889
MAIN: 2025-03-10 19:42:06,244 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/42'
MAIN: 2025-03-10 19:42:06,320 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:42:37,173 - INFO - taking picture
MAIN: 2025-03-10 19:42:37,174 - INFO - we take 1585 photos in this while loop
MAIN: 2025-03-10 19:42:37,174 - INFO - /home/pi/Desktop/images/10032025/19/42/image_10032025_19_42_36_30882.jpg
MAIN: 2025-03-10 19:42:37,174 - INFO - duration: 0.7026049999985844
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:43:06,098 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:43:07,114 - INFO - taking picture
MAIN: 2025-03-10 19:43:07,114 - INFO - we take 1586 photos in this while loop
MAIN: 2025-03-10 19:43:07,114 - INFO - /home/pi/Desktop/images/10032025/19/42/image_10032025_19_43_06_30008.jpg
MAIN: 2025-03-10 19:43:07,114 - INFO - duration: 0.6345880730004865
MAIN: 2025-03-10 19:43:07,115 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:43:36,696 - INFO - taking picture
MAIN: 2025-03-10 19:43:36,696 - INFO - we take 1587 photos in this while loop
MAIN: 2025-03-10 19:43:36,696 - INFO - /home/pi/Desktop/images/10032025/19/43/image_10032025_19_43_36_29529.jpg
MAIN: 2025-03-10 19:43:36,696 - INFO - duration: 0.6868004159987322
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:44: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:44:06,836 - INFO - taking picture
MAIN: 2025-03-10 19:44:06,837 - INFO - we take 1588 photos in this while loop
MAIN: 2025-03-10 19:44:06,837 - INFO - /home/pi/Desktop/images/10032025/19/43/image_10032025_19_44_06_30190.jpg
MAIN: 2025-03-10 19:44:06,837 - INFO - duration: 0.6364669269969454
MAIN: 2025-03-10 19:44:06,837 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:44:36,434 - INFO - taking picture
MAIN: 2025-03-10 19:44:36,435 - INFO - we take 1589 photos in this while loop
MAIN: 2025-03-10 19:44:36,435 - INFO - /home/pi/Desktop/images/10032025/19/44/image_10032025_19_44_36_29538.jpg
MAIN: 2025-03-10 19:44:36,435 - INFO - duration: 0.6954641139964224
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:45:06,413 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 19:45:06,576 - INFO - taking picture
MAIN: 2025-03-10 19:45:06,577 - INFO - we take 1590 photos in this while loop
MAIN: 2025-03-10 19:45:06,578 - INFO - /home/pi/Desktop/images/10032025/19/44/image_10032025_19_45_06_30165.jpg
MAIN: 2025-03-10 19:45:06,578 - INFO - duration: 0.6734985410002992
MAIN: 2025-03-10 19:45:06,580 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:45:37,379 - INFO - taking picture
MAIN: 2025-03-10 19:45:37,380 - INFO - we take 1591 photos in this while loop
MAIN: 2025-03-10 19:45:37,380 - INFO - /home/pi/Desktop/images/10032025/19/45/image_10032025_19_45_37_30775.jpg
MAIN: 2025-03-10 19:45:37,380 - INFO - duration: 0.700172343000304
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:46:06,235 - INFO - taking picture
MAIN: 2025-03-10 19:46:06,236 - INFO - we take 1592 photos in this while loop
MAIN: 2025-03-10 19:46:06,236 - INFO - /home/pi/Desktop/images/10032025/19/45/image_10032025_19_46_05_28914.jpg
MAIN: 2025-03-10 19:46:06,236 - INFO - duration: 0.6411085409999941
MAIN: 2025-03-10 19:46:06,237 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/46'
MAIN: 2025-03-10 19: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:46:37,167 - INFO - taking picture
MAIN: 2025-03-10 19:46:37,168 - INFO - we take 1593 photos in this while loop
MAIN: 2025-03-10 19:46:37,168 - INFO - /home/pi/Desktop/images/10032025/19/46/image_10032025_19_46_36_30866.jpg
MAIN: 2025-03-10 19:46:37,168 - INFO - duration: 0.7063483329984592
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:47:06,296 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:47:06,988 - INFO - taking picture
MAIN: 2025-03-10 19:47:06,988 - INFO - we take 1594 photos in this while loop
MAIN: 2025-03-10 19:47:06,989 - INFO - /home/pi/Desktop/images/10032025/19/46/image_10032025_19_47_06_29816.jpg
MAIN: 2025-03-10 19:47:06,989 - INFO - duration: 0.7105266139988089
MAIN: 2025-03-10 19:47:06,989 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:47:36,541 - INFO - taking picture
MAIN: 2025-03-10 19:47:36,542 - INFO - we take 1595 photos in this while loop
MAIN: 2025-03-10 19:47:36,542 - INFO - /home/pi/Desktop/images/10032025/19/47/image_10032025_19_47_36_29568.jpg
MAIN: 2025-03-10 19:47:36,542 - INFO - duration: 0.6956968750018859
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:48:06,621 - INFO - taking picture
MAIN: 2025-03-10 19:48:06,622 - INFO - we take 1596 photos in this while loop
MAIN: 2025-03-10 19:48:06,622 - INFO - /home/pi/Desktop/images/10032025/19/47/image_10032025_19_48_06_30093.jpg
MAIN: 2025-03-10 19:48:06,622 - INFO - duration: 0.681590520995087
MAIN: 2025-03-10 19:48:06,623 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/48'
MAIN: 2025-03-10 19:48:06,793 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:48:37,513 - INFO - taking picture
MAIN: 2025-03-10 19:48:37,513 - INFO - we take 1597 photos in this while loop
MAIN: 2025-03-10 19:48:37,513 - INFO - /home/pi/Desktop/images/10032025/19/48/image_10032025_19_48_37_30902.jpg
MAIN: 2025-03-10 19:48:37,514 - INFO - duration: 0.6705757289964822
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:49: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:49:07,420 - INFO - taking picture
MAIN: 2025-03-10 19:49:07,421 - INFO - we take 1598 photos in this while loop
MAIN: 2025-03-10 19:49:07,421 - INFO - /home/pi/Desktop/images/10032025/19/48/image_10032025_19_49_07_29936.jpg
MAIN: 2025-03-10 19:49:07,421 - INFO - duration: 0.6410495310046826
MAIN: 2025-03-10 19:49:07,421 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/49'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:49:36,998 - INFO - taking picture
MAIN: 2025-03-10 19:49:36,998 - INFO - we take 1599 photos in this while loop
MAIN: 2025-03-10 19:49:36,998 - INFO - /home/pi/Desktop/images/10032025/19/49/image_10032025_19_49_36_29570.jpg
MAIN: 2025-03-10 19:49:36,998 - INFO - duration: 0.647656563000055
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:50:06,645 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:50:07,443 - INFO - taking picture
MAIN: 2025-03-10 19:50:07,444 - INFO - we take 1600 photos in this while loop
MAIN: 2025-03-10 19:50:07,444 - INFO - /home/pi/Desktop/images/10032025/19/49/image_10032025_19_50_07_30407.jpg
MAIN: 2025-03-10 19:50:07,445 - INFO - duration: 0.6865089579951018
MAIN: 2025-03-10 19:50:07,446 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/50'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:50:37,057 - INFO - taking picture
MAIN: 2025-03-10 19:50:37,058 - INFO - we take 1601 photos in this while loop
MAIN: 2025-03-10 19:50:37,058 - INFO - /home/pi/Desktop/images/10032025/19/50/image_10032025_19_50_36_29636.jpg
MAIN: 2025-03-10 19:50:37,058 - INFO - duration: 0.6636421349976445
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:51:05,788 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:51:06,743 - INFO - taking picture
MAIN: 2025-03-10 19:51:06,743 - INFO - we take 1602 photos in this while loop
MAIN: 2025-03-10 19:51:06,744 - INFO - /home/pi/Desktop/images/10032025/19/50/image_10032025_19_51_06_29713.jpg
MAIN: 2025-03-10 19:51:06,744 - INFO - duration: 0.6354998440001509
MAIN: 2025-03-10 19:51:06,744 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:51:37,462 - INFO - taking picture
MAIN: 2025-03-10 19:51:37,462 - INFO - we take 1603 photos in this while loop
MAIN: 2025-03-10 19:51:37,462 - INFO - /home/pi/Desktop/images/10032025/19/51/image_10032025_19_51_37_30673.jpg
MAIN: 2025-03-10 19:51:37,463 - INFO - duration: 0.6810948950005695
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:52:06,379 - INFO - taking picture
MAIN: 2025-03-10 19:52:06,379 - INFO - we take 1604 photos in this while loop
MAIN: 2025-03-10 19:52:06,380 - INFO - /home/pi/Desktop/images/10032025/19/51/image_10032025_19_52_05_28949.jpg
MAIN: 2025-03-10 19:52:06,380 - INFO - duration: 0.6482099999993807
MAIN: 2025-03-10 19:52:06,380 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/52'
MAIN: 2025-03-10 19:52:06,429 - INFO - cam.read() return no image
Will output and 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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:52:37,243 - INFO - taking picture
MAIN: 2025-03-10 19:52:37,243 - INFO - we take 1605 photos in this while loop
MAIN: 2025-03-10 19:52:37,244 - INFO - /home/pi/Desktop/images/10032025/19/52/image_10032025_19_52_36_30834.jpg
MAIN: 2025-03-10 19:52:37,244 - INFO - duration: 0.6777814059969387
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:53: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:53:06,999 - INFO - taking picture
MAIN: 2025-03-10 19:53:06,999 - INFO - we take 1606 photos in this while loop
MAIN: 2025-03-10 19:53:06,999 - INFO - /home/pi/Desktop/images/10032025/19/52/image_10032025_19_53_06_29794.jpg
MAIN: 2025-03-10 19:53:07,000 - INFO - duration: 0.6389715629993589
MAIN: 2025-03-10 19:53:07,000 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:53:36,629 - INFO - taking picture
MAIN: 2025-03-10 19:53:36,630 - INFO - we take 1607 photos in this while loop
MAIN: 2025-03-10 19:53:36,630 - INFO - /home/pi/Desktop/images/10032025/19/53/image_10032025_19_53_36_29595.jpg
MAIN: 2025-03-10 19:53:36,630 - INFO - duration: 0.6738383330011857
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:54: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 ! 
MAIN: 2025-03-10 19:54:06,902 - INFO - taking picture
MAIN: 2025-03-10 19:54:06,903 - INFO - we take 1608 photos in this while loop
MAIN: 2025-03-10 19:54:06,903 - INFO - /home/pi/Desktop/images/10032025/19/53/image_10032025_19_54_06_30265.jpg
MAIN: 2025-03-10 19:54:06,903 - INFO - duration: 0.6814005720007117
MAIN: 2025-03-10 19:54:06,904 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/54'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:54:36,545 - INFO - taking picture
MAIN: 2025-03-10 19:54:36,545 - INFO - we take 1609 photos in this while loop
MAIN: 2025-03-10 19:54:36,546 - INFO - /home/pi/Desktop/images/10032025/19/54/image_10032025_19_54_36_29646.jpg
MAIN: 2025-03-10 19:54:36,546 - INFO - duration: 0.6775437499964028
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:55:06,286 - INFO - cam.read() 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-10 19:55:06,620 - INFO - taking picture
MAIN: 2025-03-10 19:55:06,620 - INFO - we take 1610 photos in this while loop
MAIN: 2025-03-10 19:55:06,621 - INFO - /home/pi/Desktop/images/10032025/19/54/image_10032025_19_55_06_30055.jpg
MAIN: 2025-03-10 19:55:06,621 - INFO - duration: 0.6968318750004983
MAIN: 2025-03-10 19:55:06,621 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:55:36,270 - INFO - taking picture
MAIN: 2025-03-10 19:55:36,270 - INFO - we take 1611 photos in this while loop
MAIN: 2025-03-10 19:55:36,270 - INFO - /home/pi/Desktop/images/10032025/19/55/image_10032025_19_55_35_29672.jpg
MAIN: 2025-03-10 19:55:36,271 - INFO - duration: 0.674257968996244
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:56:06,070 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:56:06,546 - INFO - taking picture
MAIN: 2025-03-10 19:56:06,546 - INFO - we take 1612 photos in this while loop
MAIN: 2025-03-10 19:56:06,546 - INFO - /home/pi/Desktop/images/10032025/19/55/image_10032025_19_56_06_30256.jpg
MAIN: 2025-03-10 19:56:06,547 - INFO - duration: 0.6939407289974042
MAIN: 2025-03-10 19:56:06,547 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:56:36,358 - INFO - taking picture
MAIN: 2025-03-10 19:56:36,358 - INFO - we take 1613 photos in this while loop
MAIN: 2025-03-10 19:56:36,358 - INFO - /home/pi/Desktop/images/10032025/19/56/image_10032025_19_56_35_29828.jpg
MAIN: 2025-03-10 19:56:36,359 - INFO - duration: 0.677580155999749
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:57: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:57:06,480 - INFO - taking picture
MAIN: 2025-03-10 19:57:06,480 - INFO - we take 1614 photos in this while loop
MAIN: 2025-03-10 19:57:06,480 - INFO - /home/pi/Desktop/images/10032025/19/56/image_10032025_19_57_06_30094.jpg
MAIN: 2025-03-10 19:57:06,481 - INFO - duration: 0.7051105720020132
MAIN: 2025-03-10 19:57:06,481 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/57'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:57:37,364 - INFO - taking picture
MAIN: 2025-03-10 19:57:37,365 - INFO - we take 1615 photos in this while loop
MAIN: 2025-03-10 19:57:37,365 - INFO - /home/pi/Desktop/images/10032025/19/57/image_10032025_19_57_36_30912.jpg
MAIN: 2025-03-10 19:57:37,365 - INFO - duration: 0.6778061460063327
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:58:06,384 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:58:07,280 - INFO - taking picture
MAIN: 2025-03-10 19:58:07,280 - INFO - we take 1616 photos in this while loop
MAIN: 2025-03-10 19:58:07,281 - INFO - /home/pi/Desktop/images/10032025/19/57/image_10032025_19_58_06_29953.jpg
MAIN: 2025-03-10 19:58:07,281 - INFO - duration: 0.6400308849988505
MAIN: 2025-03-10 19:58:07,281 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/19/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:58:36,776 - INFO - taking picture
MAIN: 2025-03-10 19:58:36,777 - INFO - we take 1617 photos in this while loop
MAIN: 2025-03-10 19:58:36,777 - INFO - /home/pi/Desktop/images/10032025/19/58/image_10032025_19_58_36_29449.jpg
MAIN: 2025-03-10 19:58:36,777 - INFO - duration: 0.6863222909960314
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 19:59:06,148 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:59:06,551 - INFO - taking picture
MAIN: 2025-03-10 19:59:06,551 - INFO - we take 1618 photos in this while loop
MAIN: 2025-03-10 19:59:06,551 - INFO - /home/pi/Desktop/images/10032025/19/58/image_10032025_19_59_06_29782.jpg
MAIN: 2025-03-10 19:59:06,552 - INFO - duration: 0.6782283850043314
MAIN: 2025-03-10 19:59:06,552 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 19:59:37,446 - INFO - taking picture
MAIN: 2025-03-10 19:59:37,446 - INFO - we take 1619 photos in this while loop
MAIN: 2025-03-10 19:59:37,446 - INFO - /home/pi/Desktop/images/10032025/19/59/image_10032025_19_59_37_30880.jpg
MAIN: 2025-03-10 19:59:37,447 - INFO - duration: 0.6931397389998892
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:00:06,482 - INFO - taking picture
MAIN: 2025-03-10 20:00:06,483 - INFO - we take 1620 photos in this while loop
MAIN: 2025-03-10 20:00:06,483 - INFO - /home/pi/Desktop/images/10032025/19/59/image_10032025_20_00_06_28996.jpg
MAIN: 2025-03-10 20:00:06,483 - INFO - duration: 0.7337880199993378
MAIN: 2025-03-10 20:00:06,484 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/00'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:00:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:00:37,396 - INFO - taking picture
MAIN: 2025-03-10 20:00:37,397 - INFO - we take 1621 photos in this while loop
MAIN: 2025-03-10 20:00:37,397 - INFO - /home/pi/Desktop/images/10032025/20/00/image_10032025_20_00_37_30938.jpg
MAIN: 2025-03-10 20:00:37,397 - INFO - duration: 0.7090876559959725
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:01:05,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:01:07,447 - INFO - taking picture
MAIN: 2025-03-10 20:01:07,448 - INFO - we take 1622 photos in this while loop
MAIN: 2025-03-10 20:01:07,448 - INFO - /home/pi/Desktop/images/10032025/20/00/image_10032025_20_01_07_30041.jpg
MAIN: 2025-03-10 20:01:07,448 - INFO - duration: 0.7188495839945972
MAIN: 2025-03-10 20:01:07,449 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:01:37,003 - INFO - taking picture
MAIN: 2025-03-10 20:01:37,004 - INFO - we take 1623 photos in this while loop
MAIN: 2025-03-10 20:01:37,004 - INFO - /home/pi/Desktop/images/10032025/20/01/image_10032025_20_01_36_29588.jpg
MAIN: 2025-03-10 20:01:37,004 - INFO - duration: 0.6868787490020622
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:02: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:02:06,862 - INFO - taking picture
MAIN: 2025-03-10 20:02:06,863 - INFO - we take 1624 photos in this while loop
MAIN: 2025-03-10 20:02:06,863 - INFO - /home/pi/Desktop/images/10032025/20/01/image_10032025_20_02_06_29908.jpg
MAIN: 2025-03-10 20:02:06,863 - INFO - duration: 0.6370681249973131
MAIN: 2025-03-10 20:02:06,864 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:02:36,405 - INFO - taking picture
MAIN: 2025-03-10 20:02:36,406 - INFO - we take 1625 photos in this while loop
MAIN: 2025-03-10 20:02:36,406 - INFO - /home/pi/Desktop/images/10032025/20/02/image_10032025_20_02_36_29488.jpg
MAIN: 2025-03-10 20:02:36,406 - INFO - duration: 0.6919826029989053
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:03:05,623 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:03:06,374 - INFO - taking picture
MAIN: 2025-03-10 20:03:06,375 - INFO - we take 1626 photos in this while loop
MAIN: 2025-03-10 20:03:06,375 - INFO - /home/pi/Desktop/images/10032025/20/02/image_10032025_20_03_05_30002.jpg
MAIN: 2025-03-10 20:03:06,375 - INFO - duration: 0.6580712499999208
MAIN: 2025-03-10 20:03:06,376 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:03:37,242 - INFO - taking picture
MAIN: 2025-03-10 20:03:37,243 - INFO - we take 1627 photos in this while loop
MAIN: 2025-03-10 20:03:37,243 - INFO - /home/pi/Desktop/images/10032025/20/03/image_10032025_20_03_36_30875.jpg
MAIN: 2025-03-10 20:03:37,243 - INFO - duration: 0.6504785939978319
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:04: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:04:07,227 - INFO - taking picture
MAIN: 2025-03-10 20:04:07,228 - INFO - we take 1628 photos in this while loop
MAIN: 2025-03-10 20:04:07,228 - INFO - /home/pi/Desktop/images/10032025/20/03/image_10032025_20_04_06_29979.jpg
MAIN: 2025-03-10 20:04:07,228 - INFO - duration: 0.6557389579975279
MAIN: 2025-03-10 20:04:07,229 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:04:36,910 - INFO - taking picture
MAIN: 2025-03-10 20:04:36,911 - INFO - we take 1629 photos in this while loop
MAIN: 2025-03-10 20:04:36,911 - INFO - /home/pi/Desktop/images/10032025/20/04/image_10032025_20_04_36_29649.jpg
MAIN: 2025-03-10 20:04:36,911 - INFO - duration: 0.6898202599986689
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:05:07,027 - INFO - cam.read() 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-10 20:05:07,141 - INFO - taking picture
MAIN: 2025-03-10 20:05:07,142 - INFO - we take 1630 photos in this while loop
MAIN: 2025-03-10 20:05:07,142 - INFO - /home/pi/Desktop/images/10032025/20/04/image_10032025_20_05_06_30209.jpg
MAIN: 2025-03-10 20:05:07,143 - INFO - duration: 0.7114198429990211
MAIN: 2025-03-10 20:05:07,143 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/05'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:05:36,723 - INFO - taking picture
MAIN: 2025-03-10 20:05:36,723 - INFO - we take 1631 photos in this while loop
MAIN: 2025-03-10 20:05:36,724 - INFO - /home/pi/Desktop/images/10032025/20/05/image_10032025_20_05_36_29580.jpg
MAIN: 2025-03-10 20:05:36,724 - INFO - duration: 0.7117185410024831
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:06: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:06:06,678 - INFO - taking picture
MAIN: 2025-03-10 20:06:06,679 - INFO - we take 1632 photos in this while loop
MAIN: 2025-03-10 20:06:06,679 - INFO - /home/pi/Desktop/images/10032025/20/05/image_10032025_20_06_06_30004.jpg
MAIN: 2025-03-10 20:06:06,679 - INFO - duration: 0.6622043219977058
MAIN: 2025-03-10 20:06:06,679 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:06:36,393 - INFO - taking picture
MAIN: 2025-03-10 20:06:36,394 - INFO - we take 1633 photos in this while loop
MAIN: 2025-03-10 20:06:36,394 - INFO - /home/pi/Desktop/images/10032025/20/06/image_10032025_20_06_36_29682.jpg
MAIN: 2025-03-10 20:06:36,394 - INFO - duration: 0.6943613539988291
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:07:05,666 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:07:06,471 - INFO - taking picture
MAIN: 2025-03-10 20:07:06,472 - INFO - we take 1634 photos in this while loop
MAIN: 2025-03-10 20:07:06,472 - INFO - /home/pi/Desktop/images/10032025/20/06/image_10032025_20_07_06_30126.jpg
MAIN: 2025-03-10 20:07:06,472 - INFO - duration: 0.6462194269988686
MAIN: 2025-03-10 20:07:06,473 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:07:37,299 - INFO - taking picture
MAIN: 2025-03-10 20:07:37,300 - INFO - we take 1635 photos in this while loop
MAIN: 2025-03-10 20:07:37,300 - INFO - /home/pi/Desktop/images/10032025/20/07/image_10032025_20_07_36_30798.jpg
MAIN: 2025-03-10 20:07:37,300 - INFO - duration: 0.6754068230002304
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 20:08: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:08:07,476 - INFO - taking picture
MAIN: 2025-03-10 20:08:07,476 - INFO - we take 1636 photos in this while loop
MAIN: 2025-03-10 20:08:07,477 - INFO - /home/pi/Desktop/images/10032025/20/07/image_10032025_20_08_07_30178.jpg
MAIN: 2025-03-10 20:08:07,477 - INFO - duration: 0.6735209370017401
MAIN: 2025-03-10 20:08:07,477 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/08'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:08:37,004 - INFO - taking picture
MAIN: 2025-03-10 20:08:37,004 - INFO - we take 1637 photos in this while loop
MAIN: 2025-03-10 20:08:37,005 - INFO - /home/pi/Desktop/images/10032025/20/08/image_10032025_20_08_36_29559.jpg
MAIN: 2025-03-10 20:08:37,005 - INFO - duration: 0.6417860420042416
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 20:09:05,883 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:09:06,904 - INFO - taking picture
MAIN: 2025-03-10 20:09:06,905 - INFO - we take 1638 photos in this while loop
MAIN: 2025-03-10 20:09:06,905 - INFO - /home/pi/Desktop/images/10032025/20/08/image_10032025_20_09_06_29901.jpg
MAIN: 2025-03-10 20:09:06,905 - INFO - duration: 0.6404167709988542
MAIN: 2025-03-10 20:09:06,906 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:09:36,487 - INFO - taking picture
MAIN: 2025-03-10 20:09:36,488 - INFO - we take 1639 photos in this while loop
MAIN: 2025-03-10 20:09:36,488 - INFO - /home/pi/Desktop/images/10032025/20/09/image_10032025_20_09_36_29576.jpg
MAIN: 2025-03-10 20:09:36,488 - INFO - duration: 0.6467706769981305
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:10:06,902 - INFO - taking picture
MAIN: 2025-03-10 20:10:06,903 - INFO - we take 1640 photos in this while loop
MAIN: 2025-03-10 20:10:06,903 - INFO - /home/pi/Desktop/images/10032025/20/09/image_10032025_20_10_06_30384.jpg
MAIN: 2025-03-10 20:10:06,904 - INFO - duration: 0.678219478999381
MAIN: 2025-03-10 20:10:06,905 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/10'
MAIN: 2025-03-10 20:10:07,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:10:36,514 - INFO - taking picture
MAIN: 2025-03-10 20:10:36,515 - INFO - we take 1641 photos in this while loop
MAIN: 2025-03-10 20:10:36,515 - INFO - /home/pi/Desktop/images/10032025/20/10/image_10032025_20_10_36_29618.jpg
MAIN: 2025-03-10 20:10:36,515 - INFO - duration: 0.6711454680043971
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:11: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:11:07,471 - INFO - taking picture
MAIN: 2025-03-10 20:11:07,471 - INFO - we take 1642 photos in this while loop
MAIN: 2025-03-10 20:11:07,471 - INFO - /home/pi/Desktop/images/10032025/20/10/image_10032025_20_11_07_30899.jpg
MAIN: 2025-03-10 20:11:07,472 - INFO - duration: 0.728207239000767
MAIN: 2025-03-10 20:11:07,472 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:11:37,010 - INFO - taking picture
MAIN: 2025-03-10 20:11:37,010 - INFO - we take 1643 photos in this while loop
MAIN: 2025-03-10 20:11:37,011 - INFO - /home/pi/Desktop/images/10032025/20/11/image_10032025_20_11_36_29566.jpg
MAIN: 2025-03-10 20:11:37,011 - INFO - duration: 0.7007580209974549
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:12: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:12:07,158 - INFO - taking picture
MAIN: 2025-03-10 20:12:07,158 - INFO - we take 1644 photos in this while loop
MAIN: 2025-03-10 20:12:07,158 - INFO - /home/pi/Desktop/images/10032025/20/11/image_10032025_20_12_06_30169.jpg
MAIN: 2025-03-10 20:12:07,159 - INFO - duration: 0.6787628640013281
MAIN: 2025-03-10 20:12:07,159 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:12:36,799 - INFO - taking picture
MAIN: 2025-03-10 20:12:36,800 - INFO - we take 1645 photos in this while loop
MAIN: 2025-03-10 20:12:36,800 - INFO - /home/pi/Desktop/images/10032025/20/12/image_10032025_20_12_36_29624.jpg
MAIN: 2025-03-10 20:12:36,800 - INFO - duration: 0.6954613019988756
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:13:05,753 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:13:06,666 - INFO - taking picture
MAIN: 2025-03-10 20:13:06,667 - INFO - we take 1646 photos in this while loop
MAIN: 2025-03-10 20:13:06,667 - INFO - /home/pi/Desktop/images/10032025/20/12/image_10032025_20_13_06_29925.jpg
MAIN: 2025-03-10 20:13:06,667 - INFO - duration: 0.6369893750015763
MAIN: 2025-03-10 20:13:06,668 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:13:36,285 - INFO - taking picture
MAIN: 2025-03-10 20:13:36,285 - INFO - we take 1647 photos in this while loop
MAIN: 2025-03-10 20:13:36,286 - INFO - /home/pi/Desktop/images/10032025/20/13/image_10032025_20_13_35_29558.jpg
MAIN: 2025-03-10 20:13:36,286 - INFO - duration: 0.6969457809973392
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:14: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 ! 
MAIN: 2025-03-10 20:14:06,416 - INFO - taking picture
MAIN: 2025-03-10 20:14:06,416 - INFO - we take 1648 photos in this while loop
MAIN: 2025-03-10 20:14:06,416 - INFO - /home/pi/Desktop/images/10032025/20/13/image_10032025_20_14_06_30150.jpg
MAIN: 2025-03-10 20:14:06,417 - INFO - duration: 0.6774126039963448
MAIN: 2025-03-10 20:14:06,417 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:14:37,244 - INFO - taking picture
MAIN: 2025-03-10 20:14:37,245 - INFO - we take 1649 photos in this while loop
MAIN: 2025-03-10 20:14:37,245 - INFO - /home/pi/Desktop/images/10032025/20/14/image_10032025_20_14_36_30806.jpg
MAIN: 2025-03-10 20:14:37,245 - INFO - duration: 0.6993824999954086
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:15:06,287 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:15:07,378 - INFO - taking picture
MAIN: 2025-03-10 20:15:07,379 - INFO - we take 1650 photos in this while loop
MAIN: 2025-03-10 20:15:07,380 - INFO - /home/pi/Desktop/images/10032025/20/14/image_10032025_20_15_06_30167.jpg
MAIN: 2025-03-10 20:15:07,381 - INFO - duration: 0.6670884889972513
MAIN: 2025-03-10 20:15:07,382 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/15'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:15:36,949 - INFO - taking picture
MAIN: 2025-03-10 20:15:36,949 - INFO - we take 1651 photos in this while loop
MAIN: 2025-03-10 20:15:36,950 - INFO - /home/pi/Desktop/images/10032025/20/15/image_10032025_20_15_36_29545.jpg
MAIN: 2025-03-10 20:15:36,950 - INFO - duration: 0.6904168230030336
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:16: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:16:07,076 - INFO - taking picture
MAIN: 2025-03-10 20:16:07,077 - INFO - we take 1652 photos in this while loop
MAIN: 2025-03-10 20:16:07,077 - INFO - /home/pi/Desktop/images/10032025/20/15/image_10032025_20_16_06_30105.jpg
MAIN: 2025-03-10 20:16:07,077 - INFO - duration: 0.7125071350019425
MAIN: 2025-03-10 20:16:07,077 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/16'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:16:36,718 - INFO - taking picture
MAIN: 2025-03-10 20:16:36,719 - INFO - we take 1653 photos in this while loop
MAIN: 2025-03-10 20:16:36,719 - INFO - /home/pi/Desktop/images/10032025/20/16/image_10032025_20_16_36_29659.jpg
MAIN: 2025-03-10 20:16:36,719 - INFO - duration: 0.6956304160048603
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:17:06,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 ! 
MAIN: 2025-03-10 20:17:06,674 - INFO - taking picture
MAIN: 2025-03-10 20:17:06,674 - INFO - we take 1654 photos in this while loop
MAIN: 2025-03-10 20:17:06,674 - INFO - /home/pi/Desktop/images/10032025/20/16/image_10032025_20_17_06_29977.jpg
MAIN: 2025-03-10 20:17:06,675 - INFO - duration: 0.67363708299672
MAIN: 2025-03-10 20:17:06,675 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:17:36,323 - INFO - taking picture
MAIN: 2025-03-10 20:17:36,324 - INFO - we take 1655 photos in this while loop
MAIN: 2025-03-10 20:17:36,324 - INFO - /home/pi/Desktop/images/10032025/20/17/image_10032025_20_17_35_29619.jpg
MAIN: 2025-03-10 20:17:36,324 - INFO - duration: 0.7038697910029441
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:18:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:18:06,421 - INFO - taking picture
MAIN: 2025-03-10 20:18:06,421 - INFO - we take 1656 photos in this while loop
MAIN: 2025-03-10 20:18:06,421 - INFO - /home/pi/Desktop/images/10032025/20/17/image_10032025_20_18_06_30099.jpg
MAIN: 2025-03-10 20:18:06,422 - INFO - duration: 0.7015174469997874
MAIN: 2025-03-10 20:18:06,422 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/18'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:18:37,269 - INFO - taking picture
MAIN: 2025-03-10 20:18:37,270 - INFO - we take 1657 photos in this while loop
MAIN: 2025-03-10 20:18:37,270 - INFO - /home/pi/Desktop/images/10032025/20/18/image_10032025_20_18_36_30833.jpg
MAIN: 2025-03-10 20:18:37,271 - INFO - duration: 0.7171804680037894
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:19: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:19:07,273 - INFO - taking picture
MAIN: 2025-03-10 20:19:07,274 - INFO - we take 1658 photos in this while loop
MAIN: 2025-03-10 20:19:07,274 - INFO - /home/pi/Desktop/images/10032025/20/18/image_10032025_20_19_06_30017.jpg
MAIN: 2025-03-10 20:19:07,274 - INFO - duration: 0.7032811969984323
MAIN: 2025-03-10 20:19:07,274 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:19:37,043 - INFO - taking picture
MAIN: 2025-03-10 20:19:37,043 - INFO - we take 1659 photos in this while loop
MAIN: 2025-03-10 20:19:37,044 - INFO - /home/pi/Desktop/images/10032025/20/19/image_10032025_20_19_36_29759.jpg
MAIN: 2025-03-10 20:19:37,044 - INFO - duration: 0.7137553120046505
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:20:07,099 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 20:20:07,314 - INFO - taking picture
MAIN: 2025-03-10 20:20:07,314 - INFO - we take 1660 photos in this while loop
MAIN: 2025-03-10 20:20:07,315 - INFO - /home/pi/Desktop/images/10032025/20/19/image_10032025_20_20_06_30266.jpg
MAIN: 2025-03-10 20:20:07,315 - INFO - duration: 0.7185690620026435
MAIN: 2025-03-10 20:20:07,315 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/20'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:20:36,936 - INFO - taking picture
MAIN: 2025-03-10 20:20:36,937 - INFO - we take 1661 photos in this while loop
MAIN: 2025-03-10 20:20:36,937 - INFO - /home/pi/Desktop/images/10032025/20/20/image_10032025_20_20_36_29675.jpg
MAIN: 2025-03-10 20:20:36,937 - INFO - duration: 0.6649416140062385
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:21:05,916 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:21:06,887 - INFO - taking picture
MAIN: 2025-03-10 20:21:06,888 - INFO - we take 1662 photos in this while loop
MAIN: 2025-03-10 20:21:06,888 - INFO - /home/pi/Desktop/images/10032025/20/20/image_10032025_20_21_06_29968.jpg
MAIN: 2025-03-10 20:21:06,888 - INFO - duration: 0.647740624997823
MAIN: 2025-03-10 20:21:06,889 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/21'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:21:36,424 - INFO - taking picture
MAIN: 2025-03-10 20:21:36,425 - INFO - we take 1663 photos in this while loop
MAIN: 2025-03-10 20:21:36,425 - INFO - /home/pi/Desktop/images/10032025/20/21/image_10032025_20_21_36_29483.jpg
MAIN: 2025-03-10 20:21:36,425 - INFO - duration: 0.7007035930000711
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:22:06,453 - INFO - taking picture
MAIN: 2025-03-10 20:22:06,453 - INFO - we take 1664 photos in this while loop
MAIN: 2025-03-10 20:22:06,454 - INFO - /home/pi/Desktop/images/10032025/20/21/image_10032025_20_22_06_30046.jpg
MAIN: 2025-03-10 20:22:06,454 - INFO - duration: 0.682251771002484
MAIN: 2025-03-10 20:22:06,454 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/22'
MAIN: 2025-03-10 20:22: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:22:37,338 - INFO - taking picture
MAIN: 2025-03-10 20:22:37,339 - INFO - we take 1665 photos in this while loop
MAIN: 2025-03-10 20:22:37,339 - INFO - /home/pi/Desktop/images/10032025/20/22/image_10032025_20_22_36_30902.jpg
MAIN: 2025-03-10 20:22:37,339 - INFO - duration: 0.6647142190049635
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:23:06,214 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:23:07,184 - INFO - taking picture
MAIN: 2025-03-10 20:23:07,185 - INFO - we take 1666 photos in this while loop
MAIN: 2025-03-10 20:23:07,185 - INFO - /home/pi/Desktop/images/10032025/20/22/image_10032025_20_23_06_29869.jpg
MAIN: 2025-03-10 20:23:07,185 - INFO - duration: 0.6417590100027155
MAIN: 2025-03-10 20:23:07,186 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:23:36,780 - INFO - taking picture
MAIN: 2025-03-10 20:23:36,781 - INFO - we take 1667 photos in this while loop
MAIN: 2025-03-10 20:23:36,781 - INFO - /home/pi/Desktop/images/10032025/20/23/image_10032025_20_23_36_29588.jpg
MAIN: 2025-03-10 20:23:36,781 - INFO - duration: 0.6498058849974768
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:24:06,886 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 20:24:07,006 - INFO - taking picture
MAIN: 2025-03-10 20:24:07,006 - INFO - we take 1668 photos in this while loop
MAIN: 2025-03-10 20:24:07,007 - INFO - /home/pi/Desktop/images/10032025/20/23/image_10032025_20_24_06_30228.jpg
MAIN: 2025-03-10 20:24:07,007 - INFO - duration: 0.6469965099968249
MAIN: 2025-03-10 20:24:07,007 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:24:36,638 - INFO - taking picture
MAIN: 2025-03-10 20:24:36,638 - INFO - we take 1669 photos in this while loop
MAIN: 2025-03-10 20:24:36,638 - INFO - /home/pi/Desktop/images/10032025/20/24/image_10032025_20_24_36_29631.jpg
MAIN: 2025-03-10 20:24:36,639 - INFO - duration: 0.6477232289980748
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:25:06,076 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:25:06,831 - INFO - taking picture
MAIN: 2025-03-10 20:25:06,831 - INFO - we take 1670 photos in this while loop
MAIN: 2025-03-10 20:25:06,832 - INFO - /home/pi/Desktop/images/10032025/20/24/image_10032025_20_25_06_30132.jpg
MAIN: 2025-03-10 20:25:06,832 - INFO - duration: 0.708555676996184
MAIN: 2025-03-10 20:25:06,832 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:25:36,446 - INFO - taking picture
MAIN: 2025-03-10 20:25:36,447 - INFO - we take 1671 photos in this while loop
MAIN: 2025-03-10 20:25:36,447 - INFO - /home/pi/Desktop/images/10032025/20/25/image_10032025_20_25_36_29676.jpg
MAIN: 2025-03-10 20:25:36,447 - INFO - duration: 0.6477870310045546
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:26:06,334 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 20:26:06,606 - INFO - taking picture
MAIN: 2025-03-10 20:26:06,606 - INFO - we take 1672 photos in this while loop
MAIN: 2025-03-10 20:26:06,607 - INFO - /home/pi/Desktop/images/10032025/20/25/image_10032025_20_26_06_30126.jpg
MAIN: 2025-03-10 20:26:06,607 - INFO - duration: 0.6804273439993267
MAIN: 2025-03-10 20:26:06,607 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:26:37,487 - INFO - taking picture
MAIN: 2025-03-10 20:26:37,488 - INFO - we take 1673 photos in this while loop
MAIN: 2025-03-10 20:26:37,488 - INFO - /home/pi/Desktop/images/10032025/20/26/image_10032025_20_26_37_30874.jpg
MAIN: 2025-03-10 20:26:37,488 - INFO - duration: 0.6872961459957878
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:27: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:27:07,523 - INFO - taking picture
MAIN: 2025-03-10 20:27:07,523 - INFO - we take 1674 photos in this while loop
MAIN: 2025-03-10 20:27:07,523 - INFO - /home/pi/Desktop/images/10032025/20/26/image_10032025_20_27_07_30027.jpg
MAIN: 2025-03-10 20:27:07,524 - INFO - duration: 0.6950945829958073
MAIN: 2025-03-10 20:27:07,524 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:27:37,174 - INFO - taking picture
MAIN: 2025-03-10 20:27:37,174 - INFO - we take 1675 photos in this while loop
MAIN: 2025-03-10 20:27:37,175 - INFO - /home/pi/Desktop/images/10032025/20/27/image_10032025_20_27_36_29657.jpg
MAIN: 2025-03-10 20:27:37,175 - INFO - duration: 0.6891972919984255
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:28:06,521 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:28:07,110 - INFO - taking picture
MAIN: 2025-03-10 20:28:07,110 - INFO - we take 1676 photos in this while loop
MAIN: 2025-03-10 20:28:07,111 - INFO - /home/pi/Desktop/images/10032025/20/27/image_10032025_20_28_06_29928.jpg
MAIN: 2025-03-10 20:28:07,111 - INFO - duration: 0.6962849990013638
MAIN: 2025-03-10 20:28:07,111 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:28:36,649 - INFO - taking picture
MAIN: 2025-03-10 20:28:36,649 - INFO - we take 1677 photos in this while loop
MAIN: 2025-03-10 20:28:36,649 - INFO - /home/pi/Desktop/images/10032025/20/28/image_10032025_20_28_36_29560.jpg
MAIN: 2025-03-10 20:28:36,650 - INFO - duration: 0.6748708330051159
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:29: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 ! 
MAIN: 2025-03-10 20:29:06,582 - INFO - taking picture
MAIN: 2025-03-10 20:29:06,583 - INFO - we take 1678 photos in this while loop
MAIN: 2025-03-10 20:29:06,583 - INFO - /home/pi/Desktop/images/10032025/20/28/image_10032025_20_29_06_29924.jpg
MAIN: 2025-03-10 20:29:06,583 - INFO - duration: 0.6840902600015397
MAIN: 2025-03-10 20:29:06,584 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:29:37,407 - INFO - taking picture
MAIN: 2025-03-10 20:29:37,407 - INFO - we take 1679 photos in this while loop
MAIN: 2025-03-10 20:29:37,407 - INFO - /home/pi/Desktop/images/10032025/20/29/image_10032025_20_29_37_30838.jpg
MAIN: 2025-03-10 20:29:37,408 - INFO - duration: 0.669337708997773
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:30:06,507 - INFO - taking picture
MAIN: 2025-03-10 20:30:06,508 - INFO - we take 1680 photos in this while loop
MAIN: 2025-03-10 20:30:06,508 - INFO - /home/pi/Desktop/images/10032025/20/29/image_10032025_20_30_06_29040.jpg
MAIN: 2025-03-10 20:30:06,508 - INFO - duration: 0.7289297390016145
MAIN: 2025-03-10 20:30:06,508 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/30'
MAIN: 2025-03-10 20:30:07,375 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:30:37,394 - INFO - taking picture
MAIN: 2025-03-10 20:30:37,394 - INFO - we take 1681 photos in this while loop
MAIN: 2025-03-10 20:30:37,394 - INFO - /home/pi/Desktop/images/10032025/20/30/image_10032025_20_30_37_30918.jpg
MAIN: 2025-03-10 20:30:37,395 - INFO - duration: 0.6975482289999491
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:31:05,676 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:31:07,402 - INFO - taking picture
MAIN: 2025-03-10 20:31:07,403 - INFO - we take 1682 photos in this while loop
MAIN: 2025-03-10 20:31:07,403 - INFO - /home/pi/Desktop/images/10032025/20/30/image_10032025_20_31_07_30008.jpg
MAIN: 2025-03-10 20:31:07,403 - INFO - duration: 0.6978348949996871
MAIN: 2025-03-10 20:31:07,404 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:31:37,066 - INFO - taking picture
MAIN: 2025-03-10 20:31:37,066 - INFO - we take 1683 photos in this while loop
MAIN: 2025-03-10 20:31:37,066 - INFO - /home/pi/Desktop/images/10032025/20/31/image_10032025_20_31_36_29666.jpg
MAIN: 2025-03-10 20:31:37,066 - INFO - duration: 0.694839531002799
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:32:06,364 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:32:07,068 - INFO - taking picture
MAIN: 2025-03-10 20:32:07,069 - INFO - we take 1684 photos in this while loop
MAIN: 2025-03-10 20:32:07,069 - INFO - /home/pi/Desktop/images/10032025/20/31/image_10032025_20_32_06_29987.jpg
MAIN: 2025-03-10 20:32:07,069 - INFO - duration: 0.7101556770066964
MAIN: 2025-03-10 20:32:07,070 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:32:36,718 - INFO - taking picture
MAIN: 2025-03-10 20:32:36,718 - INFO - we take 1685 photos in this while loop
MAIN: 2025-03-10 20:32:36,719 - INFO - /home/pi/Desktop/images/10032025/20/32/image_10032025_20_32_36_29658.jpg
MAIN: 2025-03-10 20:32:36,719 - INFO - duration: 0.7011516139973537
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:33: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:33:06,720 - INFO - taking picture
MAIN: 2025-03-10 20:33:06,721 - INFO - we take 1686 photos in this while loop
MAIN: 2025-03-10 20:33:06,721 - INFO - /home/pi/Desktop/images/10032025/20/32/image_10032025_20_33_06_29998.jpg
MAIN: 2025-03-10 20:33:06,721 - INFO - duration: 0.7056983849979588
MAIN: 2025-03-10 20:33:06,722 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:33:36,257 - INFO - taking picture
MAIN: 2025-03-10 20:33:36,258 - INFO - we take 1687 photos in this while loop
MAIN: 2025-03-10 20:33:36,258 - INFO - /home/pi/Desktop/images/10032025/20/33/image_10032025_20_33_35_29551.jpg
MAIN: 2025-03-10 20:33:36,258 - INFO - duration: 0.6906030729951453
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:34:06,269 - INFO - taking picture
MAIN: 2025-03-10 20:34:06,270 - INFO - we take 1688 photos in this while loop
MAIN: 2025-03-10 20:34:06,270 - INFO - /home/pi/Desktop/images/10032025/20/33/image_10032025_20_34_05_30061.jpg
MAIN: 2025-03-10 20:34:06,270 - INFO - duration: 0.6413863019988639
MAIN: 2025-03-10 20:34:06,271 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/34'
MAIN: 2025-03-10 20:34: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:34:37,276 - INFO - taking picture
MAIN: 2025-03-10 20:34:37,277 - INFO - we take 1689 photos in this while loop
MAIN: 2025-03-10 20:34:37,277 - INFO - /home/pi/Desktop/images/10032025/20/34/image_10032025_20_34_36_30943.jpg
MAIN: 2025-03-10 20:34:37,277 - INFO - duration: 0.7049519779975526
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:35:06,377 - INFO - taking picture
MAIN: 2025-03-10 20:35:06,378 - INFO - we take 1690 photos in this while loop
MAIN: 2025-03-10 20:35:06,378 - INFO - /home/pi/Desktop/images/10032025/20/34/image_10032025_20_35_05_29095.jpg
MAIN: 2025-03-10 20:35:06,378 - INFO - duration: 0.7106715630070539
MAIN: 2025-03-10 20:35:06,379 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/35'
MAIN: 2025-03-10 20:35:06,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:35:37,300 - INFO - taking picture
MAIN: 2025-03-10 20:35:37,301 - INFO - we take 1691 photos in this while loop
MAIN: 2025-03-10 20:35:37,301 - INFO - /home/pi/Desktop/images/10032025/20/35/image_10032025_20_35_36_30927.jpg
MAIN: 2025-03-10 20:35:37,301 - INFO - duration: 0.70608338600141
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:36:06,830 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:36:07,441 - INFO - taking picture
MAIN: 2025-03-10 20:36:07,442 - INFO - we take 1692 photos in this while loop
MAIN: 2025-03-10 20:36:07,442 - INFO - /home/pi/Desktop/images/10032025/20/35/image_10032025_20_36_07_30140.jpg
MAIN: 2025-03-10 20:36:07,442 - INFO - duration: 0.7066760930028977
MAIN: 2025-03-10 20:36:07,443 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:36:37,087 - INFO - taking picture
MAIN: 2025-03-10 20:36:37,087 - INFO - we take 1693 photos in this while loop
MAIN: 2025-03-10 20:36:37,088 - INFO - /home/pi/Desktop/images/10032025/20/36/image_10032025_20_36_36_29645.jpg
MAIN: 2025-03-10 20:36:37,088 - INFO - duration: 0.7064760939974803
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:37: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:37:07,334 - INFO - taking picture
MAIN: 2025-03-10 20:37:07,335 - INFO - we take 1694 photos in this while loop
MAIN: 2025-03-10 20:37:07,335 - INFO - /home/pi/Desktop/images/10032025/20/36/image_10032025_20_37_06_30275.jpg
MAIN: 2025-03-10 20:37:07,335 - INFO - duration: 0.6782357810006943
MAIN: 2025-03-10 20:37:07,335 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/37'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:37:36,985 - INFO - taking picture
MAIN: 2025-03-10 20:37:36,985 - INFO - we take 1695 photos in this while loop
MAIN: 2025-03-10 20:37:36,986 - INFO - /home/pi/Desktop/images/10032025/20/37/image_10032025_20_37_36_29641.jpg
MAIN: 2025-03-10 20:37:36,986 - INFO - duration: 0.6872544270008802
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:38:06,302 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:38:07,151 - INFO - taking picture
MAIN: 2025-03-10 20:38:07,152 - INFO - we take 1696 photos in this while loop
MAIN: 2025-03-10 20:38:07,152 - INFO - /home/pi/Desktop/images/10032025/20/37/image_10032025_20_38_06_30207.jpg
MAIN: 2025-03-10 20:38:07,152 - INFO - duration: 0.6463524479986518
MAIN: 2025-03-10 20:38:07,153 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/38'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:38:36,787 - INFO - taking picture
MAIN: 2025-03-10 20:38:36,788 - INFO - we take 1697 photos in this while loop
MAIN: 2025-03-10 20:38:36,788 - INFO - /home/pi/Desktop/images/10032025/20/38/image_10032025_20_38_36_29593.jpg
MAIN: 2025-03-10 20:38:36,788 - INFO - duration: 0.6891457290039398
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:39:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:39:06,783 - INFO - taking picture
MAIN: 2025-03-10 20:39:06,784 - INFO - we take 1698 photos in this while loop
MAIN: 2025-03-10 20:39:06,784 - INFO - /home/pi/Desktop/images/10032025/20/38/image_10032025_20_39_06_30042.jpg
MAIN: 2025-03-10 20:39:06,784 - INFO - duration: 0.6430208329984453
MAIN: 2025-03-10 20:39:06,785 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:39:36,445 - INFO - taking picture
MAIN: 2025-03-10 20:39:36,445 - INFO - we take 1699 photos in this while loop
MAIN: 2025-03-10 20:39:36,446 - INFO - /home/pi/Desktop/images/10032025/20/39/image_10032025_20_39_36_29605.jpg
MAIN: 2025-03-10 20:39:36,446 - INFO - duration: 0.6992904690050636
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:40:06,874 - INFO - taking picture
MAIN: 2025-03-10 20:40:06,874 - INFO - we take 1700 photos in this while loop
MAIN: 2025-03-10 20:40:06,875 - INFO - /home/pi/Desktop/images/10032025/20/39/image_10032025_20_40_06_30451.jpg
MAIN: 2025-03-10 20:40:06,875 - INFO - duration: 0.6762404679975589
MAIN: 2025-03-10 20:40:06,875 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/40'
MAIN: 2025-03-10 20:40:07,175 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:40:36,427 - INFO - taking picture
MAIN: 2025-03-10 20:40:36,428 - INFO - we take 1701 photos in this while loop
MAIN: 2025-03-10 20:40:36,428 - INFO - /home/pi/Desktop/images/10032025/20/40/image_10032025_20_40_36_29556.jpg
MAIN: 2025-03-10 20:40:36,428 - INFO - duration: 0.6729031769937137
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:41:06,150 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:41:07,385 - INFO - taking picture
MAIN: 2025-03-10 20:41:07,386 - INFO - we take 1702 photos in this while loop
MAIN: 2025-03-10 20:41:07,386 - INFO - /home/pi/Desktop/images/10032025/20/40/image_10032025_20_41_07_30950.jpg
MAIN: 2025-03-10 20:41:07,386 - INFO - duration: 0.6799920310004381
MAIN: 2025-03-10 20:41:07,386 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:41:36,873 - INFO - taking picture
MAIN: 2025-03-10 20:41:36,874 - INFO - we take 1703 photos in this while loop
MAIN: 2025-03-10 20:41:36,874 - INFO - /home/pi/Desktop/images/10032025/20/41/image_10032025_20_41_36_29472.jpg
MAIN: 2025-03-10 20:41:36,874 - INFO - duration: 0.695432239001093
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:42:06,812 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 20:42:06,892 - INFO - taking picture
MAIN: 2025-03-10 20:42:06,892 - INFO - we take 1704 photos in this while loop
MAIN: 2025-03-10 20:42:06,893 - INFO - /home/pi/Desktop/images/10032025/20/41/image_10032025_20_42_06_30023.jpg
MAIN: 2025-03-10 20:42:06,893 - INFO - duration: 0.6907868749985937
MAIN: 2025-03-10 20:42:06,893 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:42:36,482 - INFO - taking picture
MAIN: 2025-03-10 20:42:36,483 - INFO - we take 1705 photos in this while loop
MAIN: 2025-03-10 20:42:36,483 - INFO - /home/pi/Desktop/images/10032025/20/42/image_10032025_20_42_36_29584.jpg
MAIN: 2025-03-10 20:42:36,483 - INFO - duration: 0.697021665997454
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:43:05,773 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:43:06,460 - INFO - taking picture
MAIN: 2025-03-10 20:43:06,461 - INFO - we take 1706 photos in this while loop
MAIN: 2025-03-10 20:43:06,461 - INFO - /home/pi/Desktop/images/10032025/20/42/image_10032025_20_43_06_29985.jpg
MAIN: 2025-03-10 20:43:06,461 - INFO - duration: 0.689307499997085
MAIN: 2025-03-10 20:43:06,461 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:43:37,433 - INFO - taking picture
MAIN: 2025-03-10 20:43:37,434 - INFO - we take 1707 photos in this while loop
MAIN: 2025-03-10 20:43:37,434 - INFO - /home/pi/Desktop/images/10032025/20/43/image_10032025_20_43_37_30965.jpg
MAIN: 2025-03-10 20:43:37,434 - INFO - duration: 0.6966016669975943
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:44: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 ! 
MAIN: 2025-03-10 20:44:06,439 - INFO - taking picture
MAIN: 2025-03-10 20:44:06,440 - INFO - we take 1708 photos in this while loop
MAIN: 2025-03-10 20:44:06,440 - INFO - /home/pi/Desktop/images/10032025/20/43/image_10032025_20_44_06_28996.jpg
MAIN: 2025-03-10 20:44:06,440 - INFO - duration: 0.7064644780039089
MAIN: 2025-03-10 20:44:06,441 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/44'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:44:37,241 - INFO - taking picture
MAIN: 2025-03-10 20:44:37,242 - INFO - we take 1709 photos in this while loop
MAIN: 2025-03-10 20:44:37,242 - INFO - /home/pi/Desktop/images/10032025/20/44/image_10032025_20_44_36_30806.jpg
MAIN: 2025-03-10 20:44:37,242 - INFO - duration: 0.7018221359976451
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:45:06,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:45:07,255 - INFO - taking picture
MAIN: 2025-03-10 20:45:07,256 - INFO - we take 1710 photos in this while loop
MAIN: 2025-03-10 20:45:07,256 - INFO - /home/pi/Desktop/images/10032025/20/44/image_10032025_20_45_06_30026.jpg
MAIN: 2025-03-10 20:45:07,257 - INFO - duration: 0.6898543230054202
MAIN: 2025-03-10 20:45:07,257 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:45:36,819 - INFO - taking picture
MAIN: 2025-03-10 20:45:36,819 - INFO - we take 1711 photos in this while loop
MAIN: 2025-03-10 20:45:36,819 - INFO - /home/pi/Desktop/images/10032025/20/45/image_10032025_20_45_36_29553.jpg
MAIN: 2025-03-10 20:45:36,820 - INFO - duration: 0.6991343740010052
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:46:06,851 - INFO - taking picture
MAIN: 2025-03-10 20:46:06,852 - INFO - we take 1712 photos in this while loop
MAIN: 2025-03-10 20:46:06,852 - INFO - /home/pi/Desktop/images/10032025/20/45/image_10032025_20_46_06_30038.jpg
MAIN: 2025-03-10 20:46:06,852 - INFO - duration: 0.6928358329969342
MAIN: 2025-03-10 20:46:06,853 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/46'
MAIN: 2025-03-10 20:46: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:46:36,457 - INFO - taking picture
MAIN: 2025-03-10 20:46:36,458 - INFO - we take 1713 photos in this while loop
MAIN: 2025-03-10 20:46:36,458 - INFO - /home/pi/Desktop/images/10032025/20/46/image_10032025_20_46_36_29601.jpg
MAIN: 2025-03-10 20:46:36,458 - INFO - duration: 0.6967001560042263
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:47:05,773 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:47:06,476 - INFO - taking picture
MAIN: 2025-03-10 20:47:06,476 - INFO - we take 1714 photos in this while loop
MAIN: 2025-03-10 20:47:06,477 - INFO - /home/pi/Desktop/images/10032025/20/46/image_10032025_20_47_06_30070.jpg
MAIN: 2025-03-10 20:47:06,477 - INFO - duration: 0.6446857289993204
MAIN: 2025-03-10 20:47:06,477 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:47:37,370 - INFO - taking picture
MAIN: 2025-03-10 20:47:37,370 - INFO - we take 1715 photos in this while loop
MAIN: 2025-03-10 20:47:37,371 - INFO - /home/pi/Desktop/images/10032025/20/47/image_10032025_20_47_36_30836.jpg
MAIN: 2025-03-10 20:47:37,371 - INFO - duration: 0.7024666139986948
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:48:06,359 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 20:48:06,383 - INFO - taking picture
MAIN: 2025-03-10 20:48:06,384 - INFO - we take 1716 photos in this while loop
MAIN: 2025-03-10 20:48:06,384 - INFO - /home/pi/Desktop/images/10032025/20/47/image_10032025_20_48_06_29018.jpg
MAIN: 2025-03-10 20:48:06,385 - INFO - duration: 0.6978539580013603
MAIN: 2025-03-10 20:48:06,385 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:48:37,269 - INFO - taking picture
MAIN: 2025-03-10 20:48:37,270 - INFO - we take 1717 photos in this while loop
MAIN: 2025-03-10 20:48:37,270 - INFO - /home/pi/Desktop/images/10032025/20/48/image_10032025_20_48_36_30881.jpg
MAIN: 2025-03-10 20:48:37,270 - INFO - duration: 0.7022330199979478
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:49:06,026 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:49:07,461 - INFO - taking picture
MAIN: 2025-03-10 20:49:07,461 - INFO - we take 1718 photos in this while loop
MAIN: 2025-03-10 20:49:07,462 - INFO - /home/pi/Desktop/images/10032025/20/48/image_10032025_20_49_07_30193.jpg
MAIN: 2025-03-10 20:49:07,462 - INFO - duration: 0.7005966139986413
MAIN: 2025-03-10 20:49:07,462 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:49:37,153 - INFO - taking picture
MAIN: 2025-03-10 20:49:37,154 - INFO - we take 1719 photos in this while loop
MAIN: 2025-03-10 20:49:37,154 - INFO - /home/pi/Desktop/images/10032025/20/49/image_10032025_20_49_36_29709.jpg
MAIN: 2025-03-10 20:49:37,154 - INFO - duration: 0.6834878119989298
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:50:06,897 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 20:50:07,247 - INFO - taking picture
MAIN: 2025-03-10 20:50:07,248 - INFO - we take 1720 photos in this while loop
MAIN: 2025-03-10 20:50:07,249 - INFO - /home/pi/Desktop/images/10032025/20/49/image_10032025_20_50_06_30078.jpg
MAIN: 2025-03-10 20:50:07,249 - INFO - duration: 0.7003394269995624
MAIN: 2025-03-10 20:50:07,251 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:50:36,909 - INFO - taking picture
MAIN: 2025-03-10 20:50:36,910 - INFO - we take 1721 photos in this while loop
MAIN: 2025-03-10 20:50:36,910 - INFO - /home/pi/Desktop/images/10032025/20/50/image_10032025_20_50_36_29655.jpg
MAIN: 2025-03-10 20:50:36,910 - INFO - duration: 0.7057947389985202
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:51:06,542 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:51:06,955 - INFO - taking picture
MAIN: 2025-03-10 20:51:06,956 - INFO - we take 1722 photos in this while loop
MAIN: 2025-03-10 20:51:06,956 - INFO - /home/pi/Desktop/images/10032025/20/50/image_10032025_20_51_06_30040.jpg
MAIN: 2025-03-10 20:51:06,956 - INFO - duration: 0.7113033849964268
MAIN: 2025-03-10 20:51:06,957 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:51:36,557 - INFO - taking picture
MAIN: 2025-03-10 20:51:36,557 - INFO - we take 1723 photos in this while loop
MAIN: 2025-03-10 20:51:36,557 - INFO - /home/pi/Desktop/images/10032025/20/51/image_10032025_20_51_36_29608.jpg
MAIN: 2025-03-10 20:51:36,557 - INFO - duration: 0.7034456250039511
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:52:06,654 - INFO - taking picture
MAIN: 2025-03-10 20:52:06,655 - INFO - we take 1724 photos in this while loop
MAIN: 2025-03-10 20:52:06,655 - INFO - /home/pi/Desktop/images/10032025/20/51/image_10032025_20_52_06_30125.jpg
MAIN: 2025-03-10 20:52:06,655 - INFO - duration: 0.6755510410002898
MAIN: 2025-03-10 20:52:06,656 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/52'
MAIN: 2025-03-10 20:52:06,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:52:37,481 - INFO - taking picture
MAIN: 2025-03-10 20:52:37,482 - INFO - we take 1725 photos in this while loop
MAIN: 2025-03-10 20:52:37,482 - INFO - /home/pi/Desktop/images/10032025/20/52/image_10032025_20_52_37_30837.jpg
MAIN: 2025-03-10 20:52:37,482 - INFO - duration: 0.6645621869975002
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:53:05,712 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:53:07,549 - INFO - taking picture
MAIN: 2025-03-10 20:53:07,549 - INFO - we take 1726 photos in this while loop
MAIN: 2025-03-10 20:53:07,549 - INFO - /home/pi/Desktop/images/10032025/20/52/image_10032025_20_53_07_30040.jpg
MAIN: 2025-03-10 20:53:07,550 - INFO - duration: 0.6915388019988313
MAIN: 2025-03-10 20:53:07,550 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:53:37,220 - INFO - taking picture
MAIN: 2025-03-10 20:53:37,221 - INFO - we take 1727 photos in this while loop
MAIN: 2025-03-10 20:53:37,221 - INFO - /home/pi/Desktop/images/10032025/20/53/image_10032025_20_53_36_29673.jpg
MAIN: 2025-03-10 20:53:37,221 - INFO - duration: 0.6894000000029337
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:54:06,259 - INFO - taking picture
MAIN: 2025-03-10 20:54:06,260 - INFO - we take 1728 photos in this while loop
MAIN: 2025-03-10 20:54:06,260 - INFO - /home/pi/Desktop/images/10032025/20/53/image_10032025_20_54_05_29056.jpg
MAIN: 2025-03-10 20:54:06,260 - INFO - duration: 0.6720796360023087
MAIN: 2025-03-10 20:54:06,261 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/54'
MAIN: 2025-03-10 20:54: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:54:37,117 - INFO - taking picture
MAIN: 2025-03-10 20:54:37,118 - INFO - we take 1729 photos in this while loop
MAIN: 2025-03-10 20:54:37,118 - INFO - /home/pi/Desktop/images/10032025/20/54/image_10032025_20_54_36_30840.jpg
MAIN: 2025-03-10 20:54:37,118 - INFO - duration: 0.6899910409993026
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:55:06,375 - INFO - cam.read() return no image
Will output and 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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:55:07,194 - INFO - taking picture
MAIN: 2025-03-10 20:55:07,195 - INFO - we take 1730 photos in this while loop
MAIN: 2025-03-10 20:55:07,195 - INFO - /home/pi/Desktop/images/10032025/20/54/image_10032025_20_55_06_30056.jpg
MAIN: 2025-03-10 20:55:07,195 - INFO - duration: 0.7096552079965477
MAIN: 2025-03-10 20:55:07,195 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:55:36,725 - INFO - taking picture
MAIN: 2025-03-10 20:55:36,726 - INFO - we take 1731 photos in this while loop
MAIN: 2025-03-10 20:55:36,726 - INFO - /home/pi/Desktop/images/10032025/20/55/image_10032025_20_55_36_29550.jpg
MAIN: 2025-03-10 20:55:36,726 - INFO - duration: 0.6909951560010086
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:56:06,682 - INFO - taking picture
MAIN: 2025-03-10 20:56:06,683 - INFO - we take 1732 photos in this while loop
MAIN: 2025-03-10 20:56:06,683 - INFO - /home/pi/Desktop/images/10032025/20/55/image_10032025_20_56_06_30005.jpg
MAIN: 2025-03-10 20:56:06,683 - INFO - duration: 0.6419536449975567
MAIN: 2025-03-10 20:56:06,683 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/56'
MAIN: 2025-03-10 20:56:06,786 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:56:37,509 - INFO - taking picture
MAIN: 2025-03-10 20:56:37,510 - INFO - we take 1733 photos in this while loop
MAIN: 2025-03-10 20:56:37,510 - INFO - /home/pi/Desktop/images/10032025/20/56/image_10032025_20_56_37_30779.jpg
MAIN: 2025-03-10 20:56:37,510 - INFO - duration: 0.6896410410045064
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:57:06,318 - INFO - taking picture
MAIN: 2025-03-10 20:57:06,319 - INFO - we take 1734 photos in this while loop
MAIN: 2025-03-10 20:57:06,319 - INFO - /home/pi/Desktop/images/10032025/20/56/image_10032025_20_57_05_28828.jpg
MAIN: 2025-03-10 20:57:06,319 - INFO - duration: 0.6700622909993399
MAIN: 2025-03-10 20:57:06,320 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/57'
MAIN: 2025-03-10 20:57:06,862 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:57:37,127 - INFO - taking picture
MAIN: 2025-03-10 20:57:37,128 - INFO - we take 1735 photos in this while loop
MAIN: 2025-03-10 20:57:37,128 - INFO - /home/pi/Desktop/images/10032025/20/57/image_10032025_20_57_36_30785.jpg
MAIN: 2025-03-10 20:57:37,128 - INFO - duration: 0.6936768230007146
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 20:58: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:58:07,247 - INFO - taking picture
MAIN: 2025-03-10 20:58:07,247 - INFO - we take 1736 photos in this while loop
MAIN: 2025-03-10 20:58:07,248 - INFO - /home/pi/Desktop/images/10032025/20/57/image_10032025_20_58_06_30177.jpg
MAIN: 2025-03-10 20:58:07,248 - INFO - duration: 0.6353223950063693
MAIN: 2025-03-10 20:58:07,248 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:58:36,814 - INFO - taking picture
MAIN: 2025-03-10 20:58:36,815 - INFO - we take 1737 photos in this while loop
MAIN: 2025-03-10 20:58:36,815 - INFO - /home/pi/Desktop/images/10032025/20/58/image_10032025_20_58_36_29509.jpg
MAIN: 2025-03-10 20:58:36,815 - INFO - duration: 0.6933729680022225
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 20:59:05,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:59:06,615 - INFO - taking picture
MAIN: 2025-03-10 20:59:06,616 - INFO - we take 1738 photos in this while loop
MAIN: 2025-03-10 20:59:06,616 - INFO - /home/pi/Desktop/images/10032025/20/58/image_10032025_20_59_06_29803.jpg
MAIN: 2025-03-10 20:59:06,616 - INFO - duration: 0.6910523430051398
MAIN: 2025-03-10 20:59:06,617 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/20/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 20:59:36,307 - INFO - taking picture
MAIN: 2025-03-10 20:59:36,308 - INFO - we take 1739 photos in this while loop
MAIN: 2025-03-10 20:59:36,308 - INFO - /home/pi/Desktop/images/10032025/20/59/image_10032025_20_59_35_29684.jpg
MAIN: 2025-03-10 20:59:36,308 - INFO - duration: 0.6986139060027199
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:00:07,013 - INFO - taking picture
MAIN: 2025-03-10 21:00:07,014 - INFO - we take 1740 photos in this while loop
MAIN: 2025-03-10 21:00:07,014 - INFO - /home/pi/Desktop/images/10032025/20/59/image_10032025_21_00_06_30719.jpg
MAIN: 2025-03-10 21:00:07,014 - INFO - duration: 0.6852369789994555
MAIN: 2025-03-10 21:00:07,014 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/00'
MAIN: 2025-03-10 21: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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:00:36,507 - INFO - taking picture
MAIN: 2025-03-10 21:00:36,507 - INFO - we take 1741 photos in this while loop
MAIN: 2025-03-10 21:00:36,508 - INFO - /home/pi/Desktop/images/10032025/21/00/image_10032025_21_00_36_29485.jpg
MAIN: 2025-03-10 21:00:36,508 - INFO - duration: 0.6941045829953509
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:01:06,466 - INFO - taking picture
MAIN: 2025-03-10 21:01:06,467 - INFO - we take 1742 photos in this while loop
MAIN: 2025-03-10 21:01:06,467 - INFO - /home/pi/Desktop/images/10032025/21/00/image_10032025_21_01_06_29974.jpg
MAIN: 2025-03-10 21:01:06,467 - INFO - duration: 0.678732863998448
MAIN: 2025-03-10 21:01:06,467 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/01'
MAIN: 2025-03-10 21:01: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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:01:37,310 - INFO - taking picture
MAIN: 2025-03-10 21:01:37,310 - INFO - we take 1743 photos in this while loop
MAIN: 2025-03-10 21:01:37,310 - INFO - /home/pi/Desktop/images/10032025/21/01/image_10032025_21_01_36_30832.jpg
MAIN: 2025-03-10 21:01:37,311 - INFO - duration: 0.6893936460037366
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:02:06,321 - INFO - taking picture
MAIN: 2025-03-10 21:02:06,322 - INFO - we take 1744 photos in this while loop
MAIN: 2025-03-10 21:02:06,322 - INFO - /home/pi/Desktop/images/10032025/21/01/image_10032025_21_02_05_29049.jpg
MAIN: 2025-03-10 21:02:06,322 - INFO - duration: 0.6515374479931779
MAIN: 2025-03-10 21:02:06,322 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/02'
MAIN: 2025-03-10 21:02:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:02:37,098 - INFO - taking picture
MAIN: 2025-03-10 21:02:37,099 - INFO - we take 1745 photos in this while loop
MAIN: 2025-03-10 21:02:37,099 - INFO - /home/pi/Desktop/images/10032025/21/02/image_10032025_21_02_36_30737.jpg
MAIN: 2025-03-10 21:02:37,099 - INFO - duration: 0.6916596349983593
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:03:05,954 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:03:07,182 - INFO - taking picture
MAIN: 2025-03-10 21:03:07,182 - INFO - we take 1746 photos in this while loop
MAIN: 2025-03-10 21:03:07,183 - INFO - /home/pi/Desktop/images/10032025/21/02/image_10032025_21_03_06_30111.jpg
MAIN: 2025-03-10 21:03:07,183 - INFO - duration: 0.6640839059982682
MAIN: 2025-03-10 21:03:07,183 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/03'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:03:36,826 - INFO - taking picture
MAIN: 2025-03-10 21:03:36,826 - INFO - we take 1747 photos in this while loop
MAIN: 2025-03-10 21:03:36,826 - INFO - /home/pi/Desktop/images/10032025/21/03/image_10032025_21_03_36_29609.jpg
MAIN: 2025-03-10 21:03:36,827 - INFO - duration: 0.6985307810027734
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:04: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:04:06,959 - INFO - taking picture
MAIN: 2025-03-10 21:04:06,960 - INFO - we take 1748 photos in this while loop
MAIN: 2025-03-10 21:04:06,960 - INFO - /home/pi/Desktop/images/10032025/21/03/image_10032025_21_04_06_30138.jpg
MAIN: 2025-03-10 21:04:06,960 - INFO - duration: 0.6930056769997464
MAIN: 2025-03-10 21:04:06,960 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/04'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:04:36,634 - INFO - taking picture
MAIN: 2025-03-10 21:04:36,634 - INFO - we take 1749 photos in this while loop
MAIN: 2025-03-10 21:04:36,635 - INFO - /home/pi/Desktop/images/10032025/21/04/image_10032025_21_04_36_29666.jpg
MAIN: 2025-03-10 21:04:36,635 - INFO - duration: 0.7010456240022904
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:05:06,635 - INFO - taking picture
MAIN: 2025-03-10 21:05:06,636 - INFO - we take 1750 photos in this while loop
MAIN: 2025-03-10 21:05:06,636 - INFO - /home/pi/Desktop/images/10032025/21/04/image_10032025_21_05_06_30027.jpg
MAIN: 2025-03-10 21:05:06,636 - INFO - duration: 0.6748391660003108
MAIN: 2025-03-10 21:05:06,636 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/05'
MAIN: 2025-03-10 21:05:06,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:05:37,401 - INFO - taking picture
MAIN: 2025-03-10 21:05:37,401 - INFO - we take 1751 photos in this while loop
MAIN: 2025-03-10 21:05:37,402 - INFO - /home/pi/Desktop/images/10032025/21/05/image_10032025_21_05_37_30758.jpg
MAIN: 2025-03-10 21:05:37,402 - INFO - duration: 0.6821388009993825
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:06: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:06:07,296 - INFO - taking picture
MAIN: 2025-03-10 21:06:07,296 - INFO - we take 1752 photos in this while loop
MAIN: 2025-03-10 21:06:07,296 - INFO - /home/pi/Desktop/images/10032025/21/05/image_10032025_21_06_06_29934.jpg
MAIN: 2025-03-10 21:06:07,297 - INFO - duration: 0.6429323429983924
MAIN: 2025-03-10 21:06:07,297 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/06'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:06:36,925 - INFO - taking picture
MAIN: 2025-03-10 21:06:36,926 - INFO - we take 1753 photos in this while loop
MAIN: 2025-03-10 21:06:36,926 - INFO - /home/pi/Desktop/images/10032025/21/06/image_10032025_21_06_36_29585.jpg
MAIN: 2025-03-10 21:06:36,926 - INFO - duration: 0.6869975519948639
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:07: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:07:07,050 - INFO - taking picture
MAIN: 2025-03-10 21:07:07,051 - INFO - we take 1754 photos in this while loop
MAIN: 2025-03-10 21:07:07,051 - INFO - /home/pi/Desktop/images/10032025/21/06/image_10032025_21_07_06_30175.jpg
MAIN: 2025-03-10 21:07:07,051 - INFO - duration: 0.636077187002229
MAIN: 2025-03-10 21:07:07,051 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:07:36,704 - INFO - taking picture
MAIN: 2025-03-10 21:07:36,705 - INFO - we take 1755 photos in this while loop
MAIN: 2025-03-10 21:07:36,705 - INFO - /home/pi/Desktop/images/10032025/21/07/image_10032025_21_07_36_29588.jpg
MAIN: 2025-03-10 21:07:36,705 - INFO - duration: 0.7025401559949387
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:08: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:08:06,817 - INFO - taking picture
MAIN: 2025-03-10 21:08:06,818 - INFO - we take 1756 photos in this while loop
MAIN: 2025-03-10 21:08:06,818 - INFO - /home/pi/Desktop/images/10032025/21/07/image_10032025_21_08_06_30178.jpg
MAIN: 2025-03-10 21:08:06,818 - INFO - duration: 0.6363364580029156
MAIN: 2025-03-10 21:08:06,818 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:08:36,341 - INFO - taking picture
MAIN: 2025-03-10 21:08:36,341 - INFO - we take 1757 photos in this while loop
MAIN: 2025-03-10 21:08:36,341 - INFO - /home/pi/Desktop/images/10032025/21/08/image_10032025_21_08_35_29464.jpg
MAIN: 2025-03-10 21:08:36,342 - INFO - duration: 0.6959547389997169
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:09:06,000 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:09:06,521 - INFO - taking picture
MAIN: 2025-03-10 21:09:06,522 - INFO - we take 1758 photos in this while loop
MAIN: 2025-03-10 21:09:06,522 - INFO - /home/pi/Desktop/images/10032025/21/08/image_10032025_21_09_06_30170.jpg
MAIN: 2025-03-10 21:09:06,522 - INFO - duration: 0.7055974479953875
MAIN: 2025-03-10 21:09:06,523 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/09'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:09:37,396 - INFO - taking picture
MAIN: 2025-03-10 21:09:37,397 - INFO - we take 1759 photos in this while loop
MAIN: 2025-03-10 21:09:37,397 - INFO - /home/pi/Desktop/images/10032025/21/09/image_10032025_21_09_37_30880.jpg
MAIN: 2025-03-10 21:09:37,397 - INFO - duration: 0.6999808339969604
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:10:06,511 - INFO - taking picture
MAIN: 2025-03-10 21:10:06,511 - INFO - we take 1760 photos in this while loop
MAIN: 2025-03-10 21:10:06,512 - INFO - /home/pi/Desktop/images/10032025/21/09/image_10032025_21_10_06_29072.jpg
MAIN: 2025-03-10 21:10:06,512 - INFO - duration: 0.7427204170016921
MAIN: 2025-03-10 21:10:06,512 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/10'
MAIN: 2025-03-10 21:10:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:10:37,438 - INFO - taking picture
MAIN: 2025-03-10 21:10:37,439 - INFO - we take 1761 photos in this while loop
MAIN: 2025-03-10 21:10:37,439 - INFO - /home/pi/Desktop/images/10032025/21/10/image_10032025_21_10_37_31002.jpg
MAIN: 2025-03-10 21:10:37,439 - INFO - duration: 0.667383592997794
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:11:06,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:11:07,341 - INFO - taking picture
MAIN: 2025-03-10 21:11:07,341 - INFO - we take 1762 photos in this while loop
MAIN: 2025-03-10 21:11:07,342 - INFO - /home/pi/Desktop/images/10032025/21/10/image_10032025_21_11_06_29933.jpg
MAIN: 2025-03-10 21:11:07,342 - INFO - duration: 0.6366081770029268
MAIN: 2025-03-10 21:11:07,342 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:11:37,011 - INFO - taking picture
MAIN: 2025-03-10 21:11:37,012 - INFO - we take 1763 photos in this while loop
MAIN: 2025-03-10 21:11:37,012 - INFO - /home/pi/Desktop/images/10032025/21/11/image_10032025_21_11_36_29622.jpg
MAIN: 2025-03-10 21:11:37,013 - INFO - duration: 0.6845224479984608
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 21:12: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:12:07,204 - INFO - taking picture
MAIN: 2025-03-10 21:12:07,204 - INFO - we take 1764 photos in this while loop
MAIN: 2025-03-10 21:12:07,204 - INFO - /home/pi/Desktop/images/10032025/21/11/image_10032025_21_12_06_30177.jpg
MAIN: 2025-03-10 21:12:07,205 - INFO - duration: 0.6987389060013811
MAIN: 2025-03-10 21:12:07,205 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:12:36,923 - INFO - taking picture
MAIN: 2025-03-10 21:12:36,924 - INFO - we take 1765 photos in this while loop
MAIN: 2025-03-10 21:12:36,924 - INFO - /home/pi/Desktop/images/10032025/21/12/image_10032025_21_12_36_29714.jpg
MAIN: 2025-03-10 21:12:36,924 - INFO - duration: 0.7036160409988952
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 21:13: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:13:06,770 - INFO - taking picture
MAIN: 2025-03-10 21:13:06,771 - INFO - we take 1766 photos in this while loop
MAIN: 2025-03-10 21:13:06,771 - INFO - /home/pi/Desktop/images/10032025/21/12/image_10032025_21_13_06_29908.jpg
MAIN: 2025-03-10 21:13:06,771 - INFO - duration: 0.6424787500000093
MAIN: 2025-03-10 21:13:06,771 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:13:36,526 - INFO - taking picture
MAIN: 2025-03-10 21:13:36,527 - INFO - we take 1767 photos in this while loop
MAIN: 2025-03-10 21:13:36,527 - INFO - /home/pi/Desktop/images/10032025/21/13/image_10032025_21_13_36_29696.jpg
MAIN: 2025-03-10 21:13:36,527 - INFO - duration: 0.7019159900009981
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:14: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-10 21:14:06,891 - INFO - taking picture
MAIN: 2025-03-10 21:14:06,892 - INFO - we take 1768 photos in this while loop
MAIN: 2025-03-10 21:14:06,892 - INFO - /home/pi/Desktop/images/10032025/21/13/image_10032025_21_14_06_30362.jpg
MAIN: 2025-03-10 21:14:06,892 - INFO - duration: 0.7049461979986518
MAIN: 2025-03-10 21:14:06,893 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:14:36,385 - INFO - taking picture
MAIN: 2025-03-10 21:14:36,385 - INFO - we take 1769 photos in this while loop
MAIN: 2025-03-10 21:14:36,386 - INFO - /home/pi/Desktop/images/10032025/21/14/image_10032025_21_14_36_29501.jpg
MAIN: 2025-03-10 21:14:36,386 - INFO - duration: 0.69684734299517
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:15:06,586 - INFO - taking picture
MAIN: 2025-03-10 21:15:06,587 - INFO - we take 1770 photos in this while loop
MAIN: 2025-03-10 21:15:06,587 - INFO - /home/pi/Desktop/images/10032025/21/14/image_10032025_21_15_06_30211.jpg
MAIN: 2025-03-10 21:15:06,588 - INFO - duration: 0.688057655999728
MAIN: 2025-03-10 21:15:06,589 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/15'
MAIN: 2025-03-10 21:15:06,795 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:15:37,351 - INFO - taking picture
MAIN: 2025-03-10 21:15:37,352 - INFO - we take 1771 photos in this while loop
MAIN: 2025-03-10 21:15:37,352 - INFO - /home/pi/Desktop/images/10032025/21/15/image_10032025_21_15_36_30806.jpg
MAIN: 2025-03-10 21:15:37,352 - INFO - duration: 0.6459418230006122
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:16:06,638 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:16:07,373 - INFO - taking picture
MAIN: 2025-03-10 21:16:07,373 - INFO - we take 1772 photos in this while loop
MAIN: 2025-03-10 21:16:07,373 - INFO - /home/pi/Desktop/images/10032025/21/15/image_10032025_21_16_06_30016.jpg
MAIN: 2025-03-10 21:16:07,374 - INFO - duration: 0.6510642700013705
MAIN: 2025-03-10 21:16:07,374 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/16'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:16:37,065 - INFO - taking picture
MAIN: 2025-03-10 21:16:37,065 - INFO - we take 1773 photos in this while loop
MAIN: 2025-03-10 21:16:37,066 - INFO - /home/pi/Desktop/images/10032025/21/16/image_10032025_21_16_36_29688.jpg
MAIN: 2025-03-10 21:16:37,066 - INFO - duration: 0.6547510929958662
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:17:07,180 - INFO - taking picture
MAIN: 2025-03-10 21:17:07,181 - INFO - we take 1774 photos in this while loop
MAIN: 2025-03-10 21:17:07,181 - INFO - /home/pi/Desktop/images/10032025/21/16/image_10032025_21_17_06_30116.jpg
MAIN: 2025-03-10 21:17:07,181 - INFO - duration: 0.6532663539983332
MAIN: 2025-03-10 21:17:07,182 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:17:36,771 - INFO - taking picture
MAIN: 2025-03-10 21:17:36,771 - INFO - we take 1775 photos in this while loop
MAIN: 2025-03-10 21:17:36,772 - INFO - /home/pi/Desktop/images/10032025/21/17/image_10032025_21_17_36_29585.jpg
MAIN: 2025-03-10 21:17:36,772 - INFO - duration: 0.6589054159994703
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:18:06,183 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:18:06,853 - INFO - taking picture
MAIN: 2025-03-10 21:18:06,853 - INFO - we take 1776 photos in this while loop
MAIN: 2025-03-10 21:18:06,853 - INFO - /home/pi/Desktop/images/10032025/21/17/image_10032025_21_18_06_30083.jpg
MAIN: 2025-03-10 21:18:06,854 - INFO - duration: 0.6576092179966508
MAIN: 2025-03-10 21:18:06,854 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/18'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:18:36,502 - INFO - taking picture
MAIN: 2025-03-10 21:18:36,503 - INFO - we take 1777 photos in this while loop
MAIN: 2025-03-10 21:18:36,503 - INFO - /home/pi/Desktop/images/10032025/21/18/image_10032025_21_18_36_29645.jpg
MAIN: 2025-03-10 21:18:36,503 - INFO - duration: 0.6616652080047061
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:19: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:19:06,528 - INFO - taking picture
MAIN: 2025-03-10 21:19:06,528 - INFO - we take 1778 photos in this while loop
MAIN: 2025-03-10 21:19:06,528 - INFO - /home/pi/Desktop/images/10032025/21/18/image_10032025_21_19_06_30012.jpg
MAIN: 2025-03-10 21:19:06,529 - INFO - duration: 0.6742430199956289
MAIN: 2025-03-10 21:19:06,529 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:19:37,376 - INFO - taking picture
MAIN: 2025-03-10 21:19:37,376 - INFO - we take 1779 photos in this while loop
MAIN: 2025-03-10 21:19:37,376 - INFO - /home/pi/Desktop/images/10032025/21/19/image_10032025_21_19_36_30854.jpg
MAIN: 2025-03-10 21:19:37,377 - INFO - duration: 0.6676920829995652
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:20:07,251 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 21:20:07,411 - INFO - taking picture
MAIN: 2025-03-10 21:20:07,412 - INFO - we take 1780 photos in this while loop
MAIN: 2025-03-10 21:20:07,412 - INFO - /home/pi/Desktop/images/10032025/21/19/image_10032025_21_20_06_30012.jpg
MAIN: 2025-03-10 21:20:07,413 - INFO - duration: 0.690783541998826
MAIN: 2025-03-10 21:20:07,413 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:20:37,164 - INFO - taking picture
MAIN: 2025-03-10 21:20:37,164 - INFO - we take 1781 photos in this while loop
MAIN: 2025-03-10 21:20:37,165 - INFO - /home/pi/Desktop/images/10032025/21/20/image_10032025_21_20_36_29766.jpg
MAIN: 2025-03-10 21:20:37,165 - INFO - duration: 0.676939113996923
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:21: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:21:07,182 - INFO - taking picture
MAIN: 2025-03-10 21:21:07,182 - INFO - we take 1782 photos in this while loop
MAIN: 2025-03-10 21:21:07,183 - INFO - /home/pi/Desktop/images/10032025/21/20/image_10032025_21_21_06_30060.jpg
MAIN: 2025-03-10 21:21:07,183 - INFO - duration: 0.634867499997199
MAIN: 2025-03-10 21:21:07,183 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:21:36,872 - INFO - taking picture
MAIN: 2025-03-10 21:21:36,872 - INFO - we take 1783 photos in this while loop
MAIN: 2025-03-10 21:21:36,873 - INFO - /home/pi/Desktop/images/10032025/21/21/image_10032025_21_21_36_29640.jpg
MAIN: 2025-03-10 21:21:36,873 - INFO - duration: 0.6843540109985042
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:22: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:22:06,910 - INFO - taking picture
MAIN: 2025-03-10 21:22:06,911 - INFO - we take 1784 photos in this while loop
MAIN: 2025-03-10 21:22:06,911 - INFO - /home/pi/Desktop/images/10032025/21/21/image_10032025_21_22_06_30082.jpg
MAIN: 2025-03-10 21:22:06,911 - INFO - duration: 0.6409149989995058
MAIN: 2025-03-10 21:22:06,912 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:22:36,586 - INFO - taking picture
MAIN: 2025-03-10 21:22:36,587 - INFO - we take 1785 photos in this while loop
MAIN: 2025-03-10 21:22:36,587 - INFO - /home/pi/Desktop/images/10032025/21/22/image_10032025_21_22_36_29645.jpg
MAIN: 2025-03-10 21:22:36,587 - INFO - duration: 0.6708735939973849
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:23:05,931 - INFO - cam.read() return no image
Will output and 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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:23:06,611 - INFO - taking picture
MAIN: 2025-03-10 21:23:06,611 - INFO - we take 1786 photos in this while loop
MAIN: 2025-03-10 21:23:06,611 - INFO - /home/pi/Desktop/images/10032025/21/22/image_10032025_21_23_06_30002.jpg
MAIN: 2025-03-10 21:23:06,612 - INFO - duration: 0.692716092999035
MAIN: 2025-03-10 21:23:06,612 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:23:36,277 - INFO - taking picture
MAIN: 2025-03-10 21:23:36,278 - INFO - we take 1787 photos in this while loop
MAIN: 2025-03-10 21:23:36,278 - INFO - /home/pi/Desktop/images/10032025/21/23/image_10032025_21_23_35_29655.jpg
MAIN: 2025-03-10 21:23:36,278 - INFO - duration: 0.7032812500037835
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:24:06,353 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 21:24:06,369 - INFO - taking picture
MAIN: 2025-03-10 21:24:06,369 - INFO - we take 1788 photos in this while loop
MAIN: 2025-03-10 21:24:06,370 - INFO - /home/pi/Desktop/images/10032025/21/23/image_10032025_21_24_05_30131.jpg
MAIN: 2025-03-10 21:24:06,370 - INFO - duration: 0.6638013019983191
MAIN: 2025-03-10 21:24:06,370 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/24'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:24:37,273 - INFO - taking picture
MAIN: 2025-03-10 21:24:37,273 - INFO - we take 1789 photos in this while loop
MAIN: 2025-03-10 21:24:37,274 - INFO - /home/pi/Desktop/images/10032025/21/24/image_10032025_21_24_36_30882.jpg
MAIN: 2025-03-10 21:24:37,274 - INFO - duration: 0.6849088529997971
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:25:06,796 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:25:07,462 - INFO - taking picture
MAIN: 2025-03-10 21:25:07,464 - INFO - we take 1790 photos in this while loop
MAIN: 2025-03-10 21:25:07,464 - INFO - /home/pi/Desktop/images/10032025/21/24/image_10032025_21_25_07_30152.jpg
MAIN: 2025-03-10 21:25:07,465 - INFO - duration: 0.723960259994783
MAIN: 2025-03-10 21:25:07,466 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:25:37,080 - INFO - taking picture
MAIN: 2025-03-10 21:25:37,081 - INFO - we take 1791 photos in this while loop
MAIN: 2025-03-10 21:25:37,081 - INFO - /home/pi/Desktop/images/10032025/21/25/image_10032025_21_25_36_29636.jpg
MAIN: 2025-03-10 21:25:37,081 - INFO - duration: 0.7039413539969246
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:26:06,662 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:26:07,122 - INFO - taking picture
MAIN: 2025-03-10 21:26:07,123 - INFO - we take 1792 photos in this while loop
MAIN: 2025-03-10 21:26:07,123 - INFO - /home/pi/Desktop/images/10032025/21/25/image_10032025_21_26_06_30086.jpg
MAIN: 2025-03-10 21:26:07,123 - INFO - duration: 0.6598786980030127
MAIN: 2025-03-10 21:26:07,123 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/26'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:26:36,754 - INFO - taking picture
MAIN: 2025-03-10 21:26:36,754 - INFO - we take 1793 photos in this while loop
MAIN: 2025-03-10 21:26:36,754 - INFO - /home/pi/Desktop/images/10032025/21/26/image_10032025_21_26_36_29647.jpg
MAIN: 2025-03-10 21:26:36,755 - INFO - duration: 0.6441016669996316
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:27:06,429 - INFO - cam.read() 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-10 21:27:06,789 - INFO - taking picture
MAIN: 2025-03-10 21:27:06,790 - INFO - we take 1794 photos in this while loop
MAIN: 2025-03-10 21:27:06,790 - INFO - /home/pi/Desktop/images/10032025/21/26/image_10032025_21_27_06_29991.jpg
MAIN: 2025-03-10 21:27:06,790 - INFO - duration: 0.6879888540061074
MAIN: 2025-03-10 21:27:06,791 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/27'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:27:36,383 - INFO - taking picture
MAIN: 2025-03-10 21:27:36,383 - INFO - we take 1795 photos in this while loop
MAIN: 2025-03-10 21:27:36,384 - INFO - /home/pi/Desktop/images/10032025/21/27/image_10032025_21_27_36_29607.jpg
MAIN: 2025-03-10 21:27:36,384 - INFO - duration: 0.673873644998821
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:28: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:28:06,487 - INFO - taking picture
MAIN: 2025-03-10 21:28:06,487 - INFO - we take 1796 photos in this while loop
MAIN: 2025-03-10 21:28:06,487 - INFO - /home/pi/Desktop/images/10032025/21/27/image_10032025_21_28_06_30090.jpg
MAIN: 2025-03-10 21:28:06,488 - INFO - duration: 0.686741040997731
MAIN: 2025-03-10 21:28:06,488 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:28:37,193 - INFO - taking picture
MAIN: 2025-03-10 21:28:37,194 - INFO - we take 1797 photos in this while loop
MAIN: 2025-03-10 21:28:37,194 - INFO - /home/pi/Desktop/images/10032025/21/28/image_10032025_21_28_36_30699.jpg
MAIN: 2025-03-10 21:28:37,194 - INFO - duration: 0.6940080210042652
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 21:29:05,753 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:29:07,049 - INFO - taking picture
MAIN: 2025-03-10 21:29:07,050 - INFO - we take 1798 photos in this while loop
MAIN: 2025-03-10 21:29:07,050 - INFO - /home/pi/Desktop/images/10032025/21/28/image_10032025_21_29_06_29905.jpg
MAIN: 2025-03-10 21:29:07,050 - INFO - duration: 0.6444304169999668
MAIN: 2025-03-10 21:29:07,051 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:29:36,558 - INFO - taking picture
MAIN: 2025-03-10 21:29:36,559 - INFO - we take 1799 photos in this while loop
MAIN: 2025-03-10 21:29:36,559 - INFO - /home/pi/Desktop/images/10032025/21/29/image_10032025_21_29_36_29507.jpg
MAIN: 2025-03-10 21:29:36,559 - INFO - duration: 0.6464516659980291
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:30: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-10 21:30:06,859 - INFO - taking picture
MAIN: 2025-03-10 21:30:06,860 - INFO - we take 1800 photos in this while loop
MAIN: 2025-03-10 21:30:06,860 - INFO - /home/pi/Desktop/images/10032025/21/29/image_10032025_21_30_06_30231.jpg
MAIN: 2025-03-10 21:30:06,860 - INFO - duration: 0.7158246870021685
MAIN: 2025-03-10 21:30:06,861 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:30:36,390 - INFO - taking picture
MAIN: 2025-03-10 21:30:36,390 - INFO - we take 1801 photos in this while loop
MAIN: 2025-03-10 21:30:36,390 - INFO - /home/pi/Desktop/images/10032025/21/30/image_10032025_21_30_36_29542.jpg
MAIN: 2025-03-10 21:30:36,391 - INFO - duration: 0.7033087489980971
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:31: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 ! 
MAIN: 2025-03-10 21:31:06,451 - INFO - taking picture
MAIN: 2025-03-10 21:31:06,451 - INFO - we take 1802 photos in this while loop
MAIN: 2025-03-10 21:31:06,451 - INFO - /home/pi/Desktop/images/10032025/21/30/image_10032025_21_31_06_30066.jpg
MAIN: 2025-03-10 21:31:06,451 - INFO - duration: 0.6973586969979806
MAIN: 2025-03-10 21:31:06,452 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/31'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:31:37,323 - INFO - taking picture
MAIN: 2025-03-10 21:31:37,324 - INFO - we take 1803 photos in this while loop
MAIN: 2025-03-10 21:31:37,324 - INFO - /home/pi/Desktop/images/10032025/21/31/image_10032025_21_31_36_30870.jpg
MAIN: 2025-03-10 21:31:37,324 - INFO - duration: 0.6992795830010436
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:32: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:32:07,338 - INFO - taking picture
MAIN: 2025-03-10 21:32:07,339 - INFO - we take 1804 photos in this while loop
MAIN: 2025-03-10 21:32:07,339 - INFO - /home/pi/Desktop/images/10032025/21/31/image_10032025_21_32_06_30060.jpg
MAIN: 2025-03-10 21:32:07,339 - INFO - duration: 0.6533816139999544
MAIN: 2025-03-10 21:32:07,339 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:32:36,923 - INFO - taking picture
MAIN: 2025-03-10 21:32:36,924 - INFO - we take 1805 photos in this while loop
MAIN: 2025-03-10 21:32:36,924 - INFO - /home/pi/Desktop/images/10032025/21/32/image_10032025_21_32_36_29543.jpg
MAIN: 2025-03-10 21:32:36,924 - INFO - duration: 0.6951078639976913
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:33: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 ! 
MAIN: 2025-03-10 21:33:06,881 - INFO - taking picture
MAIN: 2025-03-10 21:33:06,882 - INFO - we take 1806 photos in this while loop
MAIN: 2025-03-10 21:33:06,882 - INFO - /home/pi/Desktop/images/10032025/21/32/image_10032025_21_33_06_29956.jpg
MAIN: 2025-03-10 21:33:06,882 - INFO - duration: 0.6964751560008153
MAIN: 2025-03-10 21:33:06,883 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/33'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:33:36,437 - INFO - taking picture
MAIN: 2025-03-10 21:33:36,438 - INFO - we take 1807 photos in this while loop
MAIN: 2025-03-10 21:33:36,438 - INFO - /home/pi/Desktop/images/10032025/21/33/image_10032025_21_33_36_29575.jpg
MAIN: 2025-03-10 21:33:36,438 - INFO - duration: 0.6768863019970013
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:34:05,995 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:34:06,442 - INFO - taking picture
MAIN: 2025-03-10 21:34:06,443 - INFO - we take 1808 photos in this while loop
MAIN: 2025-03-10 21:34:06,443 - INFO - /home/pi/Desktop/images/10032025/21/33/image_10032025_21_34_06_29975.jpg
MAIN: 2025-03-10 21:34:06,444 - INFO - duration: 0.706158906003111
MAIN: 2025-03-10 21:34:06,444 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:34:37,300 - INFO - taking picture
MAIN: 2025-03-10 21:34:37,301 - INFO - we take 1809 photos in this while loop
MAIN: 2025-03-10 21:34:37,301 - INFO - /home/pi/Desktop/images/10032025/21/34/image_10032025_21_34_36_30870.jpg
MAIN: 2025-03-10 21:34:37,301 - INFO - duration: 0.6934414580027806
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:35:06,250 - INFO - taking picture
MAIN: 2025-03-10 21:35:06,250 - INFO - we take 1810 photos in this while loop
MAIN: 2025-03-10 21:35:06,250 - INFO - /home/pi/Desktop/images/10032025/21/34/image_10032025_21_35_05_28968.jpg
MAIN: 2025-03-10 21:35:06,251 - INFO - duration: 0.6743348439995316
MAIN: 2025-03-10 21:35:06,251 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/35'
MAIN: 2025-03-10 21:35:06,537 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:35:36,967 - INFO - taking picture
MAIN: 2025-03-10 21:35:36,967 - INFO - we take 1811 photos in this while loop
MAIN: 2025-03-10 21:35:36,968 - INFO - /home/pi/Desktop/images/10032025/21/35/image_10032025_21_35_36_30721.jpg
MAIN: 2025-03-10 21:35:36,968 - INFO - duration: 0.6699065619977773
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:36: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:36:06,957 - INFO - taking picture
MAIN: 2025-03-10 21:36:06,957 - INFO - we take 1812 photos in this while loop
MAIN: 2025-03-10 21:36:06,958 - INFO - /home/pi/Desktop/images/10032025/21/35/image_10032025_21_36_06_29953.jpg
MAIN: 2025-03-10 21:36:06,958 - INFO - duration: 0.7070149480059627
MAIN: 2025-03-10 21:36:06,958 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:36:36,469 - INFO - taking picture
MAIN: 2025-03-10 21:36:36,469 - INFO - we take 1813 photos in this while loop
MAIN: 2025-03-10 21:36:36,470 - INFO - /home/pi/Desktop/images/10032025/21/36/image_10032025_21_36_36_29529.jpg
MAIN: 2025-03-10 21:36:36,470 - INFO - duration: 0.6892912500043167
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:37: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-10 21:37:06,419 - INFO - taking picture
MAIN: 2025-03-10 21:37:06,420 - INFO - we take 1814 photos in this while loop
MAIN: 2025-03-10 21:37:06,420 - INFO - /home/pi/Desktop/images/10032025/21/36/image_10032025_21_37_06_29930.jpg
MAIN: 2025-03-10 21:37:06,420 - INFO - duration: 0.7096059899995453
MAIN: 2025-03-10 21:37:06,421 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:37:37,247 - INFO - taking picture
MAIN: 2025-03-10 21:37:37,248 - INFO - we take 1815 photos in this while loop
MAIN: 2025-03-10 21:37:37,248 - INFO - /home/pi/Desktop/images/10032025/21/37/image_10032025_21_37_36_30850.jpg
MAIN: 2025-03-10 21:37:37,248 - INFO - duration: 0.687307291002071
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:38: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:38:07,124 - INFO - taking picture
MAIN: 2025-03-10 21:38:07,125 - INFO - we take 1816 photos in this while loop
MAIN: 2025-03-10 21:38:07,125 - INFO - /home/pi/Desktop/images/10032025/21/37/image_10032025_21_38_06_29923.jpg
MAIN: 2025-03-10 21:38:07,125 - INFO - duration: 0.6408377080006176
MAIN: 2025-03-10 21:38:07,125 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:38:36,797 - INFO - taking picture
MAIN: 2025-03-10 21:38:36,797 - INFO - we take 1817 photos in this while loop
MAIN: 2025-03-10 21:38:36,798 - INFO - /home/pi/Desktop/images/10032025/21/38/image_10032025_21_38_36_29633.jpg
MAIN: 2025-03-10 21:38:36,798 - INFO - duration: 0.6803957809970598
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:39:05,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:39:06,637 - INFO - taking picture
MAIN: 2025-03-10 21:39:06,638 - INFO - we take 1818 photos in this while loop
MAIN: 2025-03-10 21:39:06,638 - INFO - /home/pi/Desktop/images/10032025/21/38/image_10032025_21_39_06_29878.jpg
MAIN: 2025-03-10 21:39:06,638 - INFO - duration: 0.6427318749992992
MAIN: 2025-03-10 21:39:06,639 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:39:36,279 - INFO - taking picture
MAIN: 2025-03-10 21:39:36,280 - INFO - we take 1819 photos in this while loop
MAIN: 2025-03-10 21:39:36,280 - INFO - /home/pi/Desktop/images/10032025/21/39/image_10032025_21_39_35_29582.jpg
MAIN: 2025-03-10 21:39:36,280 - INFO - duration: 0.7018913020001492
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:40: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 ! 
MAIN: 2025-03-10 21:40:06,622 - INFO - taking picture
MAIN: 2025-03-10 21:40:06,622 - INFO - we take 1820 photos in this while loop
MAIN: 2025-03-10 21:40:06,623 - INFO - /home/pi/Desktop/images/10032025/21/39/image_10032025_21_40_06_30354.jpg
MAIN: 2025-03-10 21:40:06,623 - INFO - duration: 0.6901321870027459
MAIN: 2025-03-10 21:40:06,623 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/40'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:40:37,365 - INFO - taking picture
MAIN: 2025-03-10 21:40:37,365 - INFO - we take 1821 photos in this while loop
MAIN: 2025-03-10 21:40:37,366 - INFO - /home/pi/Desktop/images/10032025/21/40/image_10032025_21_40_36_30732.jpg
MAIN: 2025-03-10 21:40:37,366 - INFO - duration: 0.7010411969968118
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:41: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:41:07,311 - INFO - taking picture
MAIN: 2025-03-10 21:41:07,312 - INFO - we take 1822 photos in this while loop
MAIN: 2025-03-10 21:41:07,312 - INFO - /home/pi/Desktop/images/10032025/21/40/image_10032025_21_41_06_29937.jpg
MAIN: 2025-03-10 21:41:07,312 - INFO - duration: 0.7102726040029665
MAIN: 2025-03-10 21:41:07,313 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:41:36,897 - INFO - taking picture
MAIN: 2025-03-10 21:41:36,898 - INFO - we take 1823 photos in this while loop
MAIN: 2025-03-10 21:41:36,898 - INFO - /home/pi/Desktop/images/10032025/21/41/image_10032025_21_41_36_29605.jpg
MAIN: 2025-03-10 21:41:36,898 - INFO - duration: 0.690396874997532
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:42:06,830 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 21:42:06,910 - INFO - taking picture
MAIN: 2025-03-10 21:42:06,911 - INFO - we take 1824 photos in this while loop
MAIN: 2025-03-10 21:42:06,911 - INFO - /home/pi/Desktop/images/10032025/21/41/image_10032025_21_42_06_30007.jpg
MAIN: 2025-03-10 21:42:06,911 - INFO - duration: 0.6962754689957364
MAIN: 2025-03-10 21:42:06,912 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/42'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:42:36,428 - INFO - taking picture
MAIN: 2025-03-10 21:42:36,428 - INFO - we take 1825 photos in this while loop
MAIN: 2025-03-10 21:42:36,429 - INFO - /home/pi/Desktop/images/10032025/21/42/image_10032025_21_42_36_29525.jpg
MAIN: 2025-03-10 21:42:36,429 - INFO - duration: 0.6882493220036849
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:43:06,478 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 21:43:06,670 - INFO - taking picture
MAIN: 2025-03-10 21:43:06,671 - INFO - we take 1826 photos in this while loop
MAIN: 2025-03-10 21:43:06,671 - INFO - /home/pi/Desktop/images/10032025/21/42/image_10032025_21_43_06_30224.jpg
MAIN: 2025-03-10 21:43:06,671 - INFO - duration: 0.7061403639963828
MAIN: 2025-03-10 21:43:06,672 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:43:36,317 - INFO - taking picture
MAIN: 2025-03-10 21:43:36,317 - INFO - we take 1827 photos in this while loop
MAIN: 2025-03-10 21:43:36,318 - INFO - /home/pi/Desktop/images/10032025/21/43/image_10032025_21_43_35_29658.jpg
MAIN: 2025-03-10 21:43:36,318 - INFO - duration: 0.6944981769993319
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:44:06,433 - INFO - taking picture
MAIN: 2025-03-10 21:44:06,433 - INFO - we take 1828 photos in this while loop
MAIN: 2025-03-10 21:44:06,434 - INFO - /home/pi/Desktop/images/10032025/21/43/image_10032025_21_44_06_30169.jpg
MAIN: 2025-03-10 21:44:06,434 - INFO - duration: 0.6413113540038466
MAIN: 2025-03-10 21:44:06,434 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/44'
MAIN: 2025-03-10 21:44:07,140 - INFO - cam.read() return no image
Will output and 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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:44:37,255 - INFO - taking picture
MAIN: 2025-03-10 21:44:37,256 - INFO - we take 1829 photos in this while loop
MAIN: 2025-03-10 21:44:37,256 - INFO - /home/pi/Desktop/images/10032025/21/44/image_10032025_21_44_36_30796.jpg
MAIN: 2025-03-10 21:44:37,256 - INFO - duration: 0.6674317189972498
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:45:07,289 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 21:45:07,449 - INFO - taking picture
MAIN: 2025-03-10 21:45:07,450 - INFO - we take 1830 photos in this while loop
MAIN: 2025-03-10 21:45:07,450 - INFO - /home/pi/Desktop/images/10032025/21/44/image_10032025_21_45_07_30166.jpg
MAIN: 2025-03-10 21:45:07,451 - INFO - duration: 0.6953167180035962
MAIN: 2025-03-10 21:45:07,451 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:45:37,018 - INFO - taking picture
MAIN: 2025-03-10 21:45:37,019 - INFO - we take 1831 photos in this while loop
MAIN: 2025-03-10 21:45:37,019 - INFO - /home/pi/Desktop/images/10032025/21/45/image_10032025_21_45_36_29572.jpg
MAIN: 2025-03-10 21:45:37,019 - INFO - duration: 0.6911313020027592
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:46:06,481 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:46:07,098 - INFO - taking picture
MAIN: 2025-03-10 21:46:07,099 - INFO - we take 1832 photos in this while loop
MAIN: 2025-03-10 21:46:07,099 - INFO - /home/pi/Desktop/images/10032025/21/45/image_10032025_21_46_06_30070.jpg
MAIN: 2025-03-10 21:46:07,099 - INFO - duration: 0.699936354001693
MAIN: 2025-03-10 21:46:07,099 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/46'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:46:36,727 - INFO - taking picture
MAIN: 2025-03-10 21:46:36,727 - INFO - we take 1833 photos in this while loop
MAIN: 2025-03-10 21:46:36,727 - INFO - /home/pi/Desktop/images/10032025/21/46/image_10032025_21_46_36_29647.jpg
MAIN: 2025-03-10 21:46:36,728 - INFO - duration: 0.6809251559971017
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:47:06,887 - INFO - taking picture
MAIN: 2025-03-10 21:47:06,888 - INFO - we take 1834 photos in this while loop
MAIN: 2025-03-10 21:47:06,888 - INFO - /home/pi/Desktop/images/10032025/21/46/image_10032025_21_47_06_30191.jpg
MAIN: 2025-03-10 21:47:06,888 - INFO - duration: 0.6498414580055396
MAIN: 2025-03-10 21:47:06,889 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:47:36,454 - INFO - taking picture
MAIN: 2025-03-10 21:47:36,454 - INFO - we take 1835 photos in this while loop
MAIN: 2025-03-10 21:47:36,455 - INFO - /home/pi/Desktop/images/10032025/21/47/image_10032025_21_47_36_29522.jpg
MAIN: 2025-03-10 21:47:36,455 - INFO - duration: 0.6937530199938919
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:48: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-10 21:48:06,711 - INFO - taking picture
MAIN: 2025-03-10 21:48:06,712 - INFO - we take 1836 photos in this while loop
MAIN: 2025-03-10 21:48:06,712 - INFO - /home/pi/Desktop/images/10032025/21/47/image_10032025_21_48_06_30247.jpg
MAIN: 2025-03-10 21:48:06,712 - INFO - duration: 0.7039050520033925
MAIN: 2025-03-10 21:48:06,712 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/48'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:48:37,517 - INFO - taking picture
MAIN: 2025-03-10 21:48:37,517 - INFO - we take 1837 photos in this while loop
MAIN: 2025-03-10 21:48:37,518 - INFO - /home/pi/Desktop/images/10032025/21/48/image_10032025_21_48_37_30807.jpg
MAIN: 2025-03-10 21:48:37,518 - INFO - duration: 0.7018763020023471
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:49: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:49:07,356 - INFO - taking picture
MAIN: 2025-03-10 21:49:07,357 - INFO - we take 1838 photos in this while loop
MAIN: 2025-03-10 21:49:07,357 - INFO - /home/pi/Desktop/images/10032025/21/48/image_10032025_21_49_06_29906.jpg
MAIN: 2025-03-10 21:49:07,357 - INFO - duration: 0.634280571997806
MAIN: 2025-03-10 21:49:07,357 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/49'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:49:36,945 - INFO - taking picture
MAIN: 2025-03-10 21:49:36,946 - INFO - we take 1839 photos in this while loop
MAIN: 2025-03-10 21:49:36,946 - INFO - /home/pi/Desktop/images/10032025/21/49/image_10032025_21_49_36_29534.jpg
MAIN: 2025-03-10 21:49:36,946 - INFO - duration: 0.6889593230007449
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:50:07,413 - INFO - taking picture
MAIN: 2025-03-10 21:50:07,413 - INFO - we take 1840 photos in this while loop
MAIN: 2025-03-10 21:50:07,414 - INFO - /home/pi/Desktop/images/10032025/21/49/image_10032025_21_50_07_30477.jpg
MAIN: 2025-03-10 21:50:07,414 - INFO - duration: 0.6795494269972551
MAIN: 2025-03-10 21:50:07,414 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/50'
MAIN: 2025-03-10 21:50:07,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:50:36,949 - INFO - taking picture
MAIN: 2025-03-10 21:50:36,950 - INFO - we take 1841 photos in this while loop
MAIN: 2025-03-10 21:50:36,950 - INFO - /home/pi/Desktop/images/10032025/21/50/image_10032025_21_50_36_29517.jpg
MAIN: 2025-03-10 21:50:36,950 - INFO - duration: 0.6982128640011069
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:51: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 ! 
MAIN: 2025-03-10 21:51:06,949 - INFO - taking picture
MAIN: 2025-03-10 21:51:06,949 - INFO - we take 1842 photos in this while loop
MAIN: 2025-03-10 21:51:06,949 - INFO - /home/pi/Desktop/images/10032025/21/50/image_10032025_21_51_06_30019.jpg
MAIN: 2025-03-10 21:51:06,950 - INFO - duration: 0.6778921869990882
MAIN: 2025-03-10 21:51:06,950 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:51:36,561 - INFO - taking picture
MAIN: 2025-03-10 21:51:36,562 - INFO - we take 1843 photos in this while loop
MAIN: 2025-03-10 21:51:36,562 - INFO - /home/pi/Desktop/images/10032025/21/51/image_10032025_21_51_36_29600.jpg
MAIN: 2025-03-10 21:51:36,562 - INFO - duration: 0.6899642709977343
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:52: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:52:06,643 - INFO - taking picture
MAIN: 2025-03-10 21:52:06,643 - INFO - we take 1844 photos in this while loop
MAIN: 2025-03-10 21:52:06,643 - INFO - /home/pi/Desktop/images/10032025/21/51/image_10032025_21_52_06_30086.jpg
MAIN: 2025-03-10 21:52:06,643 - INFO - duration: 0.6849726039945381
MAIN: 2025-03-10 21:52:06,644 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:52:37,387 - INFO - taking picture
MAIN: 2025-03-10 21:52:37,387 - INFO - we take 1845 photos in this while loop
MAIN: 2025-03-10 21:52:37,388 - INFO - /home/pi/Desktop/images/10032025/21/52/image_10032025_21_52_37_30750.jpg
MAIN: 2025-03-10 21:52:37,388 - INFO - duration: 0.6785036970031797
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 21:53:05,867 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:53:07,227 - INFO - taking picture
MAIN: 2025-03-10 21:53:07,228 - INFO - we take 1846 photos in this while loop
MAIN: 2025-03-10 21:53:07,228 - INFO - /home/pi/Desktop/images/10032025/21/52/image_10032025_21_53_06_29850.jpg
MAIN: 2025-03-10 21:53:07,228 - INFO - duration: 0.6685187500042957
MAIN: 2025-03-10 21:53:07,229 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/53'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:53:36,766 - INFO - taking picture
MAIN: 2025-03-10 21:53:36,767 - INFO - we take 1847 photos in this while loop
MAIN: 2025-03-10 21:53:36,767 - INFO - /home/pi/Desktop/images/10032025/21/53/image_10032025_21_53_36_29523.jpg
MAIN: 2025-03-10 21:53:36,767 - INFO - duration: 0.6840203640022082
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:54:06,640 - INFO - cam.read() 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-10 21:54:06,858 - INFO - taking picture
MAIN: 2025-03-10 21:54:06,858 - INFO - we take 1848 photos in this while loop
MAIN: 2025-03-10 21:54:06,858 - INFO - /home/pi/Desktop/images/10032025/21/53/image_10032025_21_54_06_30095.jpg
MAIN: 2025-03-10 21:54:06,859 - INFO - duration: 0.6793808329966851
MAIN: 2025-03-10 21:54:06,859 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/54'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:54:36,542 - INFO - taking picture
MAIN: 2025-03-10 21:54:36,542 - INFO - we take 1849 photos in this while loop
MAIN: 2025-03-10 21:54:36,542 - INFO - /home/pi/Desktop/images/10032025/21/54/image_10032025_21_54_36_29686.jpg
MAIN: 2025-03-10 21:54:36,543 - INFO - duration: 0.6765374480019091
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:55:06,665 - INFO - cam.read() 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-10 21:55:06,939 - INFO - taking picture
MAIN: 2025-03-10 21:55:06,940 - INFO - we take 1850 photos in this while loop
MAIN: 2025-03-10 21:55:06,940 - INFO - /home/pi/Desktop/images/10032025/21/54/image_10032025_21_55_06_30396.jpg
MAIN: 2025-03-10 21:55:06,940 - INFO - duration: 0.6774452079989715
MAIN: 2025-03-10 21:55:06,941 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:55:36,573 - INFO - taking picture
MAIN: 2025-03-10 21:55:36,574 - INFO - we take 1851 photos in this while loop
MAIN: 2025-03-10 21:55:36,574 - INFO - /home/pi/Desktop/images/10032025/21/55/image_10032025_21_55_36_29604.jpg
MAIN: 2025-03-10 21:55:36,574 - INFO - duration: 0.7065994790027617
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:56:06,564 - INFO - taking picture
MAIN: 2025-03-10 21:56:06,564 - INFO - we take 1852 photos in this while loop
MAIN: 2025-03-10 21:56:06,565 - INFO - /home/pi/Desktop/images/10032025/21/55/image_10032025_21_56_06_30062.jpg
MAIN: 2025-03-10 21:56:06,565 - INFO - duration: 0.6350901039986638
MAIN: 2025-03-10 21:56:06,565 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/56'
MAIN: 2025-03-10 21:56:06,995 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:56:37,400 - INFO - taking picture
MAIN: 2025-03-10 21:56:37,400 - INFO - we take 1853 photos in this while loop
MAIN: 2025-03-10 21:56:37,400 - INFO - /home/pi/Desktop/images/10032025/21/56/image_10032025_21_56_37_30768.jpg
MAIN: 2025-03-10 21:56:37,401 - INFO - duration: 0.701932655996643
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:57: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:57:07,453 - INFO - taking picture
MAIN: 2025-03-10 21:57:07,454 - INFO - we take 1854 photos in this while loop
MAIN: 2025-03-10 21:57:07,454 - INFO - /home/pi/Desktop/images/10032025/21/56/image_10032025_21_57_07_30059.jpg
MAIN: 2025-03-10 21:57:07,454 - INFO - duration: 0.6961152599978959
MAIN: 2025-03-10 21:57:07,455 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:57:37,016 - INFO - taking picture
MAIN: 2025-03-10 21:57:37,017 - INFO - we take 1855 photos in this while loop
MAIN: 2025-03-10 21:57:37,017 - INFO - /home/pi/Desktop/images/10032025/21/57/image_10032025_21_57_36_29589.jpg
MAIN: 2025-03-10 21:57:37,017 - INFO - duration: 0.6693640619996586
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 21:58: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:58:07,046 - INFO - taking picture
MAIN: 2025-03-10 21:58:07,046 - INFO - we take 1856 photos in this while loop
MAIN: 2025-03-10 21:58:07,046 - INFO - /home/pi/Desktop/images/10032025/21/57/image_10032025_21_58_06_30001.jpg
MAIN: 2025-03-10 21:58:07,047 - INFO - duration: 0.6975260929975775
MAIN: 2025-03-10 21:58:07,047 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:58:36,655 - INFO - taking picture
MAIN: 2025-03-10 21:58:36,655 - INFO - we take 1857 photos in this while loop
MAIN: 2025-03-10 21:58:36,655 - INFO - /home/pi/Desktop/images/10032025/21/58/image_10032025_21_58_36_29611.jpg
MAIN: 2025-03-10 21:58:36,655 - INFO - duration: 0.6951889580013813
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:59:06,332 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 21:59:06,593 - INFO - taking picture
MAIN: 2025-03-10 21:59:06,593 - INFO - we take 1858 photos in this while loop
MAIN: 2025-03-10 21:59:06,593 - INFO - /home/pi/Desktop/images/10032025/21/58/image_10032025_21_59_06_29938.jpg
MAIN: 2025-03-10 21:59:06,594 - INFO - duration: 0.69476057299471
MAIN: 2025-03-10 21:59:06,594 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/21/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 21:59:36,221 - INFO - taking picture
MAIN: 2025-03-10 21:59:36,221 - INFO - we take 1859 photos in this while loop
MAIN: 2025-03-10 21:59:36,222 - INFO - /home/pi/Desktop/images/10032025/21/59/image_10032025_21_59_35_29667.jpg
MAIN: 2025-03-10 21:59:36,222 - INFO - duration: 0.6549775000021327
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:00:06,694 - INFO - taking picture
MAIN: 2025-03-10 22:00:06,695 - INFO - we take 1860 photos in this while loop
MAIN: 2025-03-10 22:00:06,695 - INFO - /home/pi/Desktop/images/10032025/21/59/image_10032025_22_00_06_30431.jpg
MAIN: 2025-03-10 22:00:06,695 - INFO - duration: 0.6970361970015801
MAIN: 2025-03-10 22:00:06,696 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/00'
MAIN: 2025-03-10 22:00: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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:00:37,428 - INFO - taking picture
MAIN: 2025-03-10 22:00:37,428 - INFO - we take 1861 photos in this while loop
MAIN: 2025-03-10 22:00:37,429 - INFO - /home/pi/Desktop/images/10032025/22/00/image_10032025_22_00_37_30739.jpg
MAIN: 2025-03-10 22:00:37,429 - INFO - duration: 0.6914513020019513
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:01:06,160 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:01:07,272 - INFO - taking picture
MAIN: 2025-03-10 22:01:07,273 - INFO - we take 1862 photos in this while loop
MAIN: 2025-03-10 22:01:07,273 - INFO - /home/pi/Desktop/images/10032025/22/00/image_10032025_22_01_06_29893.jpg
MAIN: 2025-03-10 22:01:07,273 - INFO - duration: 0.6425076039959094
MAIN: 2025-03-10 22:01:07,273 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:01:36,979 - INFO - taking picture
MAIN: 2025-03-10 22:01:36,979 - INFO - we take 1863 photos in this while loop
MAIN: 2025-03-10 22:01:36,979 - INFO - /home/pi/Desktop/images/10032025/22/01/image_10032025_22_01_36_29652.jpg
MAIN: 2025-03-10 22:01:36,980 - INFO - duration: 0.6965368230012245
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:02:07,052 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 22:02:07,116 - INFO - taking picture
MAIN: 2025-03-10 22:02:07,117 - INFO - we take 1864 photos in this while loop
MAIN: 2025-03-10 22:02:07,117 - INFO - /home/pi/Desktop/images/10032025/22/01/image_10032025_22_02_06_30150.jpg
MAIN: 2025-03-10 22:02:07,117 - INFO - duration: 0.6833821870022803
MAIN: 2025-03-10 22:02:07,118 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:02:36,615 - INFO - taking picture
MAIN: 2025-03-10 22:02:36,616 - INFO - we take 1865 photos in this while loop
MAIN: 2025-03-10 22:02:36,616 - INFO - /home/pi/Desktop/images/10032025/22/02/image_10032025_22_02_36_29495.jpg
MAIN: 2025-03-10 22:02:36,616 - INFO - duration: 0.6868636459985282
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:03: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:03:06,479 - INFO - taking picture
MAIN: 2025-03-10 22:03:06,479 - INFO - we take 1866 photos in this while loop
MAIN: 2025-03-10 22:03:06,480 - INFO - /home/pi/Desktop/images/10032025/22/02/image_10032025_22_03_06_29905.jpg
MAIN: 2025-03-10 22:03:06,480 - INFO - duration: 0.6452497389982454
MAIN: 2025-03-10 22:03:06,480 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:03:37,233 - INFO - taking picture
MAIN: 2025-03-10 22:03:37,233 - INFO - we take 1867 photos in this while loop
MAIN: 2025-03-10 22:03:37,234 - INFO - /home/pi/Desktop/images/10032025/22/03/image_10032025_22_03_36_30724.jpg
MAIN: 2025-03-10 22:03:37,234 - INFO - duration: 0.6745945309958188
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:04:06,267 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:04:07,178 - INFO - taking picture
MAIN: 2025-03-10 22:04:07,179 - INFO - we take 1868 photos in this while loop
MAIN: 2025-03-10 22:04:07,179 - INFO - /home/pi/Desktop/images/10032025/22/03/image_10032025_22_04_06_29984.jpg
MAIN: 2025-03-10 22:04:07,179 - INFO - duration: 0.6354465100012021
MAIN: 2025-03-10 22:04:07,179 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/04'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:04:36,820 - INFO - taking picture
MAIN: 2025-03-10 22:04:36,821 - INFO - we take 1869 photos in this while loop
MAIN: 2025-03-10 22:04:36,821 - INFO - /home/pi/Desktop/images/10032025/22/04/image_10032025_22_04_36_29584.jpg
MAIN: 2025-03-10 22:04:36,821 - INFO - duration: 0.6923917180029093
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:05:06,325 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:05:07,038 - INFO - taking picture
MAIN: 2025-03-10 22:05:07,039 - INFO - we take 1870 photos in this while loop
MAIN: 2025-03-10 22:05:07,040 - INFO - /home/pi/Desktop/images/10032025/22/04/image_10032025_22_05_06_30219.jpg
MAIN: 2025-03-10 22:05:07,040 - INFO - duration: 0.692055313003948
MAIN: 2025-03-10 22:05:07,041 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:05:36,586 - INFO - taking picture
MAIN: 2025-03-10 22:05:36,586 - INFO - we take 1871 photos in this while loop
MAIN: 2025-03-10 22:05:36,587 - INFO - /home/pi/Desktop/images/10032025/22/05/image_10032025_22_05_36_29544.jpg
MAIN: 2025-03-10 22:05:36,587 - INFO - duration: 0.6942501560042729
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:06: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-10 22:06:06,878 - INFO - taking picture
MAIN: 2025-03-10 22:06:06,878 - INFO - we take 1872 photos in this while loop
MAIN: 2025-03-10 22:06:06,879 - INFO - /home/pi/Desktop/images/10032025/22/05/image_10032025_22_06_06_30281.jpg
MAIN: 2025-03-10 22:06:06,879 - INFO - duration: 0.70468286400137
MAIN: 2025-03-10 22:06:06,879 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/06'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:06:36,499 - INFO - taking picture
MAIN: 2025-03-10 22:06:36,500 - INFO - we take 1873 photos in this while loop
MAIN: 2025-03-10 22:06:36,500 - INFO - /home/pi/Desktop/images/10032025/22/06/image_10032025_22_06_36_29614.jpg
MAIN: 2025-03-10 22:06:36,500 - INFO - duration: 0.71226906299853
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:07:06,374 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 22:07:06,494 - INFO - taking picture
MAIN: 2025-03-10 22:07:06,495 - INFO - we take 1874 photos in this while loop
MAIN: 2025-03-10 22:07:06,495 - INFO - /home/pi/Desktop/images/10032025/22/06/image_10032025_22_07_06_30042.jpg
MAIN: 2025-03-10 22:07:06,495 - INFO - duration: 0.6643346869968809
MAIN: 2025-03-10 22:07:06,496 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:07:37,433 - INFO - taking picture
MAIN: 2025-03-10 22:07:37,434 - INFO - we take 1875 photos in this while loop
MAIN: 2025-03-10 22:07:37,434 - INFO - /home/pi/Desktop/images/10032025/22/07/image_10032025_22_07_37_30909.jpg
MAIN: 2025-03-10 22:07:37,434 - INFO - duration: 0.693840469000861
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:08:06,295 - INFO - taking picture
MAIN: 2025-03-10 22:08:06,295 - INFO - we take 1876 photos in this while loop
MAIN: 2025-03-10 22:08:06,295 - INFO - /home/pi/Desktop/images/10032025/22/07/image_10032025_22_08_05_28914.jpg
MAIN: 2025-03-10 22:08:06,296 - INFO - duration: 0.6412783850028063
MAIN: 2025-03-10 22:08:06,296 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/08'
MAIN: 2025-03-10 22:08: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:08:37,050 - INFO - taking picture
MAIN: 2025-03-10 22:08:37,050 - INFO - we take 1877 photos in this while loop
MAIN: 2025-03-10 22:08:37,050 - INFO - /home/pi/Desktop/images/10032025/22/08/image_10032025_22_08_36_30701.jpg
MAIN: 2025-03-10 22:08:37,050 - INFO - duration: 0.6949250510006095
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:09:05,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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:09:06,845 - INFO - taking picture
MAIN: 2025-03-10 22:09:06,846 - INFO - we take 1878 photos in this while loop
MAIN: 2025-03-10 22:09:06,846 - INFO - /home/pi/Desktop/images/10032025/22/08/image_10032025_22_09_06_29819.jpg
MAIN: 2025-03-10 22:09:06,846 - INFO - duration: 0.6714789060060866
MAIN: 2025-03-10 22:09:06,847 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:09:36,413 - INFO - taking picture
MAIN: 2025-03-10 22:09:36,414 - INFO - we take 1879 photos in this while loop
MAIN: 2025-03-10 22:09:36,414 - INFO - /home/pi/Desktop/images/10032025/22/09/image_10032025_22_09_36_29565.jpg
MAIN: 2025-03-10 22:09:36,414 - INFO - duration: 0.6741379169980064
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:10:06,680 - INFO - taking picture
MAIN: 2025-03-10 22:10:06,681 - INFO - we take 1880 photos in this while loop
MAIN: 2025-03-10 22:10:06,682 - INFO - /home/pi/Desktop/images/10032025/22/09/image_10032025_22_10_06_30234.jpg
MAIN: 2025-03-10 22:10:06,683 - INFO - duration: 0.7082093749995693
MAIN: 2025-03-10 22:10:06,684 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/10'
MAIN: 2025-03-10 22:10:06,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:10:37,357 - INFO - taking picture
MAIN: 2025-03-10 22:10:37,358 - INFO - we take 1881 photos in this while loop
MAIN: 2025-03-10 22:10:37,358 - INFO - /home/pi/Desktop/images/10032025/22/10/image_10032025_22_10_36_30738.jpg
MAIN: 2025-03-10 22:10:37,358 - INFO - duration: 0.6451318740000715
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:11:06,038 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:11:07,428 - INFO - taking picture
MAIN: 2025-03-10 22:11:07,428 - INFO - we take 1882 photos in this while loop
MAIN: 2025-03-10 22:11:07,429 - INFO - /home/pi/Desktop/images/10032025/22/10/image_10032025_22_11_07_30039.jpg
MAIN: 2025-03-10 22:11:07,429 - INFO - duration: 0.6764611969992984
MAIN: 2025-03-10 22:11:07,429 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/11'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:11:37,082 - INFO - taking picture
MAIN: 2025-03-10 22:11:37,083 - INFO - we take 1883 photos in this while loop
MAIN: 2025-03-10 22:11:37,083 - INFO - /home/pi/Desktop/images/10032025/22/11/image_10032025_22_11_36_29656.jpg
MAIN: 2025-03-10 22:11:37,083 - INFO - duration: 0.6745593230007216
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:12:06,690 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:12:07,189 - INFO - taking picture
MAIN: 2025-03-10 22:12:07,189 - INFO - we take 1884 photos in this while loop
MAIN: 2025-03-10 22:12:07,189 - INFO - /home/pi/Desktop/images/10032025/22/11/image_10032025_22_12_06_30075.jpg
MAIN: 2025-03-10 22:12:07,190 - INFO - duration: 0.7055717189941788
MAIN: 2025-03-10 22:12:07,190 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:12:36,760 - INFO - taking picture
MAIN: 2025-03-10 22:12:36,760 - INFO - we take 1885 photos in this while loop
MAIN: 2025-03-10 22:12:36,760 - INFO - /home/pi/Desktop/images/10032025/22/12/image_10032025_22_12_36_29584.jpg
MAIN: 2025-03-10 22:12:36,761 - INFO - duration: 0.6923327080003219
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:13:05,511 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:13:06,546 - INFO - taking picture
MAIN: 2025-03-10 22:13:06,547 - INFO - we take 1886 photos in this while loop
MAIN: 2025-03-10 22:13:06,547 - INFO - /home/pi/Desktop/images/10032025/22/12/image_10032025_22_13_06_29782.jpg
MAIN: 2025-03-10 22:13:06,547 - INFO - duration: 0.6964794789964799
MAIN: 2025-03-10 22:13:06,548 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:13:37,478 - INFO - taking picture
MAIN: 2025-03-10 22:13:37,479 - INFO - we take 1887 photos in this while loop
MAIN: 2025-03-10 22:13:37,479 - INFO - /home/pi/Desktop/images/10032025/22/13/image_10032025_22_13_37_30909.jpg
MAIN: 2025-03-10 22:13:37,479 - INFO - duration: 0.7192128639944713
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:14:06,098 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 22:14:06,464 - INFO - taking picture
MAIN: 2025-03-10 22:14:06,465 - INFO - we take 1888 photos in this while loop
MAIN: 2025-03-10 22:14:06,465 - INFO - /home/pi/Desktop/images/10032025/22/13/image_10032025_22_14_06_29019.jpg
MAIN: 2025-03-10 22:14:06,465 - INFO - duration: 0.6854614059993764
MAIN: 2025-03-10 22:14:06,466 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:14:37,281 - INFO - taking picture
MAIN: 2025-03-10 22:14:37,281 - INFO - we take 1889 photos in this while loop
MAIN: 2025-03-10 22:14:37,281 - INFO - /home/pi/Desktop/images/10032025/22/14/image_10032025_22_14_36_30847.jpg
MAIN: 2025-03-10 22:14:37,282 - INFO - duration: 0.6538636460027192
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:15: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:15:07,461 - INFO - taking picture
MAIN: 2025-03-10 22:15:07,461 - INFO - we take 1890 photos in this while loop
MAIN: 2025-03-10 22:15:07,461 - INFO - /home/pi/Desktop/images/10032025/22/14/image_10032025_22_15_07_30152.jpg
MAIN: 2025-03-10 22:15:07,462 - INFO - duration: 0.6809942190011498
MAIN: 2025-03-10 22:15:07,462 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/15'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:15:36,943 - INFO - taking picture
MAIN: 2025-03-10 22:15:36,944 - INFO - we take 1891 photos in this while loop
MAIN: 2025-03-10 22:15:36,944 - INFO - /home/pi/Desktop/images/10032025/22/15/image_10032025_22_15_36_29527.jpg
MAIN: 2025-03-10 22:15:36,944 - INFO - duration: 0.6361402599941357
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:16:06,611 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (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-10 22:16:07,045 - INFO - taking picture
MAIN: 2025-03-10 22:16:07,045 - INFO - we take 1892 photos in this while loop
MAIN: 2025-03-10 22:16:07,046 - INFO - /home/pi/Desktop/images/10032025/22/15/image_10032025_22_16_06_30084.jpg
MAIN: 2025-03-10 22:16:07,046 - INFO - duration: 0.6534610410017194
MAIN: 2025-03-10 22:16:07,046 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/16'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:16:36,602 - INFO - taking picture
MAIN: 2025-03-10 22:16:36,603 - INFO - we take 1893 photos in this while loop
MAIN: 2025-03-10 22:16:36,603 - INFO - /home/pi/Desktop/images/10032025/22/16/image_10032025_22_16_36_29525.jpg
MAIN: 2025-03-10 22:16:36,603 - INFO - duration: 0.6856254689992056
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:17: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 ! 
MAIN: 2025-03-10 22:17:06,662 - INFO - taking picture
MAIN: 2025-03-10 22:17:06,663 - INFO - we take 1894 photos in this while loop
MAIN: 2025-03-10 22:17:06,663 - INFO - /home/pi/Desktop/images/10032025/22/16/image_10032025_22_17_06_30048.jpg
MAIN: 2025-03-10 22:17:06,663 - INFO - duration: 0.6968721869998262
MAIN: 2025-03-10 22:17:06,664 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:17:36,282 - INFO - taking picture
MAIN: 2025-03-10 22:17:36,283 - INFO - we take 1895 photos in this while loop
MAIN: 2025-03-10 22:17:36,283 - INFO - /home/pi/Desktop/images/10032025/22/17/image_10032025_22_17_35_29615.jpg
MAIN: 2025-03-10 22:17:36,283 - INFO - duration: 0.701270885001577
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:18:06,296 - INFO - taking picture
MAIN: 2025-03-10 22:18:06,296 - INFO - we take 1896 photos in this while loop
MAIN: 2025-03-10 22:18:06,296 - INFO - /home/pi/Desktop/images/10032025/22/17/image_10032025_22_18_05_30078.jpg
MAIN: 2025-03-10 22:18:06,296 - INFO - duration: 0.6358391660032794
MAIN: 2025-03-10 22:18:06,297 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/18'
MAIN: 2025-03-10 22:18: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:18:37,106 - INFO - taking picture
MAIN: 2025-03-10 22:18:37,106 - INFO - we take 1897 photos in this while loop
MAIN: 2025-03-10 22:18:37,106 - INFO - /home/pi/Desktop/images/10032025/22/18/image_10032025_22_18_36_30797.jpg
MAIN: 2025-03-10 22:18:37,107 - INFO - duration: 0.6482456770027056
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:19:05,506 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:19:07,095 - INFO - taking picture
MAIN: 2025-03-10 22:19:07,096 - INFO - we take 1898 photos in this while loop
MAIN: 2025-03-10 22:19:07,096 - INFO - /home/pi/Desktop/images/10032025/22/18/image_10032025_22_19_06_29996.jpg
MAIN: 2025-03-10 22:19:07,096 - INFO - duration: 0.6411085929939873
MAIN: 2025-03-10 22:19:07,097 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:19:36,586 - INFO - taking picture
MAIN: 2025-03-10 22:19:36,586 - INFO - we take 1899 photos in this while loop
MAIN: 2025-03-10 22:19:36,586 - INFO - /home/pi/Desktop/images/10032025/22/19/image_10032025_22_19_36_29485.jpg
MAIN: 2025-03-10 22:19:36,587 - INFO - duration: 0.6455044789981912
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:20:06,730 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 22:20:06,756 - INFO - taking picture
MAIN: 2025-03-10 22:20:06,757 - INFO - we take 1900 photos in this while loop
MAIN: 2025-03-10 22:20:06,758 - INFO - /home/pi/Desktop/images/10032025/22/19/image_10032025_22_20_06_30118.jpg
MAIN: 2025-03-10 22:20:06,758 - INFO - duration: 0.6989249989928794
MAIN: 2025-03-10 22:20:06,759 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:20:37,456 - INFO - taking picture
MAIN: 2025-03-10 22:20:37,457 - INFO - we take 1901 photos in this while loop
MAIN: 2025-03-10 22:20:37,457 - INFO - /home/pi/Desktop/images/10032025/22/20/image_10032025_22_20_37_30707.jpg
MAIN: 2025-03-10 22:20:37,457 - INFO - duration: 0.6899196869999287
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:21: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:21:07,227 - INFO - taking picture
MAIN: 2025-03-10 22:21:07,227 - INFO - we take 1902 photos in this while loop
MAIN: 2025-03-10 22:21:07,227 - INFO - /home/pi/Desktop/images/10032025/22/20/image_10032025_22_21_06_29794.jpg
MAIN: 2025-03-10 22:21:07,227 - INFO - duration: 0.6657771870013676
MAIN: 2025-03-10 22:21:07,228 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:21:36,777 - INFO - taking picture
MAIN: 2025-03-10 22:21:36,777 - INFO - we take 1903 photos in this while loop
MAIN: 2025-03-10 22:21:36,778 - INFO - /home/pi/Desktop/images/10032025/22/21/image_10032025_22_21_36_29526.jpg
MAIN: 2025-03-10 22:21:36,778 - INFO - duration: 0.6900530729981256
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:22: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-10 22:22:06,982 - INFO - taking picture
MAIN: 2025-03-10 22:22:06,983 - INFO - we take 1904 photos in this while loop
MAIN: 2025-03-10 22:22:06,983 - INFO - /home/pi/Desktop/images/10032025/22/21/image_10032025_22_22_06_30196.jpg
MAIN: 2025-03-10 22:22:06,983 - INFO - duration: 0.6989811980020022
MAIN: 2025-03-10 22:22:06,984 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:22:36,579 - INFO - taking picture
MAIN: 2025-03-10 22:22:36,580 - INFO - we take 1905 photos in this while loop
MAIN: 2025-03-10 22:22:36,580 - INFO - /home/pi/Desktop/images/10032025/22/22/image_10032025_22_22_36_29596.jpg
MAIN: 2025-03-10 22:22:36,580 - INFO - duration: 0.6991078129940433
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:23:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:23:06,553 - INFO - taking picture
MAIN: 2025-03-10 22:23:06,553 - INFO - we take 1906 photos in this while loop
MAIN: 2025-03-10 22:23:06,553 - INFO - /home/pi/Desktop/images/10032025/22/22/image_10032025_22_23_06_30028.jpg
MAIN: 2025-03-10 22:23:06,554 - INFO - duration: 0.6445539060005103
MAIN: 2025-03-10 22:23:06,554 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:23:37,214 - INFO - taking picture
MAIN: 2025-03-10 22:23:37,215 - INFO - we take 1907 photos in this while loop
MAIN: 2025-03-10 22:23:37,215 - INFO - /home/pi/Desktop/images/10032025/22/23/image_10032025_22_23_36_30663.jpg
MAIN: 2025-03-10 22:23:37,215 - INFO - duration: 0.6429947920041741
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 22:24: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:24:07,070 - INFO - taking picture
MAIN: 2025-03-10 22:24:07,071 - INFO - we take 1908 photos in this while loop
MAIN: 2025-03-10 22:24:07,071 - INFO - /home/pi/Desktop/images/10032025/22/23/image_10032025_22_24_06_29853.jpg
MAIN: 2025-03-10 22:24:07,071 - INFO - duration: 0.6454945309960749
MAIN: 2025-03-10 22:24:07,071 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:24:36,784 - INFO - taking picture
MAIN: 2025-03-10 22:24:36,785 - INFO - we take 1909 photos in this while loop
MAIN: 2025-03-10 22:24:36,785 - INFO - /home/pi/Desktop/images/10032025/22/24/image_10032025_22_24_36_29657.jpg
MAIN: 2025-03-10 22:24:36,785 - INFO - duration: 0.70244937499956
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:25:06,631 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:25:07,102 - INFO - taking picture
MAIN: 2025-03-10 22:25:07,103 - INFO - we take 1910 photos in this while loop
MAIN: 2025-03-10 22:25:07,103 - INFO - /home/pi/Desktop/images/10032025/22/24/image_10032025_22_25_06_30317.jpg
MAIN: 2025-03-10 22:25:07,103 - INFO - duration: 0.7028289580048295
MAIN: 2025-03-10 22:25:07,104 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/25'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:25:36,513 - INFO - taking picture
MAIN: 2025-03-10 22:25:36,514 - INFO - we take 1911 photos in this while loop
MAIN: 2025-03-10 22:25:36,514 - INFO - /home/pi/Desktop/images/10032025/22/25/image_10032025_22_25_36_29431.jpg
MAIN: 2025-03-10 22:25:36,514 - INFO - duration: 0.6822539060012787
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:26:06,380 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 22:26:06,661 - INFO - taking picture
MAIN: 2025-03-10 22:26:06,662 - INFO - we take 1912 photos in this while loop
MAIN: 2025-03-10 22:26:06,662 - INFO - /home/pi/Desktop/images/10032025/22/25/image_10032025_22_26_06_30150.jpg
MAIN: 2025-03-10 22:26:06,662 - INFO - duration: 0.6790869789983844
MAIN: 2025-03-10 22:26:06,663 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:26:37,464 - INFO - taking picture
MAIN: 2025-03-10 22:26:37,464 - INFO - we take 1913 photos in this while loop
MAIN: 2025-03-10 22:26:37,465 - INFO - /home/pi/Desktop/images/10032025/22/26/image_10032025_22_26_37_30786.jpg
MAIN: 2025-03-10 22:26:37,465 - INFO - duration: 0.6953291140016518
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 22:27: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:27:07,231 - INFO - taking picture
MAIN: 2025-03-10 22:27:07,231 - INFO - we take 1914 photos in this while loop
MAIN: 2025-03-10 22:27:07,231 - INFO - /home/pi/Desktop/images/10032025/22/26/image_10032025_22_27_06_29811.jpg
MAIN: 2025-03-10 22:27:07,232 - INFO - duration: 0.6501963019982213
MAIN: 2025-03-10 22:27:07,232 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:27:36,812 - INFO - taking picture
MAIN: 2025-03-10 22:27:36,813 - INFO - we take 1915 photos in this while loop
MAIN: 2025-03-10 22:27:36,813 - INFO - /home/pi/Desktop/images/10032025/22/27/image_10032025_22_27_36_29529.jpg
MAIN: 2025-03-10 22:27:36,813 - INFO - duration: 0.7022060939998482
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:28:07,059 - INFO - taking picture
MAIN: 2025-03-10 22:28:07,060 - INFO - we take 1916 photos in this while loop
MAIN: 2025-03-10 22:28:07,060 - INFO - /home/pi/Desktop/images/10032025/22/27/image_10032025_22_28_06_30280.jpg
MAIN: 2025-03-10 22:28:07,060 - INFO - duration: 0.6690319269982865
MAIN: 2025-03-10 22:28:07,061 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/28'
MAIN: 2025-03-10 22:28: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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:28:36,734 - INFO - taking picture
MAIN: 2025-03-10 22:28:36,735 - INFO - we take 1917 photos in this while loop
MAIN: 2025-03-10 22:28:36,735 - INFO - /home/pi/Desktop/images/10032025/22/28/image_10032025_22_28_36_29649.jpg
MAIN: 2025-03-10 22:28:36,735 - INFO - duration: 0.6942706769987126
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:29: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:29:06,755 - INFO - taking picture
MAIN: 2025-03-10 22:29:06,755 - INFO - we take 1918 photos in this while loop
MAIN: 2025-03-10 22:29:06,756 - INFO - /home/pi/Desktop/images/10032025/22/28/image_10032025_22_29_06_30015.jpg
MAIN: 2025-03-10 22:29:06,756 - INFO - duration: 0.6994030200003181
MAIN: 2025-03-10 22:29:06,756 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/29'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:29:36,377 - INFO - taking picture
MAIN: 2025-03-10 22:29:36,377 - INFO - we take 1919 photos in this while loop
MAIN: 2025-03-10 22:29:36,378 - INFO - /home/pi/Desktop/images/10032025/22/29/image_10032025_22_29_36_29630.jpg
MAIN: 2025-03-10 22:29:36,378 - INFO - duration: 0.6905509369971696
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:30:06,672 - INFO - taking picture
MAIN: 2025-03-10 22:30:06,672 - INFO - we take 1920 photos in this while loop
MAIN: 2025-03-10 22:30:06,673 - INFO - /home/pi/Desktop/images/10032025/22/29/image_10032025_22_30_06_30304.jpg
MAIN: 2025-03-10 22:30:06,673 - INFO - duration: 0.6813002599956235
MAIN: 2025-03-10 22:30:06,673 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/30'
MAIN: 2025-03-10 22:30:06,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:30:37,429 - INFO - taking picture
MAIN: 2025-03-10 22:30:37,429 - INFO - we take 1921 photos in this while loop
MAIN: 2025-03-10 22:30:37,430 - INFO - /home/pi/Desktop/images/10032025/22/30/image_10032025_22_30_37_30744.jpg
MAIN: 2025-03-10 22:30:37,430 - INFO - duration: 0.6934080200007884
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:31:05,995 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:31:07,104 - INFO - taking picture
MAIN: 2025-03-10 22:31:07,105 - INFO - we take 1922 photos in this while loop
MAIN: 2025-03-10 22:31:07,105 - INFO - /home/pi/Desktop/images/10032025/22/30/image_10032025_22_31_06_29721.jpg
MAIN: 2025-03-10 22:31:07,105 - INFO - duration: 0.6476338020002004
MAIN: 2025-03-10 22:31:07,106 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:31:36,653 - INFO - taking picture
MAIN: 2025-03-10 22:31:36,654 - INFO - we take 1923 photos in this while loop
MAIN: 2025-03-10 22:31:36,654 - INFO - /home/pi/Desktop/images/10032025/22/31/image_10032025_22_31_36_29502.jpg
MAIN: 2025-03-10 22:31:36,654 - INFO - duration: 0.6938513019995298
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:32:06,953 - INFO - taking picture
MAIN: 2025-03-10 22:32:06,954 - INFO - we take 1924 photos in this while loop
MAIN: 2025-03-10 22:32:06,954 - INFO - /home/pi/Desktop/images/10032025/22/31/image_10032025_22_32_06_30309.jpg
MAIN: 2025-03-10 22:32:06,954 - INFO - duration: 0.6846139059998677
MAIN: 2025-03-10 22:32:06,955 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/32'
MAIN: 2025-03-10 22:32:07,016 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:32:36,464 - INFO - taking picture
MAIN: 2025-03-10 22:32:36,464 - INFO - we take 1925 photos in this while loop
MAIN: 2025-03-10 22:32:36,464 - INFO - /home/pi/Desktop/images/10032025/22/32/image_10032025_22_32_36_29501.jpg
MAIN: 2025-03-10 22:32:36,465 - INFO - duration: 0.6933789059985429
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:33:05,876 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:33:06,508 - INFO - taking picture
MAIN: 2025-03-10 22:33:06,509 - INFO - we take 1926 photos in this while loop
MAIN: 2025-03-10 22:33:06,509 - INFO - /home/pi/Desktop/images/10032025/22/32/image_10032025_22_33_06_30037.jpg
MAIN: 2025-03-10 22:33:06,509 - INFO - duration: 0.7003854159993352
MAIN: 2025-03-10 22:33:06,510 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:33:37,241 - INFO - taking picture
MAIN: 2025-03-10 22:33:37,242 - INFO - we take 1927 photos in this while loop
MAIN: 2025-03-10 22:33:37,242 - INFO - /home/pi/Desktop/images/10032025/22/33/image_10032025_22_33_36_30764.jpg
MAIN: 2025-03-10 22:33:37,242 - INFO - duration: 0.6689720830036094
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:34: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:34:07,350 - INFO - taking picture
MAIN: 2025-03-10 22:34:07,350 - INFO - we take 1928 photos in this while loop
MAIN: 2025-03-10 22:34:07,350 - INFO - /home/pi/Desktop/images/10032025/22/33/image_10032025_22_34_06_30109.jpg
MAIN: 2025-03-10 22:34:07,351 - INFO - duration: 0.6681878640010837
MAIN: 2025-03-10 22:34:07,351 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:34:36,904 - INFO - taking picture
MAIN: 2025-03-10 22:34:36,904 - INFO - we take 1929 photos in this while loop
MAIN: 2025-03-10 22:34:36,904 - INFO - /home/pi/Desktop/images/10032025/22/34/image_10032025_22_34_36_29528.jpg
MAIN: 2025-03-10 22:34:36,904 - INFO - duration: 0.6931253639995703
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:35:06,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 ! 
MAIN: 2025-03-10 22:35:06,741 - INFO - taking picture
MAIN: 2025-03-10 22:35:06,741 - INFO - we take 1930 photos in this while loop
MAIN: 2025-03-10 22:35:06,742 - INFO - /home/pi/Desktop/images/10032025/22/34/image_10032025_22_35_06_29848.jpg
MAIN: 2025-03-10 22:35:06,742 - INFO - duration: 0.6823669789955602
MAIN: 2025-03-10 22:35:06,742 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/35'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:35:37,447 - INFO - taking picture
MAIN: 2025-03-10 22:35:37,447 - INFO - we take 1931 photos in this while loop
MAIN: 2025-03-10 22:35:37,447 - INFO - /home/pi/Desktop/images/10032025/22/35/image_10032025_22_35_37_30698.jpg
MAIN: 2025-03-10 22:35:37,448 - INFO - duration: 0.6901824480009964
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:36: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:36:07,383 - INFO - taking picture
MAIN: 2025-03-10 22:36:07,384 - INFO - we take 1932 photos in this while loop
MAIN: 2025-03-10 22:36:07,384 - INFO - /home/pi/Desktop/images/10032025/22/35/image_10032025_22_36_07_29942.jpg
MAIN: 2025-03-10 22:36:07,384 - INFO - duration: 0.6841922390012769
MAIN: 2025-03-10 22:36:07,384 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/36'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:36:36,941 - INFO - taking picture
MAIN: 2025-03-10 22:36:36,942 - INFO - we take 1933 photos in this while loop
MAIN: 2025-03-10 22:36:36,942 - INFO - /home/pi/Desktop/images/10032025/22/36/image_10032025_22_36_36_29551.jpg
MAIN: 2025-03-10 22:36:36,942 - INFO - duration: 0.6907740099995863
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:37: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:37:07,041 - INFO - taking picture
MAIN: 2025-03-10 22:37:07,041 - INFO - we take 1934 photos in this while loop
MAIN: 2025-03-10 22:37:07,042 - INFO - /home/pi/Desktop/images/10032025/22/36/image_10032025_22_37_06_30092.jpg
MAIN: 2025-03-10 22:37:07,042 - INFO - duration: 0.6983626039946103
MAIN: 2025-03-10 22:37:07,042 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/37'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:37:36,611 - INFO - taking picture
MAIN: 2025-03-10 22:37:36,611 - INFO - we take 1935 photos in this while loop
MAIN: 2025-03-10 22:37:36,612 - INFO - /home/pi/Desktop/images/10032025/22/37/image_10032025_22_37_36_29585.jpg
MAIN: 2025-03-10 22:37:36,612 - INFO - duration: 0.6830681249994086
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:38:06,399 - INFO - taking picture
MAIN: 2025-03-10 22:38:06,400 - INFO - we take 1936 photos in this while loop
MAIN: 2025-03-10 22:38:06,400 - INFO - /home/pi/Desktop/images/10032025/22/37/image_10032025_22_38_06_29839.jpg
MAIN: 2025-03-10 22:38:06,400 - INFO - duration: 0.6317480200013961
MAIN: 2025-03-10 22:38:06,400 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/38'
MAIN: 2025-03-10 22:38:06,830 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:38:37,187 - INFO - taking picture
MAIN: 2025-03-10 22:38:37,187 - INFO - we take 1937 photos in this while loop
MAIN: 2025-03-10 22:38:37,187 - INFO - /home/pi/Desktop/images/10032025/22/38/image_10032025_22_38_36_30723.jpg
MAIN: 2025-03-10 22:38:37,188 - INFO - duration: 0.6962741150055081
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 22:39: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:39:07,034 - INFO - taking picture
MAIN: 2025-03-10 22:39:07,035 - INFO - we take 1938 photos in this while loop
MAIN: 2025-03-10 22:39:07,035 - INFO - /home/pi/Desktop/images/10032025/22/38/image_10032025_22_39_06_29872.jpg
MAIN: 2025-03-10 22:39:07,035 - INFO - duration: 0.6713481769984355
MAIN: 2025-03-10 22:39:07,035 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/39'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:39:36,469 - INFO - taking picture
MAIN: 2025-03-10 22:39:36,470 - INFO - we take 1939 photos in this while loop
MAIN: 2025-03-10 22:39:36,470 - INFO - /home/pi/Desktop/images/10032025/22/39/image_10032025_22_39_36_29419.jpg
MAIN: 2025-03-10 22:39:36,470 - INFO - duration: 0.6865081770010875
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:40:06,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 ! 
MAIN: 2025-03-10 22:40:06,886 - INFO - taking picture
MAIN: 2025-03-10 22:40:06,887 - INFO - we take 1940 photos in this while loop
MAIN: 2025-03-10 22:40:06,887 - INFO - /home/pi/Desktop/images/10032025/22/39/image_10032025_22_40_06_30419.jpg
MAIN: 2025-03-10 22:40:06,888 - INFO - duration: 0.6846265100029996
MAIN: 2025-03-10 22:40:06,888 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/40'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:40:36,452 - INFO - taking picture
MAIN: 2025-03-10 22:40:36,453 - INFO - we take 1941 photos in this while loop
MAIN: 2025-03-10 22:40:36,453 - INFO - /home/pi/Desktop/images/10032025/22/40/image_10032025_22_40_36_29552.jpg
MAIN: 2025-03-10 22:40:36,453 - INFO - duration: 0.6977202089983621
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:41: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 ! 
MAIN: 2025-03-10 22:41:06,442 - INFO - taking picture
MAIN: 2025-03-10 22:41:06,443 - INFO - we take 1942 photos in this while loop
MAIN: 2025-03-10 22:41:06,443 - INFO - /home/pi/Desktop/images/10032025/22/40/image_10032025_22_41_06_29996.jpg
MAIN: 2025-03-10 22:41:06,443 - INFO - duration: 0.69136192699807
MAIN: 2025-03-10 22:41:06,444 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:41:37,383 - INFO - taking picture
MAIN: 2025-03-10 22:41:37,383 - INFO - we take 1943 photos in this while loop
MAIN: 2025-03-10 22:41:37,384 - INFO - /home/pi/Desktop/images/10032025/22/41/image_10032025_22_41_37_30937.jpg
MAIN: 2025-03-10 22:41:37,384 - INFO - duration: 0.6943586979978136
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:42:06,665 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:42:07,383 - INFO - taking picture
MAIN: 2025-03-10 22:42:07,384 - INFO - we take 1944 photos in this while loop
MAIN: 2025-03-10 22:42:07,384 - INFO - /home/pi/Desktop/images/10032025/22/41/image_10032025_22_42_07_30032.jpg
MAIN: 2025-03-10 22:42:07,384 - INFO - duration: 0.6620869789985591
MAIN: 2025-03-10 22:42:07,384 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/42'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:42:36,943 - INFO - taking picture
MAIN: 2025-03-10 22:42:36,950 - INFO - we take 1945 photos in this while loop
MAIN: 2025-03-10 22:42:36,950 - INFO - /home/pi/Desktop/images/10032025/22/42/image_10032025_22_42_36_29552.jpg
MAIN: 2025-03-10 22:42:36,950 - INFO - duration: 0.6756606769922655
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:43:06,668 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:43:07,117 - INFO - taking picture
MAIN: 2025-03-10 22:43:07,118 - INFO - we take 1946 photos in this while loop
MAIN: 2025-03-10 22:43:07,118 - INFO - /home/pi/Desktop/images/10032025/22/42/image_10032025_22_43_06_30129.jpg
MAIN: 2025-03-10 22:43:07,118 - INFO - duration: 0.7136248430033447
MAIN: 2025-03-10 22:43:07,119 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/43'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:43:36,657 - INFO - taking picture
MAIN: 2025-03-10 22:43:36,657 - INFO - we take 1947 photos in this while loop
MAIN: 2025-03-10 22:43:36,658 - INFO - /home/pi/Desktop/images/10032025/22/43/image_10032025_22_43_36_29562.jpg
MAIN: 2025-03-10 22:43:36,658 - INFO - duration: 0.6904091670003254
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:44:06,267 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:44:06,719 - INFO - taking picture
MAIN: 2025-03-10 22:44:06,719 - INFO - we take 1948 photos in this while loop
MAIN: 2025-03-10 22:44:06,719 - INFO - /home/pi/Desktop/images/10032025/22/43/image_10032025_22_44_06_30042.jpg
MAIN: 2025-03-10 22:44:06,720 - INFO - duration: 0.7101821349933743
MAIN: 2025-03-10 22:44:06,720 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/44'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:44:36,345 - INFO - taking picture
MAIN: 2025-03-10 22:44:36,345 - INFO - we take 1949 photos in this while loop
MAIN: 2025-03-10 22:44:36,345 - INFO - /home/pi/Desktop/images/10032025/22/44/image_10032025_22_44_35_29674.jpg
MAIN: 2025-03-10 22:44:36,346 - INFO - duration: 0.6615877599979285
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:45:06,576 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-03-10 22:45:06,674 - INFO - taking picture
MAIN: 2025-03-10 22:45:06,675 - INFO - we take 1950 photos in this while loop
MAIN: 2025-03-10 22:45:06,676 - INFO - /home/pi/Desktop/images/10032025/22/44/image_10032025_22_45_06_30315.jpg
MAIN: 2025-03-10 22:45:06,677 - INFO - duration: 0.6773440629913239
MAIN: 2025-03-10 22:45:06,678 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/45'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:45:36,306 - INFO - taking picture
MAIN: 2025-03-10 22:45:36,307 - INFO - we take 1951 photos in this while loop
MAIN: 2025-03-10 22:45:36,307 - INFO - /home/pi/Desktop/images/10032025/22/45/image_10032025_22_45_35_29664.jpg
MAIN: 2025-03-10 22:45:36,307 - INFO - duration: 0.6436080729909008
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:46:06,248 - INFO - taking picture
MAIN: 2025-03-10 22:46:06,248 - INFO - we take 1952 photos in this while loop
MAIN: 2025-03-10 22:46:06,248 - INFO - /home/pi/Desktop/images/10032025/22/45/image_10032025_22_46_05_29952.jpg
MAIN: 2025-03-10 22:46:06,249 - INFO - duration: 0.6329927089973353
MAIN: 2025-03-10 22:46:06,249 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/46'
MAIN: 2025-03-10 22:46:06,327 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:46:37,099 - INFO - taking picture
MAIN: 2025-03-10 22:46:37,100 - INFO - we take 1953 photos in this while loop
MAIN: 2025-03-10 22:46:37,100 - INFO - /home/pi/Desktop/images/10032025/22/46/image_10032025_22_46_36_30783.jpg
MAIN: 2025-03-10 22:46:37,100 - INFO - duration: 0.7004569790005917
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:47: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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:47:07,060 - INFO - taking picture
MAIN: 2025-03-10 22:47:07,060 - INFO - we take 1954 photos in this while loop
MAIN: 2025-03-10 22:47:07,060 - INFO - /home/pi/Desktop/images/10032025/22/46/image_10032025_22_47_06_30005.jpg
MAIN: 2025-03-10 22:47:07,061 - INFO - duration: 0.6551566670095781
MAIN: 2025-03-10 22:47:07,061 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:47:36,681 - INFO - taking picture
MAIN: 2025-03-10 22:47:36,682 - INFO - we take 1955 photos in this while loop
MAIN: 2025-03-10 22:47:36,682 - INFO - /home/pi/Desktop/images/10032025/22/47/image_10032025_22_47_36_29599.jpg
MAIN: 2025-03-10 22:47:36,682 - INFO - duration: 0.6765797919942997
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:48:06,860 - INFO - taking picture
MAIN: 2025-03-10 22:48:06,860 - INFO - we take 1956 photos in this while loop
MAIN: 2025-03-10 22:48:06,860 - INFO - /home/pi/Desktop/images/10032025/22/47/image_10032025_22_48_06_30179.jpg
MAIN: 2025-03-10 22:48:06,861 - INFO - duration: 0.6760247399943182
MAIN: 2025-03-10 22:48:06,861 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/48'
MAIN: 2025-03-10 22:48:07,385 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:48:36,544 - INFO - taking picture
MAIN: 2025-03-10 22:48:36,545 - INFO - we take 1957 photos in this while loop
MAIN: 2025-03-10 22:48:36,545 - INFO - /home/pi/Desktop/images/10032025/22/48/image_10032025_22_48_36_29650.jpg
MAIN: 2025-03-10 22:48:36,545 - INFO - duration: 0.7097190620115725
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:49:05,719 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:49:06,467 - INFO - taking picture
MAIN: 2025-03-10 22:49:06,468 - INFO - we take 1958 photos in this while loop
MAIN: 2025-03-10 22:49:06,468 - INFO - /home/pi/Desktop/images/10032025/22/48/image_10032025_22_49_06_29970.jpg
MAIN: 2025-03-10 22:49:06,468 - INFO - duration: 0.662228593006148
MAIN: 2025-03-10 22:49:06,469 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/49'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:49:37,244 - INFO - taking picture
MAIN: 2025-03-10 22:49:37,244 - INFO - we take 1959 photos in this while loop
MAIN: 2025-03-10 22:49:37,244 - INFO - /home/pi/Desktop/images/10032025/22/49/image_10032025_22_49_36_30766.jpg
MAIN: 2025-03-10 22:49:37,244 - INFO - duration: 0.6724458329990739
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:50:06,826 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:50:07,557 - INFO - taking picture
MAIN: 2025-03-10 22:50:07,558 - INFO - we take 1960 photos in this while loop
MAIN: 2025-03-10 22:50:07,558 - INFO - /home/pi/Desktop/images/10032025/22/49/image_10032025_22_50_07_30288.jpg
MAIN: 2025-03-10 22:50:07,558 - INFO - duration: 0.6981351040012669
MAIN: 2025-03-10 22:50:07,559 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:50:37,111 - INFO - taking picture
MAIN: 2025-03-10 22:50:37,112 - INFO - we take 1961 photos in this while loop
MAIN: 2025-03-10 22:50:37,112 - INFO - /home/pi/Desktop/images/10032025/22/50/image_10032025_22_50_36_29550.jpg
MAIN: 2025-03-10 22:50:37,112 - INFO - duration: 0.7009438539971597
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:51:06,051 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:51:06,994 - INFO - taking picture
MAIN: 2025-03-10 22:51:06,995 - INFO - we take 1962 photos in this while loop
MAIN: 2025-03-10 22:51:06,995 - INFO - /home/pi/Desktop/images/10032025/22/50/image_10032025_22_51_06_29948.jpg
MAIN: 2025-03-10 22:51:06,995 - INFO - duration: 0.6355819790042005
MAIN: 2025-03-10 22:51:06,996 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:51:36,637 - INFO - taking picture
MAIN: 2025-03-10 22:51:36,637 - INFO - we take 1963 photos in this while loop
MAIN: 2025-03-10 22:51:36,638 - INFO - /home/pi/Desktop/images/10032025/22/51/image_10032025_22_51_36_29586.jpg
MAIN: 2025-03-10 22:51:36,638 - INFO - duration: 0.6914774470060365
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:52:06,701 - INFO - cam.read() 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-10 22:52:06,741 - INFO - taking picture
MAIN: 2025-03-10 22:52:06,742 - INFO - we take 1964 photos in this while loop
MAIN: 2025-03-10 22:52:06,742 - INFO - /home/pi/Desktop/images/10032025/22/51/image_10032025_22_52_06_30131.jpg
MAIN: 2025-03-10 22:52:06,743 - INFO - duration: 0.6648565619980218
MAIN: 2025-03-10 22:52:06,743 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/52'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:52:36,273 - INFO - taking picture
MAIN: 2025-03-10 22:52:36,274 - INFO - we take 1965 photos in this while loop
MAIN: 2025-03-10 22:52:36,274 - INFO - /home/pi/Desktop/images/10032025/22/52/image_10032025_22_52_35_29526.jpg
MAIN: 2025-03-10 22:52:36,274 - INFO - duration: 0.6704119269998046
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-10 22:53: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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:53:07,430 - INFO - taking picture
MAIN: 2025-03-10 22:53:07,430 - INFO - we take 1966 photos in this while loop
MAIN: 2025-03-10 22:53:07,431 - INFO - /home/pi/Desktop/images/10032025/22/52/image_10032025_22_53_07_31171.jpg
MAIN: 2025-03-10 22:53:07,431 - INFO - duration: 0.655918019998353
MAIN: 2025-03-10 22:53:07,431 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/53'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:53:37,091 - INFO - taking picture
MAIN: 2025-03-10 22:53:37,091 - INFO - we take 1967 photos in this while loop
MAIN: 2025-03-10 22:53:37,092 - INFO - /home/pi/Desktop/images/10032025/22/53/image_10032025_22_53_36_29656.jpg
MAIN: 2025-03-10 22:53:37,092 - INFO - duration: 0.6600944789970526
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:54:05,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:54:07,353 - INFO - taking picture
MAIN: 2025-03-10 22:54:07,354 - INFO - we take 1968 photos in this while loop
MAIN: 2025-03-10 22:54:07,354 - INFO - /home/pi/Desktop/images/10032025/22/53/image_10032025_22_54_06_30280.jpg
MAIN: 2025-03-10 22:54:07,354 - INFO - duration: 0.6418828119931277
MAIN: 2025-03-10 22:54:07,355 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/54'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:54:36,963 - INFO - taking picture
MAIN: 2025-03-10 22:54:36,963 - INFO - we take 1969 photos in this while loop
MAIN: 2025-03-10 22:54:36,964 - INFO - /home/pi/Desktop/images/10032025/22/54/image_10032025_22_54_36_29608.jpg
MAIN: 2025-03-10 22:54:36,964 - INFO - duration: 0.6429652600054396
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:55: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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:55:07,250 - INFO - taking picture
MAIN: 2025-03-10 22:55:07,250 - INFO - we take 1970 photos in this while loop
MAIN: 2025-03-10 22:55:07,251 - INFO - /home/pi/Desktop/images/10032025/22/54/image_10032025_22_55_06_30227.jpg
MAIN: 2025-03-10 22:55:07,251 - INFO - duration: 0.7023479689960368
MAIN: 2025-03-10 22:55:07,251 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:55:36,853 - INFO - taking picture
MAIN: 2025-03-10 22:55:36,854 - INFO - we take 1971 photos in this while loop
MAIN: 2025-03-10 22:55:36,854 - INFO - /home/pi/Desktop/images/10032025/22/55/image_10032025_22_55_36_29637.jpg
MAIN: 2025-03-10 22:55:36,854 - INFO - duration: 0.6686964590044226
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:56:06,369 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:56:06,964 - INFO - taking picture
MAIN: 2025-03-10 22:56:06,964 - INFO - we take 1972 photos in this while loop
MAIN: 2025-03-10 22:56:06,964 - INFO - /home/pi/Desktop/images/10032025/22/55/image_10032025_22_56_06_30073.jpg
MAIN: 2025-03-10 22:56:06,964 - INFO - duration: 0.7055292180011747
MAIN: 2025-03-10 22:56:06,965 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:56:36,533 - INFO - taking picture
MAIN: 2025-03-10 22:56:36,533 - INFO - we take 1973 photos in this while loop
MAIN: 2025-03-10 22:56:36,534 - INFO - /home/pi/Desktop/images/10032025/22/56/image_10032025_22_56_36_29588.jpg
MAIN: 2025-03-10 22:56:36,534 - INFO - duration: 0.6864046359987697
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:57:06,171 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:57:06,597 - INFO - taking picture
MAIN: 2025-03-10 22:57:06,597 - INFO - we take 1974 photos in this while loop
MAIN: 2025-03-10 22:57:06,597 - INFO - /home/pi/Desktop/images/10032025/22/56/image_10032025_22_57_06_30058.jpg
MAIN: 2025-03-10 22:57:06,598 - INFO - duration: 0.6913984900020296
MAIN: 2025-03-10 22:57:06,598 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/57'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:57:37,423 - INFO - taking picture
MAIN: 2025-03-10 22:57:37,424 - INFO - we take 1975 photos in this while loop
MAIN: 2025-03-10 22:57:37,424 - INFO - /home/pi/Desktop/images/10032025/22/57/image_10032025_22_57_37_30872.jpg
MAIN: 2025-03-10 22:57:37,424 - INFO - duration: 0.6455735409981571
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:58:06,660 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:58:07,442 - INFO - taking picture
MAIN: 2025-03-10 22:58:07,442 - INFO - we take 1976 photos in this while loop
MAIN: 2025-03-10 22:58:07,442 - INFO - /home/pi/Desktop/images/10032025/22/57/image_10032025_22_58_07_30006.jpg
MAIN: 2025-03-10 22:58:07,443 - INFO - duration: 0.6571512499940582
MAIN: 2025-03-10 22:58:07,443 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/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=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:58:38,737 - INFO - taking picture
MAIN: 2025-03-10 22:58:38,738 - INFO - we take 1977 photos in this while loop
MAIN: 2025-03-10 22:58:38,738 - INFO - /home/pi/Desktop/images/10032025/22/58/image_10032025_22_58_36_29670.jpg
MAIN: 2025-03-10 22:58:38,738 - INFO - duration: 2.281980312007363
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-03-10 22:59:06,495 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:59:07,395 - INFO - taking picture
MAIN: 2025-03-10 22:59:07,395 - INFO - we take 1978 photos in this while loop
MAIN: 2025-03-10 22:59:07,396 - INFO - /home/pi/Desktop/images/10032025/22/58/image_10032025_22_59_07_30297.jpg
MAIN: 2025-03-10 22:59:07,396 - INFO - duration: 0.6425110940035665
MAIN: 2025-03-10 22:59:07,396 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/10032025/22/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 22:59:36,918 - INFO - taking picture
MAIN: 2025-03-10 22:59:36,918 - INFO - we take 1979 photos in this while loop
MAIN: 2025-03-10 22:59:36,918 - INFO - /home/pi/Desktop/images/10032025/22/59/image_10032025_22_59_36_29529.jpg
MAIN: 2025-03-10 22:59:36,919 - INFO - duration: 0.6360359379905276
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:00:06,961 - INFO - taking picture
MAIN: 2025-03-10 23:00:06,962 - INFO - we take 1980 photos in this while loop
MAIN: 2025-03-10 23:00:06,962 - INFO - /home/pi/Desktop/images/10032025/22/59/image_10032025_23_00_06_30002.jpg
MAIN: 2025-03-10 23:00:06,962 - INFO - duration: 0.6770232290000422
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:00:36,443 - INFO - taking picture
MAIN: 2025-03-10 23:00:36,443 - INFO - we take 1981 photos in this while loop
MAIN: 2025-03-10 23:00:36,444 - INFO - /home/pi/Desktop/images/10032025/23/00/image_10032025_23_00_36_29466.jpg
MAIN: 2025-03-10 23:00:36,444 - INFO - duration: 0.6917746880062623
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:01:07,395 - INFO - taking picture
MAIN: 2025-03-10 23:01:07,395 - INFO - we take 1982 photos in this while loop
MAIN: 2025-03-10 23:01:07,396 - INFO - /home/pi/Desktop/images/10032025/23/00/image_10032025_23_01_07_30963.jpg
MAIN: 2025-03-10 23:01:07,396 - INFO - duration: 0.679767447989434
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:01:36,957 - INFO - taking picture
MAIN: 2025-03-10 23:01:36,958 - INFO - we take 1983 photos in this while loop
MAIN: 2025-03-10 23:01:36,958 - INFO - /home/pi/Desktop/images/10032025/23/01/image_10032025_23_01_36_29542.jpg
MAIN: 2025-03-10 23:01:36,958 - INFO - duration: 0.6993678129947511
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:02:06,746 - INFO - taking picture
MAIN: 2025-03-10 23:02:06,747 - INFO - we take 1984 photos in this while loop
MAIN: 2025-03-10 23:02:06,747 - INFO - /home/pi/Desktop/images/10032025/23/01/image_10032025_23_02_06_29822.jpg
MAIN: 2025-03-10 23:02:06,747 - INFO - duration: 0.6653405200049747
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:02:36,262 - INFO - taking picture
MAIN: 2025-03-10 23:02:36,263 - INFO - we take 1985 photos in this while loop
MAIN: 2025-03-10 23:02:36,263 - INFO - /home/pi/Desktop/images/10032025/23/02/image_10032025_23_02_35_29482.jpg
MAIN: 2025-03-10 23:02:36,263 - INFO - duration: 0.6989360410079826
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:03:07,122 - INFO - taking picture
MAIN: 2025-03-10 23:03:07,122 - INFO - we take 1986 photos in this while loop
MAIN: 2025-03-10 23:03:07,123 - INFO - /home/pi/Desktop/images/10032025/23/02/image_10032025_23_03_06_30904.jpg
MAIN: 2025-03-10 23:03:07,123 - INFO - duration: 0.6540674480056623
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:03:36,661 - INFO - taking picture
MAIN: 2025-03-10 23:03:36,662 - INFO - we take 1987 photos in this while loop
MAIN: 2025-03-10 23:03:36,662 - INFO - /home/pi/Desktop/images/10032025/23/03/image_10032025_23_03_36_29532.jpg
MAIN: 2025-03-10 23:03:36,662 - INFO - duration: 0.6605530730012106
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:04:06,682 - INFO - taking picture
MAIN: 2025-03-10 23:04:06,682 - INFO - we take 1988 photos in this while loop
MAIN: 2025-03-10 23:04:06,683 - INFO - /home/pi/Desktop/images/10032025/23/03/image_10032025_23_04_06_30044.jpg
MAIN: 2025-03-10 23:04:06,683 - INFO - duration: 0.636729791003745
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:04:36,437 - INFO - taking picture
MAIN: 2025-03-10 23:04:36,438 - INFO - we take 1989 photos in this while loop
MAIN: 2025-03-10 23:04:36,438 - INFO - /home/pi/Desktop/images/10032025/23/04/image_10032025_23_04_36_29685.jpg
MAIN: 2025-03-10 23:04:36,438 - INFO - duration: 0.7069177600060357
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:05:06,492 - INFO - taking picture
MAIN: 2025-03-10 23:05:06,493 - INFO - we take 1990 photos in this while loop
MAIN: 2025-03-10 23:05:06,493 - INFO - /home/pi/Desktop/images/10032025/23/04/image_10032025_23_05_06_30071.jpg
MAIN: 2025-03-10 23:05:06,493 - INFO - duration: 0.6904720309976256
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:05:37,384 - INFO - taking picture
MAIN: 2025-03-10 23:05:37,384 - INFO - we take 1991 photos in this while loop
MAIN: 2025-03-10 23:05:37,384 - INFO - /home/pi/Desktop/images/10032025/23/05/image_10032025_23_05_37_30884.jpg
MAIN: 2025-03-10 23:05:37,385 - INFO - duration: 0.696847292012535
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:06:07,528 - INFO - taking picture
MAIN: 2025-03-10 23:06:07,529 - INFO - we take 1992 photos in this while loop
MAIN: 2025-03-10 23:06:07,529 - INFO - /home/pi/Desktop/images/10032025/23/05/image_10032025_23_06_07_30151.jpg
MAIN: 2025-03-10 23:06:07,529 - INFO - duration: 0.6901807289978024
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:06:37,080 - INFO - taking picture
MAIN: 2025-03-10 23:06:37,081 - INFO - we take 1993 photos in this while loop
MAIN: 2025-03-10 23:06:37,081 - INFO - /home/pi/Desktop/images/10032025/23/06/image_10032025_23_06_36_29540.jpg
MAIN: 2025-03-10 23:06:37,081 - INFO - duration: 0.7012742179940687
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:07:06,778 - INFO - taking picture
MAIN: 2025-03-10 23:07:06,778 - INFO - we take 1994 photos in this while loop
MAIN: 2025-03-10 23:07:06,778 - INFO - /home/pi/Desktop/images/10032025/23/06/image_10032025_23_07_06_29693.jpg
MAIN: 2025-03-10 23:07:06,779 - INFO - duration: 0.7055610409879591
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:07:37,451 - INFO - taking picture
MAIN: 2025-03-10 23:07:37,452 - INFO - we take 1995 photos in this while loop
MAIN: 2025-03-10 23:07:37,452 - INFO - /home/pi/Desktop/images/10032025/23/07/image_10032025_23_07_37_30737.jpg
MAIN: 2025-03-10 23:07:37,452 - INFO - duration: 0.6415829159959685
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:08:07,339 - INFO - taking picture
MAIN: 2025-03-10 23:08:07,339 - INFO - we take 1996 photos in this while loop
MAIN: 2025-03-10 23:08:07,339 - INFO - /home/pi/Desktop/images/10032025/23/07/image_10032025_23_08_06_29878.jpg
MAIN: 2025-03-10 23:08:07,340 - INFO - duration: 0.6507129160017939
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:08:37,022 - INFO - taking picture
MAIN: 2025-03-10 23:08:37,023 - INFO - we take 1997 photos in this while loop
MAIN: 2025-03-10 23:08:37,023 - INFO - /home/pi/Desktop/images/10032025/23/08/image_10032025_23_08_36_29633.jpg
MAIN: 2025-03-10 23:08:37,023 - INFO - duration: 0.7014565099962056
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:09:06,967 - INFO - taking picture
MAIN: 2025-03-10 23:09:06,968 - INFO - we take 1998 photos in this while loop
MAIN: 2025-03-10 23:09:06,968 - INFO - /home/pi/Desktop/images/10032025/23/08/image_10032025_23_09_06_29957.jpg
MAIN: 2025-03-10 23:09:06,968 - INFO - duration: 0.6883984369924292
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:09:36,545 - INFO - taking picture
MAIN: 2025-03-10 23:09:36,545 - INFO - we take 1999 photos in this while loop
MAIN: 2025-03-10 23:09:36,546 - INFO - /home/pi/Desktop/images/10032025/23/09/image_10032025_23_09_36_29572.jpg
MAIN: 2025-03-10 23:09:36,546 - INFO - duration: 0.6937016140000196
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:10:06,418 - INFO - taking picture
MAIN: 2025-03-10 23:10:06,419 - INFO - we take 2000 photos in this while loop
MAIN: 2025-03-10 23:10:06,419 - INFO - /home/pi/Desktop/images/10032025/23/09/image_10032025_23_10_06_29893.jpg
MAIN: 2025-03-10 23:10:06,419 - INFO - duration: 0.6740111459948821
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:10:37,255 - INFO - taking picture
MAIN: 2025-03-10 23:10:37,255 - INFO - we take 2001 photos in this while loop
MAIN: 2025-03-10 23:10:37,255 - INFO - /home/pi/Desktop/images/10032025/23/10/image_10032025_23_10_36_30817.jpg
MAIN: 2025-03-10 23:10:37,256 - INFO - duration: 0.6932260939938715
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:11:07,018 - INFO - taking picture
MAIN: 2025-03-10 23:11:07,018 - INFO - we take 2002 photos in this while loop
MAIN: 2025-03-10 23:11:07,018 - INFO - /home/pi/Desktop/images/10032025/23/10/image_10032025_23_11_06_29754.jpg
MAIN: 2025-03-10 23:11:07,018 - INFO - duration: 0.7011577080120333
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:11:36,669 - INFO - taking picture
MAIN: 2025-03-10 23:11:36,670 - INFO - we take 2003 photos in this while loop
MAIN: 2025-03-10 23:11:36,670 - INFO - /home/pi/Desktop/images/10032025/23/11/image_10032025_23_11_36_29662.jpg
MAIN: 2025-03-10 23:11:36,670 - INFO - duration: 0.690451613991172
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:12:06,573 - INFO - taking picture
MAIN: 2025-03-10 23:12:06,574 - INFO - we take 2004 photos in this while loop
MAIN: 2025-03-10 23:12:06,574 - INFO - /home/pi/Desktop/images/10032025/23/11/image_10032025_23_12_06_29897.jpg
MAIN: 2025-03-10 23:12:06,574 - INFO - duration: 0.6967083329946036
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:12:37,434 - INFO - taking picture
MAIN: 2025-03-10 23:12:37,434 - INFO - we take 2005 photos in this while loop
MAIN: 2025-03-10 23:12:37,435 - INFO - /home/pi/Desktop/images/10032025/23/12/image_10032025_23_12_37_30860.jpg
MAIN: 2025-03-10 23:12:37,435 - INFO - duration: 0.6970282810070785
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:13:06,282 - INFO - taking picture
MAIN: 2025-03-10 23:13:06,283 - INFO - we take 2006 photos in this while loop
MAIN: 2025-03-10 23:13:06,283 - INFO - /home/pi/Desktop/images/10032025/23/12/image_10032025_23_13_05_28873.jpg
MAIN: 2025-03-10 23:13:06,283 - INFO - duration: 0.6722427080094349
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:13:37,218 - INFO - taking picture
MAIN: 2025-03-10 23:13:37,219 - INFO - we take 2007 photos in this while loop
MAIN: 2025-03-10 23:13:37,219 - INFO - /home/pi/Desktop/images/10032025/23/13/image_10032025_23_13_36_30919.jpg
MAIN: 2025-03-10 23:13:37,219 - INFO - duration: 0.6888208330055932
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:14:07,066 - INFO - taking picture
MAIN: 2025-03-10 23:14:07,066 - INFO - we take 2008 photos in this while loop
MAIN: 2025-03-10 23:14:07,066 - INFO - /home/pi/Desktop/images/10032025/23/13/image_10032025_23_14_06_29839.jpg
MAIN: 2025-03-10 23:14:07,067 - INFO - duration: 0.6962241669971263
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:14:36,674 - INFO - taking picture
MAIN: 2025-03-10 23:14:36,674 - INFO - we take 2009 photos in this while loop
MAIN: 2025-03-10 23:14:36,674 - INFO - /home/pi/Desktop/images/10032025/23/14/image_10032025_23_14_36_29603.jpg
MAIN: 2025-03-10 23:14:36,675 - INFO - duration: 0.7011183330032509
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:15:06,893 - INFO - taking picture
MAIN: 2025-03-10 23:15:06,894 - INFO - we take 2010 photos in this while loop
MAIN: 2025-03-10 23:15:06,894 - INFO - /home/pi/Desktop/images/10032025/23/14/image_10032025_23_15_06_30228.jpg
MAIN: 2025-03-10 23:15:06,894 - INFO - duration: 0.691583540989086
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:15:36,379 - INFO - taking picture
MAIN: 2025-03-10 23:15:36,380 - INFO - we take 2011 photos in this while loop
MAIN: 2025-03-10 23:15:36,380 - INFO - /home/pi/Desktop/images/10032025/23/15/image_10032025_23_15_35_29471.jpg
MAIN: 2025-03-10 23:15:36,380 - INFO - duration: 0.7061384890112095
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:16:07,323 - INFO - taking picture
MAIN: 2025-03-10 23:16:07,323 - INFO - we take 2012 photos in this while loop
MAIN: 2025-03-10 23:16:07,324 - INFO - /home/pi/Desktop/images/10032025/23/15/image_10032025_23_16_06_30957.jpg
MAIN: 2025-03-10 23:16:07,324 - INFO - duration: 0.692171665999922
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:16:36,844 - INFO - taking picture
MAIN: 2025-03-10 23:16:36,845 - INFO - we take 2013 photos in this while loop
MAIN: 2025-03-10 23:16:36,845 - INFO - /home/pi/Desktop/images/10032025/23/16/image_10032025_23_16_36_29519.jpg
MAIN: 2025-03-10 23:16:36,845 - INFO - duration: 0.6939807289891178
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:17:06,447 - INFO - taking picture
MAIN: 2025-03-10 23:17:06,448 - INFO - we take 2014 photos in this while loop
MAIN: 2025-03-10 23:17:06,448 - INFO - /home/pi/Desktop/images/10032025/23/16/image_10032025_23_17_06_29609.jpg
MAIN: 2025-03-10 23:17:06,448 - INFO - duration: 0.6876008849940263
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:17:37,143 - INFO - taking picture
MAIN: 2025-03-10 23:17:37,144 - INFO - we take 2015 photos in this while loop
MAIN: 2025-03-10 23:17:37,144 - INFO - /home/pi/Desktop/images/10032025/23/17/image_10032025_23_17_36_30687.jpg
MAIN: 2025-03-10 23:17:37,144 - INFO - duration: 0.6958024480118183
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:18:06,986 - INFO - taking picture
MAIN: 2025-03-10 23:18:06,987 - INFO - we take 2016 photos in this while loop
MAIN: 2025-03-10 23:18:06,987 - INFO - /home/pi/Desktop/images/10032025/23/17/image_10032025_23_18_06_29840.jpg
MAIN: 2025-03-10 23:18:06,987 - INFO - duration: 0.6988228650006931
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:18:36,608 - INFO - taking picture
MAIN: 2025-03-10 23:18:36,608 - INFO - we take 2017 photos in this while loop
MAIN: 2025-03-10 23:18:36,609 - INFO - /home/pi/Desktop/images/10032025/23/18/image_10032025_23_18_36_29641.jpg
MAIN: 2025-03-10 23:18:36,609 - INFO - duration: 0.6788114060036605
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:19:06,446 - INFO - taking picture
MAIN: 2025-03-10 23:19:06,446 - INFO - we take 2018 photos in this while loop
MAIN: 2025-03-10 23:19:06,446 - INFO - /home/pi/Desktop/images/10032025/23/18/image_10032025_23_19_06_29838.jpg
MAIN: 2025-03-10 23:19:06,447 - INFO - duration: 0.6785307289974298
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:19:37,207 - INFO - taking picture
MAIN: 2025-03-10 23:19:37,207 - INFO - we take 2019 photos in this while loop
MAIN: 2025-03-10 23:19:37,207 - INFO - /home/pi/Desktop/images/10032025/23/19/image_10032025_23_19_36_30734.jpg
MAIN: 2025-03-10 23:19:37,207 - INFO - duration: 0.7043788540031528
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:20:07,314 - INFO - taking picture
MAIN: 2025-03-10 23:20:07,315 - INFO - we take 2020 photos in this while loop
MAIN: 2025-03-10 23:20:07,315 - INFO - /home/pi/Desktop/images/10032025/23/19/image_10032025_23_20_06_30146.jpg
MAIN: 2025-03-10 23:20:07,315 - INFO - duration: 0.6657885419990635
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:20:36,682 - INFO - taking picture
MAIN: 2025-03-10 23:20:36,682 - INFO - we take 2021 photos in this while loop
MAIN: 2025-03-10 23:20:36,683 - INFO - /home/pi/Desktop/images/10032025/23/20/image_10032025_23_20_36_29358.jpg
MAIN: 2025-03-10 23:20:36,683 - INFO - duration: 0.674545781002962
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:21:06,675 - INFO - taking picture
MAIN: 2025-03-10 23:21:06,676 - INFO - we take 2022 photos in this while loop
MAIN: 2025-03-10 23:21:06,676 - INFO - /home/pi/Desktop/images/10032025/23/20/image_10032025_23_21_06_29976.jpg
MAIN: 2025-03-10 23:21:06,676 - INFO - duration: 0.690709375005099
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:21:37,457 - INFO - taking picture
MAIN: 2025-03-10 23:21:37,457 - INFO - we take 2023 photos in this while loop
MAIN: 2025-03-10 23:21:37,457 - INFO - /home/pi/Desktop/images/10032025/23/21/image_10032025_23_21_37_30781.jpg
MAIN: 2025-03-10 23:21:37,458 - INFO - duration: 0.690791094006272
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:22:07,470 - INFO - taking picture
MAIN: 2025-03-10 23:22:07,470 - INFO - we take 2024 photos in this while loop
MAIN: 2025-03-10 23:22:07,470 - INFO - /home/pi/Desktop/images/10032025/23/21/image_10032025_23_22_07_30005.jpg
MAIN: 2025-03-10 23:22:07,471 - INFO - duration: 0.6986309890053235
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:22:36,919 - INFO - taking picture
MAIN: 2025-03-10 23:22:36,920 - INFO - we take 2025 photos in this while loop
MAIN: 2025-03-10 23:22:36,920 - INFO - /home/pi/Desktop/images/10032025/23/22/image_10032025_23_22_36_29472.jpg
MAIN: 2025-03-10 23:22:36,920 - INFO - duration: 0.6755874469963601
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:23:06,555 - INFO - taking picture
MAIN: 2025-03-10 23:23:06,555 - INFO - we take 2026 photos in this while loop
MAIN: 2025-03-10 23:23:06,555 - INFO - /home/pi/Desktop/images/10032025/23/22/image_10032025_23_23_06_29616.jpg
MAIN: 2025-03-10 23:23:06,556 - INFO - duration: 0.694193229006487
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:23:37,423 - INFO - taking picture
MAIN: 2025-03-10 23:23:37,423 - INFO - we take 2027 photos in this while loop
MAIN: 2025-03-10 23:23:37,424 - INFO - /home/pi/Desktop/images/10032025/23/23/image_10032025_23_23_37_30860.jpg
MAIN: 2025-03-10 23:23:37,424 - INFO - duration: 0.7015167179924902
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:24:07,238 - INFO - taking picture
MAIN: 2025-03-10 23:24:07,239 - INFO - we take 2028 photos in this while loop
MAIN: 2025-03-10 23:24:07,239 - INFO - /home/pi/Desktop/images/10032025/23/23/image_10032025_23_24_06_29827.jpg
MAIN: 2025-03-10 23:24:07,239 - INFO - duration: 0.6900180200027535
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:24:36,913 - INFO - taking picture
MAIN: 2025-03-10 23:24:36,914 - INFO - we take 2029 photos in this while loop
MAIN: 2025-03-10 23:24:36,914 - INFO - /home/pi/Desktop/images/10032025/23/24/image_10032025_23_24_36_29663.jpg
MAIN: 2025-03-10 23:24:36,914 - INFO - duration: 0.70169322899892
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:25:06,930 - INFO - taking picture
MAIN: 2025-03-10 23:25:06,930 - INFO - we take 2030 photos in this while loop
MAIN: 2025-03-10 23:25:06,931 - INFO - /home/pi/Desktop/images/10032025/23/24/image_10032025_23_25_06_30042.jpg
MAIN: 2025-03-10 23:25:06,931 - INFO - duration: 0.6764005209988682
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:25:36,427 - INFO - taking picture
MAIN: 2025-03-10 23:25:36,427 - INFO - we take 2031 photos in this while loop
MAIN: 2025-03-10 23:25:36,427 - INFO - /home/pi/Desktop/images/10032025/23/25/image_10032025_23_25_36_29478.jpg
MAIN: 2025-03-10 23:25:36,428 - INFO - duration: 0.6945042699953774
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:26:07,454 - INFO - taking picture
MAIN: 2025-03-10 23:26:07,455 - INFO - we take 2032 photos in this while loop
MAIN: 2025-03-10 23:26:07,455 - INFO - /home/pi/Desktop/images/10032025/23/25/image_10032025_23_26_07_31028.jpg
MAIN: 2025-03-10 23:26:07,455 - INFO - duration: 0.6930426040053135
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:26:36,963 - INFO - taking picture
MAIN: 2025-03-10 23:26:36,963 - INFO - we take 2033 photos in this while loop
MAIN: 2025-03-10 23:26:36,963 - INFO - /home/pi/Desktop/images/10032025/23/26/image_10032025_23_26_36_29535.jpg
MAIN: 2025-03-10 23:26:36,964 - INFO - duration: 0.6663777080102591
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:27:06,814 - INFO - taking picture
MAIN: 2025-03-10 23:27:06,815 - INFO - we take 2034 photos in this while loop
MAIN: 2025-03-10 23:27:06,815 - INFO - /home/pi/Desktop/images/10032025/23/26/image_10032025_23_27_06_29853.jpg
MAIN: 2025-03-10 23:27:06,815 - INFO - duration: 0.6646604690031381
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:27:36,333 - INFO - taking picture
MAIN: 2025-03-10 23:27:36,334 - INFO - we take 2035 photos in this while loop
MAIN: 2025-03-10 23:27:36,334 - INFO - /home/pi/Desktop/images/10032025/23/27/image_10032025_23_27_35_29505.jpg
MAIN: 2025-03-10 23:27:36,334 - INFO - duration: 0.678029061993584
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:28:06,372 - INFO - taking picture
MAIN: 2025-03-10 23:28:06,372 - INFO - we take 2036 photos in this while loop
MAIN: 2025-03-10 23:28:06,372 - INFO - /home/pi/Desktop/images/10032025/23/27/image_10032025_23_28_05_30019.jpg
MAIN: 2025-03-10 23:28:06,373 - INFO - duration: 0.6967180719948374
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:28:37,252 - INFO - taking picture
MAIN: 2025-03-10 23:28:37,253 - INFO - we take 2037 photos in this while loop
MAIN: 2025-03-10 23:28:37,253 - INFO - /home/pi/Desktop/images/10032025/23/28/image_10032025_23_28_36_30890.jpg
MAIN: 2025-03-10 23:28:37,253 - INFO - duration: 0.6872171349968994
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:29:07,022 - INFO - taking picture
MAIN: 2025-03-10 23:29:07,022 - INFO - we take 2038 photos in this while loop
MAIN: 2025-03-10 23:29:07,023 - INFO - /home/pi/Desktop/images/10032025/23/28/image_10032025_23_29_06_29774.jpg
MAIN: 2025-03-10 23:29:07,023 - INFO - duration: 0.6824569270102074
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:29:36,667 - INFO - taking picture
MAIN: 2025-03-10 23:29:36,667 - INFO - we take 2039 photos in this while loop
MAIN: 2025-03-10 23:29:36,667 - INFO - /home/pi/Desktop/images/10032025/23/29/image_10032025_23_29_36_29658.jpg
MAIN: 2025-03-10 23:29:36,668 - INFO - duration: 0.6686754690017551
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:30:06,810 - INFO - taking picture
MAIN: 2025-03-10 23:30:06,810 - INFO - we take 2040 photos in this while loop
MAIN: 2025-03-10 23:30:06,811 - INFO - /home/pi/Desktop/images/10032025/23/29/image_10032025_23_30_06_30136.jpg
MAIN: 2025-03-10 23:30:06,811 - INFO - duration: 0.674958905990934
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:30:36,297 - INFO - taking picture
MAIN: 2025-03-10 23:30:36,298 - INFO - we take 2041 photos in this while loop
MAIN: 2025-03-10 23:30:36,298 - INFO - /home/pi/Desktop/images/10032025/23/30/image_10032025_23_30_35_29471.jpg
MAIN: 2025-03-10 23:30:36,298 - INFO - duration: 0.6911220829933882
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:31:07,401 - INFO - taking picture
MAIN: 2025-03-10 23:31:07,401 - INFO - we take 2042 photos in this while loop
MAIN: 2025-03-10 23:31:07,401 - INFO - /home/pi/Desktop/images/10032025/23/30/image_10032025_23_31_07_31100.jpg
MAIN: 2025-03-10 23:31:07,402 - INFO - duration: 0.6937279690027935
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:31:36,917 - INFO - taking picture
MAIN: 2025-03-10 23:31:36,917 - INFO - we take 2043 photos in this while loop
MAIN: 2025-03-10 23:31:36,918 - INFO - /home/pi/Desktop/images/10032025/23/31/image_10032025_23_31_36_29517.jpg
MAIN: 2025-03-10 23:31:36,918 - INFO - duration: 0.6923708850081312
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:32:06,952 - INFO - taking picture
MAIN: 2025-03-10 23:32:06,953 - INFO - we take 2044 photos in this while loop
MAIN: 2025-03-10 23:32:06,953 - INFO - /home/pi/Desktop/images/10032025/23/31/image_10032025_23_32_06_30040.jpg
MAIN: 2025-03-10 23:32:06,953 - INFO - duration: 0.6869248430011794
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:32:36,451 - INFO - taking picture
MAIN: 2025-03-10 23:32:36,451 - INFO - we take 2045 photos in this while loop
MAIN: 2025-03-10 23:32:36,451 - INFO - /home/pi/Desktop/images/10032025/23/32/image_10032025_23_32_36_29512.jpg
MAIN: 2025-03-10 23:32:36,452 - INFO - duration: 0.6728289060120005
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:33:07,468 - INFO - taking picture
MAIN: 2025-03-10 23:33:07,469 - INFO - we take 2046 photos in this while loop
MAIN: 2025-03-10 23:33:07,469 - INFO - /home/pi/Desktop/images/10032025/23/32/image_10032025_23_33_07_31022.jpg
MAIN: 2025-03-10 23:33:07,469 - INFO - duration: 0.6681025519937975
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:33:36,989 - INFO - taking picture
MAIN: 2025-03-10 23:33:36,990 - INFO - we take 2047 photos in this while loop
MAIN: 2025-03-10 23:33:36,990 - INFO - /home/pi/Desktop/images/10032025/23/33/image_10032025_23_33_36_29551.jpg
MAIN: 2025-03-10 23:33:36,990 - INFO - duration: 0.6373387500061654
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:34:06,604 - INFO - taking picture
MAIN: 2025-03-10 23:34:06,604 - INFO - we take 2048 photos in this while loop
MAIN: 2025-03-10 23:34:06,604 - INFO - /home/pi/Desktop/images/10032025/23/33/image_10032025_23_34_06_29608.jpg
MAIN: 2025-03-10 23:34:06,605 - INFO - duration: 0.6427511980000418
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:34:37,357 - INFO - taking picture
MAIN: 2025-03-10 23:34:37,357 - INFO - we take 2049 photos in this while loop
MAIN: 2025-03-10 23:34:37,358 - INFO - /home/pi/Desktop/images/10032025/23/34/image_10032025_23_34_36_30723.jpg
MAIN: 2025-03-10 23:34:37,358 - INFO - duration: 0.6720340619940544
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:35:07,270 - INFO - taking picture
MAIN: 2025-03-10 23:35:07,270 - INFO - we take 2050 photos in this while loop
MAIN: 2025-03-10 23:35:07,271 - INFO - /home/pi/Desktop/images/10032025/23/34/image_10032025_23_35_06_29917.jpg
MAIN: 2025-03-10 23:35:07,271 - INFO - duration: 0.6679447909991723
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:35:36,787 - INFO - taking picture
MAIN: 2025-03-10 23:35:36,787 - INFO - we take 2051 photos in this while loop
MAIN: 2025-03-10 23:35:36,788 - INFO - /home/pi/Desktop/images/10032025/23/35/image_10032025_23_35_36_29518.jpg
MAIN: 2025-03-10 23:35:36,788 - INFO - duration: 0.6662957289954647
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:36:06,669 - INFO - taking picture
MAIN: 2025-03-10 23:36:06,669 - INFO - we take 2052 photos in this while loop
MAIN: 2025-03-10 23:36:06,669 - INFO - /home/pi/Desktop/images/10032025/23/35/image_10032025_23_36_06_29877.jpg
MAIN: 2025-03-10 23:36:06,670 - INFO - duration: 0.6705227079946781
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:36:36,269 - INFO - taking picture
MAIN: 2025-03-10 23:36:36,270 - INFO - we take 2053 photos in this while loop
MAIN: 2025-03-10 23:36:36,270 - INFO - /home/pi/Desktop/images/10032025/23/36/image_10032025_23_36_35_29603.jpg
MAIN: 2025-03-10 23:36:36,270 - INFO - duration: 0.667828958001337
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:37:07,282 - INFO - taking picture
MAIN: 2025-03-10 23:37:07,283 - INFO - we take 2054 photos in this while loop
MAIN: 2025-03-10 23:37:07,283 - INFO - /home/pi/Desktop/images/10032025/23/36/image_10032025_23_37_06_30982.jpg
MAIN: 2025-03-10 23:37:07,283 - INFO - duration: 0.6985780209943186
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:37:36,961 - INFO - taking picture
MAIN: 2025-03-10 23:37:36,962 - INFO - we take 2055 photos in this while loop
MAIN: 2025-03-10 23:37:36,962 - INFO - /home/pi/Desktop/images/10032025/23/37/image_10032025_23_37_36_29675.jpg
MAIN: 2025-03-10 23:37:36,963 - INFO - duration: 0.7019302600092487
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:38:07,101 - INFO - taking picture
MAIN: 2025-03-10 23:38:07,101 - INFO - we take 2056 photos in this while loop
MAIN: 2025-03-10 23:38:07,101 - INFO - /home/pi/Desktop/images/10032025/23/37/image_10032025_23_38_06_30138.jpg
MAIN: 2025-03-10 23:38:07,102 - INFO - duration: 0.7024302079953486
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:38:36,686 - INFO - taking picture
MAIN: 2025-03-10 23:38:36,687 - INFO - we take 2057 photos in this while loop
MAIN: 2025-03-10 23:38:36,687 - INFO - /home/pi/Desktop/images/10032025/23/38/image_10032025_23_38_36_29583.jpg
MAIN: 2025-03-10 23:38:36,687 - INFO - duration: 0.7042356769961771
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:39:06,475 - INFO - taking picture
MAIN: 2025-03-10 23:39:06,476 - INFO - we take 2058 photos in this while loop
MAIN: 2025-03-10 23:39:06,476 - INFO - /home/pi/Desktop/images/10032025/23/38/image_10032025_23_39_06_29787.jpg
MAIN: 2025-03-10 23:39:06,476 - INFO - duration: 0.7060855730087496
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:39:37,196 - INFO - taking picture
MAIN: 2025-03-10 23:39:37,196 - INFO - we take 2059 photos in this while loop
MAIN: 2025-03-10 23:39:37,197 - INFO - /home/pi/Desktop/images/10032025/23/39/image_10032025_23_39_36_30784.jpg
MAIN: 2025-03-10 23:39:37,197 - INFO - duration: 0.6421052600053372
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:40:07,103 - INFO - taking picture
MAIN: 2025-03-10 23:40:07,104 - INFO - we take 2060 photos in this while loop
MAIN: 2025-03-10 23:40:07,104 - INFO - /home/pi/Desktop/images/10032025/23/39/image_10032025_23_40_06_29871.jpg
MAIN: 2025-03-10 23:40:07,104 - INFO - duration: 0.6777895830018679
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:40:36,557 - INFO - taking picture
MAIN: 2025-03-10 23:40:36,557 - INFO - we take 2061 photos in this while loop
MAIN: 2025-03-10 23:40:36,557 - INFO - /home/pi/Desktop/images/10032025/23/40/image_10032025_23_40_36_29485.jpg
MAIN: 2025-03-10 23:40:36,558 - INFO - duration: 0.6459070830023848
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:41:06,305 - INFO - taking picture
MAIN: 2025-03-10 23:41:06,305 - INFO - we take 2062 photos in this while loop
MAIN: 2025-03-10 23:41:06,305 - INFO - /home/pi/Desktop/images/10032025/23/40/image_10032025_23_41_05_29740.jpg
MAIN: 2025-03-10 23:41:06,306 - INFO - duration: 0.6532768750039395
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:41:37,208 - INFO - taking picture
MAIN: 2025-03-10 23:41:37,209 - INFO - we take 2063 photos in this while loop
MAIN: 2025-03-10 23:41:37,209 - INFO - /home/pi/Desktop/images/10032025/23/41/image_10032025_23_41_36_30886.jpg
MAIN: 2025-03-10 23:41:37,209 - INFO - duration: 0.6701330730138579
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:42:07,136 - INFO - taking picture
MAIN: 2025-03-10 23:42:07,136 - INFO - we take 2064 photos in this while loop
MAIN: 2025-03-10 23:42:07,136 - INFO - /home/pi/Desktop/images/10032025/23/41/image_10032025_23_42_06_29916.jpg
MAIN: 2025-03-10 23:42:07,137 - INFO - duration: 0.6809430200082716
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:42:36,734 - INFO - taking picture
MAIN: 2025-03-10 23:42:36,734 - INFO - we take 2065 photos in this while loop
MAIN: 2025-03-10 23:42:36,734 - INFO - /home/pi/Desktop/images/10032025/23/42/image_10032025_23_42_36_29577.jpg
MAIN: 2025-03-10 23:42:36,735 - INFO - duration: 0.7013785419985652
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:43:06,567 - INFO - taking picture
MAIN: 2025-03-10 23:43:06,567 - INFO - we take 2066 photos in this while loop
MAIN: 2025-03-10 23:43:06,567 - INFO - /home/pi/Desktop/images/10032025/23/42/image_10032025_23_43_06_29868.jpg
MAIN: 2025-03-10 23:43:06,568 - INFO - duration: 0.6662519789970247
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:43:37,541 - INFO - taking picture
MAIN: 2025-03-10 23:43:37,541 - INFO - we take 2067 photos in this while loop
MAIN: 2025-03-10 23:43:37,541 - INFO - /home/pi/Desktop/images/10032025/23/43/image_10032025_23_43_37_30912.jpg
MAIN: 2025-03-10 23:43:37,542 - INFO - duration: 0.7277767710038461
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:44:06,245 - INFO - taking picture
MAIN: 2025-03-10 23:44:06,246 - INFO - we take 2068 photos in this while loop
MAIN: 2025-03-10 23:44:06,246 - INFO - /home/pi/Desktop/images/10032025/23/43/image_10032025_23_44_05_28759.jpg
MAIN: 2025-03-10 23:44:06,246 - INFO - duration: 0.672385937999934
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:44:37,064 - INFO - taking picture
MAIN: 2025-03-10 23:44:37,064 - INFO - we take 2069 photos in this while loop
MAIN: 2025-03-10 23:44:37,064 - INFO - /home/pi/Desktop/images/10032025/23/44/image_10032025_23_44_36_30829.jpg
MAIN: 2025-03-10 23:44:37,065 - INFO - duration: 0.6614329680014635
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:45:07,030 - INFO - taking picture
MAIN: 2025-03-10 23:45:07,031 - INFO - we take 2070 photos in this while loop
MAIN: 2025-03-10 23:45:07,031 - INFO - /home/pi/Desktop/images/10032025/23/44/image_10032025_23_45_06_29943.jpg
MAIN: 2025-03-10 23:45:07,031 - INFO - duration: 0.6842568229913013
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:45:36,584 - INFO - taking picture
MAIN: 2025-03-10 23:45:36,585 - INFO - we take 2071 photos in this while loop
MAIN: 2025-03-10 23:45:36,585 - INFO - /home/pi/Desktop/images/10032025/23/45/image_10032025_23_45_36_29593.jpg
MAIN: 2025-03-10 23:45:36,585 - INFO - duration: 0.6450329680083087
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:46:06,441 - INFO - taking picture
MAIN: 2025-03-10 23:46:06,441 - INFO - we take 2072 photos in this while loop
MAIN: 2025-03-10 23:46:06,442 - INFO - /home/pi/Desktop/images/10032025/23/45/image_10032025_23_46_06_29865.jpg
MAIN: 2025-03-10 23:46:06,442 - INFO - duration: 0.6362931769981515
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:46:37,348 - INFO - taking picture
MAIN: 2025-03-10 23:46:37,348 - INFO - we take 2073 photos in this while loop
MAIN: 2025-03-10 23:46:37,348 - INFO - /home/pi/Desktop/images/10032025/23/46/image_10032025_23_46_36_30853.jpg
MAIN: 2025-03-10 23:46:37,349 - INFO - duration: 0.6894706759921974
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:47:06,915 - INFO - taking picture
MAIN: 2025-03-10 23:47:06,915 - INFO - we take 2074 photos in this while loop
MAIN: 2025-03-10 23:47:06,916 - INFO - /home/pi/Desktop/images/10032025/23/46/image_10032025_23_47_06_29569.jpg
MAIN: 2025-03-10 23:47:06,916 - INFO - duration: 0.6877269789983984
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:47:36,479 - INFO - taking picture
MAIN: 2025-03-10 23:47:36,480 - INFO - we take 2075 photos in this while loop
MAIN: 2025-03-10 23:47:36,480 - INFO - /home/pi/Desktop/images/10032025/23/47/image_10032025_23_47_36_29551.jpg
MAIN: 2025-03-10 23:47:36,480 - INFO - duration: 0.7001134380116127
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:48:06,549 - INFO - taking picture
MAIN: 2025-03-10 23:48:06,550 - INFO - we take 2076 photos in this while loop
MAIN: 2025-03-10 23:48:06,550 - INFO - /home/pi/Desktop/images/10032025/23/47/image_10032025_23_48_06_30090.jpg
MAIN: 2025-03-10 23:48:06,550 - INFO - duration: 0.6796665099973325
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:48:37,458 - INFO - taking picture
MAIN: 2025-03-10 23:48:37,459 - INFO - we take 2077 photos in this while loop
MAIN: 2025-03-10 23:48:37,459 - INFO - /home/pi/Desktop/images/10032025/23/48/image_10032025_23_48_37_30932.jpg
MAIN: 2025-03-10 23:48:37,459 - INFO - duration: 0.6562856249947799
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:49:07,121 - INFO - taking picture
MAIN: 2025-03-10 23:49:07,122 - INFO - we take 2078 photos in this while loop
MAIN: 2025-03-10 23:49:07,122 - INFO - /home/pi/Desktop/images/10032025/23/48/image_10032025_23_49_06_29676.jpg
MAIN: 2025-03-10 23:49:07,122 - INFO - duration: 0.6433184380002785
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:49:36,655 - INFO - taking picture
MAIN: 2025-03-10 23:49:36,655 - INFO - we take 2079 photos in this while loop
MAIN: 2025-03-10 23:49:36,656 - INFO - /home/pi/Desktop/images/10032025/23/49/image_10032025_23_49_36_29529.jpg
MAIN: 2025-03-10 23:49:36,656 - INFO - duration: 0.6470638540049549
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:50:06,773 - INFO - taking picture
MAIN: 2025-03-10 23:50:06,774 - INFO - we take 2080 photos in this while loop
MAIN: 2025-03-10 23:50:06,774 - INFO - /home/pi/Desktop/images/10032025/23/49/image_10032025_23_50_06_30097.jpg
MAIN: 2025-03-10 23:50:06,774 - INFO - duration: 0.6673828130005859
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:50:36,466 - INFO - taking picture
MAIN: 2025-03-10 23:50:36,466 - INFO - we take 2081 photos in this while loop
MAIN: 2025-03-10 23:50:36,466 - INFO - /home/pi/Desktop/images/10032025/23/50/image_10032025_23_50_36_29668.jpg
MAIN: 2025-03-10 23:50:36,467 - INFO - duration: 0.6919538020010805
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:51:06,312 - INFO - taking picture
MAIN: 2025-03-10 23:51:06,313 - INFO - we take 2082 photos in this while loop
MAIN: 2025-03-10 23:51:06,313 - INFO - /home/pi/Desktop/images/10032025/23/50/image_10032025_23_51_05_29849.jpg
MAIN: 2025-03-10 23:51:06,313 - INFO - duration: 0.6887976040015928
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:51:37,086 - INFO - taking picture
MAIN: 2025-03-10 23:51:37,087 - INFO - we take 2083 photos in this while loop
MAIN: 2025-03-10 23:51:37,087 - INFO - /home/pi/Desktop/images/10032025/23/51/image_10032025_23_51_36_30781.jpg
MAIN: 2025-03-10 23:51:37,087 - INFO - duration: 0.6815646350005409
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:52:06,813 - INFO - taking picture
MAIN: 2025-03-10 23:52:06,813 - INFO - we take 2084 photos in this while loop
MAIN: 2025-03-10 23:52:06,814 - INFO - /home/pi/Desktop/images/10032025/23/51/image_10032025_23_52_06_29710.jpg
MAIN: 2025-03-10 23:52:06,814 - INFO - duration: 0.6980992700118804
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:52:36,342 - INFO - taking picture
MAIN: 2025-03-10 23:52:36,342 - INFO - we take 2085 photos in this while loop
MAIN: 2025-03-10 23:52:36,343 - INFO - /home/pi/Desktop/images/10032025/23/52/image_10032025_23_52_35_29529.jpg
MAIN: 2025-03-10 23:52:36,343 - INFO - duration: 0.6971371869876748
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:53:07,412 - INFO - taking picture
MAIN: 2025-03-10 23:53:07,413 - INFO - we take 2086 photos in this while loop
MAIN: 2025-03-10 23:53:07,413 - INFO - /home/pi/Desktop/images/10032025/23/52/image_10032025_23_53_07_31123.jpg
MAIN: 2025-03-10 23:53:07,413 - INFO - duration: 0.6439513530058321
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:53:36,911 - INFO - taking picture
MAIN: 2025-03-10 23:53:36,912 - INFO - we take 2087 photos in this while loop
MAIN: 2025-03-10 23:53:36,912 - INFO - /home/pi/Desktop/images/10032025/23/53/image_10032025_23_53_36_29495.jpg
MAIN: 2025-03-10 23:53:36,912 - INFO - duration: 0.647975938001764
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:54:06,766 - INFO - taking picture
MAIN: 2025-03-10 23:54:06,767 - INFO - we take 2088 photos in this while loop
MAIN: 2025-03-10 23:54:06,767 - INFO - /home/pi/Desktop/images/10032025/23/53/image_10032025_23_54_06_29863.jpg
MAIN: 2025-03-10 23:54:06,767 - INFO - duration: 0.6390336979966378
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:54:36,269 - INFO - taking picture
MAIN: 2025-03-10 23:54:36,270 - INFO - we take 2089 photos in this while loop
MAIN: 2025-03-10 23:54:36,270 - INFO - /home/pi/Desktop/images/10032025/23/54/image_10032025_23_54_35_29464.jpg
MAIN: 2025-03-10 23:54:36,270 - INFO - duration: 0.6777691669994965
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:55:07,358 - INFO - taking picture
MAIN: 2025-03-10 23:55:07,359 - INFO - we take 2090 photos in this while loop
MAIN: 2025-03-10 23:55:07,359 - INFO - /home/pi/Desktop/images/10032025/23/54/image_10032025_23_55_06_31097.jpg
MAIN: 2025-03-10 23:55:07,359 - INFO - duration: 0.6692446870001731
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:55:37,000 - INFO - taking picture
MAIN: 2025-03-10 23:55:37,000 - INFO - we take 2091 photos in this while loop
MAIN: 2025-03-10 23:55:37,000 - INFO - /home/pi/Desktop/images/10032025/23/55/image_10032025_23_55_36_29612.jpg
MAIN: 2025-03-10 23:55:37,001 - INFO - duration: 0.6977678640105296
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:56:06,932 - INFO - taking picture
MAIN: 2025-03-10 23:56:06,933 - INFO - we take 2092 photos in this while loop
MAIN: 2025-03-10 23:56:06,933 - INFO - /home/pi/Desktop/images/10032025/23/55/image_10032025_23_56_06_29925.jpg
MAIN: 2025-03-10 23:56:06,933 - INFO - duration: 0.7049115620029625
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:56:36,548 - INFO - taking picture
MAIN: 2025-03-10 23:56:36,548 - INFO - we take 2093 photos in this while loop
MAIN: 2025-03-10 23:56:36,549 - INFO - /home/pi/Desktop/images/10032025/23/56/image_10032025_23_56_36_29627.jpg
MAIN: 2025-03-10 23:56:36,549 - INFO - duration: 0.6925729170034174
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:57:06,326 - INFO - taking picture
MAIN: 2025-03-10 23:57:06,327 - INFO - we take 2094 photos in this while loop
MAIN: 2025-03-10 23:57:06,327 - INFO - /home/pi/Desktop/images/10032025/23/56/image_10032025_23_57_05_29778.jpg
MAIN: 2025-03-10 23:57:06,327 - INFO - duration: 0.692704531000345
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:57:37,054 - INFO - taking picture
MAIN: 2025-03-10 23:57:37,054 - INFO - we take 2095 photos in this while loop
MAIN: 2025-03-10 23:57:37,055 - INFO - /home/pi/Desktop/images/10032025/23/57/image_10032025_23_57_36_30774.jpg
MAIN: 2025-03-10 23:57:37,055 - INFO - duration: 0.6454188019997673
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:58:06,670 - INFO - taking picture
MAIN: 2025-03-10 23:58:06,670 - INFO - we take 2096 photos in this while loop
MAIN: 2025-03-10 23:58:06,670 - INFO - /home/pi/Desktop/images/10032025/23/57/image_10032025_23_58_06_29617.jpg
MAIN: 2025-03-10 23:58:06,671 - INFO - duration: 0.6432752599939704
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:58:37,500 - INFO - taking picture
MAIN: 2025-03-10 23:58:37,500 - INFO - we take 2097 photos in this while loop
MAIN: 2025-03-10 23:58:37,501 - INFO - /home/pi/Desktop/images/10032025/23/58/image_10032025_23_58_37_30789.jpg
MAIN: 2025-03-10 23:58:37,501 - INFO - duration: 0.6844571870024083
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:59:07,128 - INFO - taking picture
MAIN: 2025-03-10 23:59:07,129 - INFO - we take 2098 photos in this while loop
MAIN: 2025-03-10 23:59:07,129 - INFO - /home/pi/Desktop/images/10032025/23/58/image_10032025_23_59_06_29641.jpg
MAIN: 2025-03-10 23:59:07,129 - INFO - duration: 0.6713273950008443
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-03-10 23:59:36,605 - INFO - taking picture
MAIN: 2025-03-10 23:59:36,605 - INFO - we take 2099 photos in this while loop
MAIN: 2025-03-10 23:59:36,606 - INFO - /home/pi/Desktop/images/10032025/23/59/image_10032025_23_59_36_29454.jpg
MAIN: 2025-03-10 23:59:36,606 - INFO - duration: 0.6933441659930395
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
