Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:30:37,254 - INFO - taking picture
MAIN: 2025-05-19 06:30:37,255 - INFO - we take 1 photos in this while loop
MAIN: 2025-05-19 06:30:37,255 - INFO - /home/pi/Desktop/images/19052025/06/30/image_19052025_06_30_36_30399.jpg
MAIN: 2025-05-19 06:30:37,255 - INFO - duration: 0.7656583040006808
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=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:31:08,421 - INFO - taking picture
MAIN: 2025-05-19 06:31:08,422 - INFO - we take 2 photos in this while loop
MAIN: 2025-05-19 06:31:08,423 - INFO - /home/pi/Desktop/images/19052025/06/30/image_19052025_06_31_07_30504.jpg
MAIN: 2025-05-19 06:31:08,423 - INFO - duration: 1.4289663720001045
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:31:38,450 - INFO - taking picture
MAIN: 2025-05-19 06:31:38,451 - INFO - we take 3 photos in this while loop
MAIN: 2025-05-19 06:31:38,452 - INFO - /home/pi/Desktop/images/19052025/06/31/image_19052025_06_31_37_30017.jpg
MAIN: 2025-05-19 06:31:38,452 - INFO - duration: 1.4409806209996532
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=38 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:32:09,155 - INFO - taking picture
MAIN: 2025-05-19 06:32:09,156 - INFO - we take 4 photos in this while loop
MAIN: 2025-05-19 06:32:09,157 - INFO - /home/pi/Desktop/images/19052025/06/31/image_19052025_06_32_08_30715.jpg
MAIN: 2025-05-19 06:32:09,157 - INFO - duration: 1.4308192130001771
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:32:38,795 - INFO - taking picture
MAIN: 2025-05-19 06:32:38,796 - INFO - we take 5 photos in this while loop
MAIN: 2025-05-19 06:32:38,797 - INFO - /home/pi/Desktop/images/19052025/06/32/image_19052025_06_32_37_29756.jpg
MAIN: 2025-05-19 06:32:38,797 - INFO - duration: 1.3149699309997231
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:33:08,476 - INFO - taking picture
MAIN: 2025-05-19 06:33:08,476 - INFO - we take 6 photos in this while loop
MAIN: 2025-05-19 06:33:08,476 - INFO - /home/pi/Desktop/images/19052025/06/32/image_19052025_06_33_07_29514.jpg
MAIN: 2025-05-19 06:33:08,476 - INFO - duration: 1.4795470170001863
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:33:38,336 - INFO - taking picture
MAIN: 2025-05-19 06:33:38,337 - INFO - we take 7 photos in this while loop
MAIN: 2025-05-19 06:33:38,337 - INFO - /home/pi/Desktop/images/19052025/06/33/image_19052025_06_33_37_29888.jpg
MAIN: 2025-05-19 06:33:38,337 - INFO - duration: 1.4519078659996012
Corrupt JPEG data: premature end of data segment
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=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:34:08,941 - INFO - taking picture
MAIN: 2025-05-19 06:34:08,942 - INFO - we take 8 photos in this while loop
MAIN: 2025-05-19 06:34:08,943 - INFO - /home/pi/Desktop/images/19052025/06/33/image_19052025_06_34_07_30124.jpg
MAIN: 2025-05-19 06:34:08,943 - INFO - duration: 1.9332756009998775
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:34:37,683 - INFO - taking picture
MAIN: 2025-05-19 06:34:37,684 - INFO - we take 9 photos in this while loop
MAIN: 2025-05-19 06:34:37,684 - INFO - /home/pi/Desktop/images/19052025/06/34/image_19052025_06_34_36_29345.jpg
MAIN: 2025-05-19 06:34:37,685 - INFO - duration: 1.3297975450004742
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:35:08,165 - INFO - taking picture
MAIN: 2025-05-19 06:35:08,166 - INFO - we take 10 photos in this while loop
MAIN: 2025-05-19 06:35:08,167 - INFO - /home/pi/Desktop/images/19052025/06/34/image_19052025_06_35_07_29961.jpg
MAIN: 2025-05-19 06:35:08,168 - INFO - duration: 1.8512069589996827
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:35:37,647 - INFO - taking picture
MAIN: 2025-05-19 06:35:37,648 - INFO - we take 11 photos in this while loop
MAIN: 2025-05-19 06:35:37,648 - INFO - /home/pi/Desktop/images/19052025/06/35/image_19052025_06_35_36_30133.jpg
MAIN: 2025-05-19 06:35:37,649 - INFO - duration: 1.1981732780004677
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=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:36:09,165 - INFO - taking picture
MAIN: 2025-05-19 06:36:09,166 - INFO - we take 12 photos in this while loop
MAIN: 2025-05-19 06:36:09,167 - INFO - /home/pi/Desktop/images/19052025/06/35/image_19052025_06_36_08_31082.jpg
MAIN: 2025-05-19 06:36:09,168 - INFO - duration: 1.6344585470005768
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:36:37,640 - INFO - taking picture
MAIN: 2025-05-19 06:36:37,642 - INFO - we take 13 photos in this while loop
MAIN: 2025-05-19 06:36:37,642 - INFO - /home/pi/Desktop/images/19052025/06/36/image_19052025_06_36_37_28946.jpg
MAIN: 2025-05-19 06:36:37,642 - INFO - duration: 1.1623577279997335
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=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:37:09,030 - INFO - taking picture
MAIN: 2025-05-19 06:37:09,031 - INFO - we take 14 photos in this while loop
MAIN: 2025-05-19 06:37:09,032 - INFO - /home/pi/Desktop/images/19052025/06/36/image_19052025_06_37_08_31115.jpg
MAIN: 2025-05-19 06:37:09,032 - INFO - duration: 1.437129499000548
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:37:37,972 - INFO - taking picture
MAIN: 2025-05-19 06:37:37,974 - INFO - we take 15 photos in this while loop
MAIN: 2025-05-19 06:37:37,974 - INFO - /home/pi/Desktop/images/19052025/06/37/image_19052025_06_37_37_29035.jpg
MAIN: 2025-05-19 06:37:37,975 - INFO - duration: 1.3435796329995355
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2025-05-19 06:38:08,400 - INFO - taking picture
MAIN: 2025-05-19 06:38:08,402 - INFO - we take 16 photos in this while loop
MAIN: 2025-05-19 06:38:08,403 - INFO - /home/pi/Desktop/images/19052025/06/37/image_19052025_06_38_07_29754.jpg
MAIN: 2025-05-19 06:38:08,404 - INFO - duration: 2.0181682680004087
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:38:38,577 - INFO - taking picture
MAIN: 2025-05-19 06:38:38,578 - INFO - we take 17 photos in this while loop
MAIN: 2025-05-19 06:38:38,578 - INFO - /home/pi/Desktop/images/19052025/06/38/image_19052025_06_38_37_30918.jpg
MAIN: 2025-05-19 06:38:38,579 - INFO - duration: 1.2746431260002282
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
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=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:39:08,524 - INFO - taking picture
MAIN: 2025-05-19 06:39:08,525 - INFO - we take 18 photos in this while loop
MAIN: 2025-05-19 06:39:08,526 - INFO - /home/pi/Desktop/images/19052025/06/38/image_19052025_06_39_07_29775.jpg
MAIN: 2025-05-19 06:39:08,526 - INFO - duration: 1.4470515530001649
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:39:37,530 - INFO - taking picture
MAIN: 2025-05-19 06:39:37,531 - INFO - we take 19 photos in this while loop
MAIN: 2025-05-19 06:39:37,531 - INFO - /home/pi/Desktop/images/19052025/06/39/image_19052025_06_39_36_29090.jpg
MAIN: 2025-05-19 06:39:37,531 - INFO - duration: 1.3623737649995746
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2025-05-19 06:40:09,218 - INFO - taking picture
MAIN: 2025-05-19 06:40:09,219 - INFO - we take 20 photos in this while loop
MAIN: 2025-05-19 06:40:09,220 - INFO - /home/pi/Desktop/images/19052025/06/39/image_19052025_06_40_07_30151.jpg
MAIN: 2025-05-19 06:40:09,221 - INFO - duration: 2.9003991790004875
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:40:38,393 - INFO - taking picture
MAIN: 2025-05-19 06:40:38,394 - INFO - we take 21 photos in this while loop
MAIN: 2025-05-19 06:40:38,394 - INFO - /home/pi/Desktop/images/19052025/06/40/image_19052025_06_40_37_30954.jpg
MAIN: 2025-05-19 06:40:38,394 - INFO - duration: 1.1200066450001032
Corrupt JPEG data: premature end of data segment
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=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:41:08,114 - INFO - taking picture
MAIN: 2025-05-19 06:41:08,115 - INFO - we take 22 photos in this while loop
MAIN: 2025-05-19 06:41:08,116 - INFO - /home/pi/Desktop/images/19052025/06/40/image_19052025_06_41_07_29008.jpg
MAIN: 2025-05-19 06:41:08,116 - INFO - duration: 1.8337876290006534
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:41:38,771 - INFO - taking picture
MAIN: 2025-05-19 06:41:38,772 - INFO - we take 23 photos in this while loop
MAIN: 2025-05-19 06:41:38,772 - INFO - /home/pi/Desktop/images/19052025/06/41/image_19052025_06_41_37_31221.jpg
MAIN: 2025-05-19 06:41:38,773 - INFO - duration: 1.2688284760006354
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=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:42:09,751 - INFO - taking picture
MAIN: 2025-05-19 06:42:09,752 - INFO - we take 24 photos in this while loop
MAIN: 2025-05-19 06:42:09,753 - INFO - /home/pi/Desktop/images/19052025/06/41/image_19052025_06_42_08_30498.jpg
MAIN: 2025-05-19 06:42:09,753 - INFO - duration: 1.7505421790001492
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:42:38,701 - INFO - taking picture
MAIN: 2025-05-19 06:42:38,702 - INFO - we take 25 photos in this while loop
MAIN: 2025-05-19 06:42:38,702 - INFO - /home/pi/Desktop/images/19052025/06/42/image_19052025_06_42_37_29375.jpg
MAIN: 2025-05-19 06:42:38,703 - INFO - duration: 1.3248415939997358
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=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:43:08,561 - INFO - taking picture
MAIN: 2025-05-19 06:43:08,562 - INFO - we take 26 photos in this while loop
MAIN: 2025-05-19 06:43:08,563 - INFO - /home/pi/Desktop/images/19052025/06/42/image_19052025_06_43_07_29676.jpg
MAIN: 2025-05-19 06:43:08,563 - INFO - duration: 1.5084289669994178
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:43:38,953 - INFO - taking picture
MAIN: 2025-05-19 06:43:38,954 - INFO - we take 27 photos in this while loop
MAIN: 2025-05-19 06:43:38,955 - INFO - /home/pi/Desktop/images/19052025/06/43/image_19052025_06_43_38_30522.jpg
MAIN: 2025-05-19 06:43:38,955 - INFO - duration: 1.377805496000292
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=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:44:09,396 - INFO - taking picture
MAIN: 2025-05-19 06:44:09,397 - INFO - we take 28 photos in this while loop
MAIN: 2025-05-19 06:44:09,397 - INFO - /home/pi/Desktop/images/19052025/06/43/image_19052025_06_44_08_30208.jpg
MAIN: 2025-05-19 06:44:09,398 - INFO - duration: 1.6117728199997146
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:44:38,232 - INFO - taking picture
MAIN: 2025-05-19 06:44:38,233 - INFO - we take 29 photos in this while loop
MAIN: 2025-05-19 06:44:38,234 - INFO - /home/pi/Desktop/images/19052025/06/44/image_19052025_06_44_37_29111.jpg
MAIN: 2025-05-19 06:44:38,234 - INFO - duration: 1.337175166000634
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
Will output and maybe also write in take_pic/pic_log.txt
MAIN: 2025-05-19 06:45:08,822 - INFO - taking picture
MAIN: 2025-05-19 06:45:08,823 - INFO - we take 30 photos in this while loop
MAIN: 2025-05-19 06:45:08,824 - INFO - /home/pi/Desktop/images/19052025/06/44/image_19052025_06_45_07_29433.jpg
MAIN: 2025-05-19 06:45:08,835 - INFO - duration: 2.5042969520000042
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:45:37,950 - INFO - taking picture
MAIN: 2025-05-19 06:45:37,951 - INFO - we take 31 photos in this while loop
MAIN: 2025-05-19 06:45:37,951 - INFO - /home/pi/Desktop/images/19052025/06/45/image_19052025_06_45_37_30289.jpg
MAIN: 2025-05-19 06:45:37,952 - INFO - duration: 1.3317518349995225
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=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:46:09,052 - INFO - taking picture
MAIN: 2025-05-19 06:46:09,053 - INFO - we take 32 photos in this while loop
MAIN: 2025-05-19 06:46:09,053 - INFO - /home/pi/Desktop/images/19052025/06/45/image_19052025_06_46_08_30607.jpg
MAIN: 2025-05-19 06:46:09,054 - INFO - duration: 1.8265104669999346
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:46:37,928 - INFO - taking picture
MAIN: 2025-05-19 06:46:37,929 - INFO - we take 33 photos in this while loop
MAIN: 2025-05-19 06:46:37,929 - INFO - /home/pi/Desktop/images/19052025/06/46/image_19052025_06_46_37_29400.jpg
MAIN: 2025-05-19 06:46:37,930 - INFO - duration: 1.3022970160000114
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=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:47:08,008 - INFO - taking picture
MAIN: 2025-05-19 06:47:08,010 - INFO - we take 34 photos in this while loop
MAIN: 2025-05-19 06:47:08,010 - INFO - /home/pi/Desktop/images/19052025/06/46/image_19052025_06_47_07_29838.jpg
MAIN: 2025-05-19 06:47:08,010 - INFO - duration: 1.5444704009987618
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:47:38,617 - INFO - taking picture
MAIN: 2025-05-19 06:47:38,619 - INFO - we take 35 photos in this while loop
MAIN: 2025-05-19 06:47:38,619 - INFO - /home/pi/Desktop/images/19052025/06/47/image_19052025_06_47_37_30816.jpg
MAIN: 2025-05-19 06:47:38,619 - INFO - duration: 1.337208754999665
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=30 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:48:09,096 - INFO - taking picture
MAIN: 2025-05-19 06:48:09,097 - INFO - we take 36 photos in this while loop
MAIN: 2025-05-19 06:48:09,098 - INFO - /home/pi/Desktop/images/19052025/06/47/image_19052025_06_48_08_30019.jpg
MAIN: 2025-05-19 06:48:09,098 - INFO - duration: 1.79700164300084
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:48:38,670 - INFO - taking picture
MAIN: 2025-05-19 06:48:38,672 - INFO - we take 37 photos in this while loop
MAIN: 2025-05-19 06:48:38,672 - INFO - /home/pi/Desktop/images/19052025/06/48/image_19052025_06_48_37_29907.jpg
MAIN: 2025-05-19 06:48:38,672 - INFO - duration: 1.4639286229994468
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=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:49:08,365 - INFO - taking picture
MAIN: 2025-05-19 06:49:08,366 - INFO - we take 38 photos in this while loop
MAIN: 2025-05-19 06:49:08,366 - INFO - /home/pi/Desktop/images/19052025/06/48/image_19052025_06_49_07_29447.jpg
MAIN: 2025-05-19 06:49:08,367 - INFO - duration: 1.7103245899998
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:49:37,567 - INFO - taking picture
MAIN: 2025-05-19 06:49:37,568 - INFO - we take 39 photos in this while loop
MAIN: 2025-05-19 06:49:37,569 - INFO - /home/pi/Desktop/images/19052025/06/49/image_19052025_06_49_36_29595.jpg
MAIN: 2025-05-19 06:49:37,569 - INFO - duration: 1.3179314179997164
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=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:50:09,054 - INFO - taking picture
MAIN: 2025-05-19 06:50:09,056 - INFO - we take 40 photos in this while loop
MAIN: 2025-05-19 06:50:09,056 - INFO - /home/pi/Desktop/images/19052025/06/49/image_19052025_06_50_07_30197.jpg
MAIN: 2025-05-19 06:50:09,057 - INFO - duration: 2.6080883249996987
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:50:39,580 - INFO - taking picture
MAIN: 2025-05-19 06:50:39,581 - INFO - we take 41 photos in this while loop
MAIN: 2025-05-19 06:50:39,581 - INFO - /home/pi/Desktop/images/19052025/06/50/image_19052025_06_50_38_30504.jpg
MAIN: 2025-05-19 06:50:39,582 - INFO - duration: 2.628377069000635
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=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:51:09,520 - INFO - taking picture
MAIN: 2025-05-19 06:51:09,521 - INFO - we take 42 photos in this while loop
MAIN: 2025-05-19 06:51:09,522 - INFO - /home/pi/Desktop/images/19052025/06/50/image_19052025_06_51_08_30813.jpg
MAIN: 2025-05-19 06:51:09,522 - INFO - duration: 1.755413867000243
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:51:38,371 - INFO - taking picture
MAIN: 2025-05-19 06:51:38,372 - INFO - we take 43 photos in this while loop
MAIN: 2025-05-19 06:51:38,372 - INFO - /home/pi/Desktop/images/19052025/06/51/image_19052025_06_51_37_29565.jpg
MAIN: 2025-05-19 06:51:38,373 - INFO - duration: 1.0401442820002558
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=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:52:09,015 - INFO - taking picture
MAIN: 2025-05-19 06:52:09,017 - INFO - we take 44 photos in this while loop
MAIN: 2025-05-19 06:52:09,017 - INFO - /home/pi/Desktop/images/19052025/06/51/image_19052025_06_52_07_29855.jpg
MAIN: 2025-05-19 06:52:09,018 - INFO - duration: 1.8300062110010913
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:52:38,186 - INFO - taking picture
MAIN: 2025-05-19 06:52:38,187 - INFO - we take 45 photos in this while loop
MAIN: 2025-05-19 06:52:38,187 - INFO - /home/pi/Desktop/images/19052025/06/52/image_19052025_06_52_37_29691.jpg
MAIN: 2025-05-19 06:52:38,188 - INFO - duration: 1.3084984879988042
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=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:53:08,449 - INFO - taking picture
MAIN: 2025-05-19 06:53:08,450 - INFO - we take 46 photos in this while loop
MAIN: 2025-05-19 06:53:08,450 - INFO - /home/pi/Desktop/images/19052025/06/52/image_19052025_06_53_07_30074.jpg
MAIN: 2025-05-19 06:53:08,451 - INFO - duration: 1.4969604180005263
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:53:37,584 - INFO - taking picture
MAIN: 2025-05-19 06:53:37,585 - INFO - we take 47 photos in this while loop
MAIN: 2025-05-19 06:53:37,585 - INFO - /home/pi/Desktop/images/19052025/06/53/image_19052025_06_53_36_29249.jpg
MAIN: 2025-05-19 06:53:37,586 - INFO - duration: 1.3824404850001883
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 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
MAIN: 2025-05-19 06:54:08,484 - INFO - taking picture
MAIN: 2025-05-19 06:54:08,485 - INFO - we take 48 photos in this while loop
MAIN: 2025-05-19 06:54:08,486 - INFO - /home/pi/Desktop/images/19052025/06/53/image_19052025_06_54_07_30110.jpg
MAIN: 2025-05-19 06:54:08,486 - INFO - duration: 2.1720874790007656
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:54:38,911 - INFO - taking picture
MAIN: 2025-05-19 06:54:38,912 - INFO - we take 49 photos in this while loop
MAIN: 2025-05-19 06:54:38,912 - INFO - /home/pi/Desktop/images/19052025/06/54/image_19052025_06_54_38_31153.jpg
MAIN: 2025-05-19 06:54:38,913 - INFO - duration: 1.445250302000204
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 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
MAIN: 2025-05-19 06:55:08,622 - INFO - taking picture
MAIN: 2025-05-19 06:55:08,624 - INFO - we take 50 photos in this while loop
MAIN: 2025-05-19 06:55:08,625 - INFO - /home/pi/Desktop/images/19052025/06/54/image_19052025_06_55_07_28727.jpg
MAIN: 2025-05-19 06:55:08,626 - INFO - duration: 2.4303311929998017
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:55:37,822 - INFO - taking picture
MAIN: 2025-05-19 06:55:37,823 - INFO - we take 51 photos in this while loop
MAIN: 2025-05-19 06:55:37,823 - INFO - /home/pi/Desktop/images/19052025/06/55/image_19052025_06_55_36_30229.jpg
MAIN: 2025-05-19 06:55:37,823 - INFO - duration: 1.3991605709998112
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=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:56:09,391 - INFO - taking picture
MAIN: 2025-05-19 06:56:09,392 - INFO - we take 52 photos in this while loop
MAIN: 2025-05-19 06:56:09,392 - INFO - /home/pi/Desktop/images/19052025/06/55/image_19052025_06_56_08_31383.jpg
MAIN: 2025-05-19 06:56:09,393 - INFO - duration: 1.585274107999794
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:56:38,522 - INFO - taking picture
MAIN: 2025-05-19 06:56:38,523 - INFO - we take 53 photos in this while loop
MAIN: 2025-05-19 06:56:38,524 - INFO - /home/pi/Desktop/images/19052025/06/56/image_19052025_06_56_37_29405.jpg
MAIN: 2025-05-19 06:56:38,524 - INFO - duration: 1.3112477009999566
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:57:08,403 - INFO - taking picture
MAIN: 2025-05-19 06:57:08,405 - INFO - we take 54 photos in this while loop
MAIN: 2025-05-19 06:57:08,405 - INFO - /home/pi/Desktop/images/19052025/06/56/image_19052025_06_57_07_29722.jpg
MAIN: 2025-05-19 06:57:08,405 - INFO - duration: 1.4698534470007871
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:57:37,655 - INFO - taking picture
MAIN: 2025-05-19 06:57:37,656 - INFO - we take 55 photos in this while loop
MAIN: 2025-05-19 06:57:37,656 - INFO - /home/pi/Desktop/images/19052025/06/57/image_19052025_06_57_36_29359.jpg
MAIN: 2025-05-19 06:57:37,657 - INFO - duration: 1.3620748789999197
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:58:08,861 - INFO - taking picture
MAIN: 2025-05-19 06:58:08,862 - INFO - we take 56 photos in this while loop
MAIN: 2025-05-19 06:58:08,862 - INFO - /home/pi/Desktop/images/19052025/06/57/image_19052025_06_58_07_30460.jpg
MAIN: 2025-05-19 06:58:08,863 - INFO - duration: 2.108039880000433
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:58:38,240 - INFO - taking picture
MAIN: 2025-05-19 06:58:38,242 - INFO - we take 57 photos in this while loop
MAIN: 2025-05-19 06:58:38,242 - INFO - /home/pi/Desktop/images/19052025/06/58/image_19052025_06_58_37_30003.jpg
MAIN: 2025-05-19 06:58:38,242 - INFO - duration: 1.484134966000056
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Will output and maybe also write in take_pic/pic_log.txt
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:59:08,409 - INFO - taking picture
MAIN: 2025-05-19 06:59:08,410 - INFO - we take 58 photos in this while loop
MAIN: 2025-05-19 06:59:08,411 - INFO - /home/pi/Desktop/images/19052025/06/58/image_19052025_06_59_07_30101.jpg
MAIN: 2025-05-19 06:59:08,411 - INFO - duration: 1.5515512030015088
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 06:59:37,985 - INFO - taking picture
MAIN: 2025-05-19 06:59:37,986 - INFO - we take 59 photos in this while loop
MAIN: 2025-05-19 06:59:37,986 - INFO - /home/pi/Desktop/images/19052025/06/59/image_19052025_06_59_37_29675.jpg
MAIN: 2025-05-19 06:59:37,987 - INFO - duration: 1.4520751839991135
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:00:09,736 - INFO - taking picture
MAIN: 2025-05-19 07:00:09,738 - INFO - we take 60 photos in this while loop
MAIN: 2025-05-19 07:00:09,738 - INFO - /home/pi/Desktop/images/19052025/06/59/image_19052025_07_00_08_30699.jpg
MAIN: 2025-05-19 07:00:09,739 - INFO - duration: 2.5049956380007643
MAIN: 2025-05-19 07:00:09,966 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/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-05-19 07:00:11,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:00:37,661 - INFO - taking picture
MAIN: 2025-05-19 07:00:37,662 - INFO - we take 61 photos in this while loop
MAIN: 2025-05-19 07:00:37,662 - INFO - /home/pi/Desktop/images/19052025/07/00/image_19052025_07_00_36_28947.jpg
MAIN: 2025-05-19 07:00:37,663 - INFO - duration: 1.4813254050004616
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:01:08,217 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 07:01:08,229 - INFO - taking picture
MAIN: 2025-05-19 07:01:08,230 - INFO - we take 62 photos in this while loop
MAIN: 2025-05-19 07:01:08,231 - INFO - /home/pi/Desktop/images/19052025/07/00/image_19052025_07_01_07_30429.jpg
MAIN: 2025-05-19 07:01:08,231 - INFO - duration: 1.6201077260011516
MAIN: 2025-05-19 07:01:08,232 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/01'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:01:39,021 - INFO - taking picture
MAIN: 2025-05-19 07:01:39,022 - INFO - we take 63 photos in this while loop
MAIN: 2025-05-19 07:01:39,022 - INFO - /home/pi/Desktop/images/19052025/07/01/image_19052025_07_01_38_30962.jpg
MAIN: 2025-05-19 07:01:39,022 - INFO - duration: 1.4483178139998927
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 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-05-19 07:02:08,622 - INFO - taking picture
MAIN: 2025-05-19 07:02:08,623 - INFO - we take 64 photos in this while loop
MAIN: 2025-05-19 07:02:08,624 - INFO - /home/pi/Desktop/images/19052025/07/01/image_19052025_07_02_07_28821.jpg
MAIN: 2025-05-19 07:02:08,625 - INFO - duration: 2.229249059000722
MAIN: 2025-05-19 07:02:08,626 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/02'
MAIN: 2025-05-19 07:02:09,594 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:02:38,215 - INFO - taking picture
MAIN: 2025-05-19 07:02:38,217 - INFO - we take 65 photos in this while loop
MAIN: 2025-05-19 07:02:38,217 - INFO - /home/pi/Desktop/images/19052025/07/02/image_19052025_07_02_37_30337.jpg
MAIN: 2025-05-19 07:02:38,217 - INFO - duration: 1.4845942290012317
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:03:08,410 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 07:03:09,024 - INFO - taking picture
MAIN: 2025-05-19 07:03:09,025 - INFO - we take 66 photos in this while loop
MAIN: 2025-05-19 07:03:09,026 - INFO - /home/pi/Desktop/images/19052025/07/02/image_19052025_07_03_08_30725.jpg
MAIN: 2025-05-19 07:03:09,026 - INFO - duration: 1.5682262329992227
MAIN: 2025-05-19 07:03:09,027 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:03:38,744 - INFO - taking picture
MAIN: 2025-05-19 07:03:38,746 - INFO - we take 67 photos in this while loop
MAIN: 2025-05-19 07:03:38,746 - INFO - /home/pi/Desktop/images/19052025/07/03/image_19052025_07_03_37_29803.jpg
MAIN: 2025-05-19 07:03:38,746 - INFO - duration: 1.4848428629993577
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 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-05-19 07:04:08,425 - INFO - taking picture
MAIN: 2025-05-19 07:04:08,426 - INFO - we take 68 photos in this while loop
MAIN: 2025-05-19 07:04:08,427 - INFO - /home/pi/Desktop/images/19052025/07/03/image_19052025_07_04_07_29155.jpg
MAIN: 2025-05-19 07:04:08,427 - INFO - duration: 2.0104663010006334
MAIN: 2025-05-19 07:04:08,428 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/04'
MAIN: 2025-05-19 07:04:08,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:04:38,115 - INFO - taking picture
MAIN: 2025-05-19 07:04:38,117 - INFO - we take 69 photos in this while loop
MAIN: 2025-05-19 07:04:38,117 - INFO - /home/pi/Desktop/images/19052025/07/04/image_19052025_07_04_37_30221.jpg
MAIN: 2025-05-19 07:04:38,117 - INFO - duration: 1.478858640000908
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:05:09,106 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 07:05:09,210 - INFO - taking picture
MAIN: 2025-05-19 07:05:09,211 - INFO - we take 70 photos in this while loop
MAIN: 2025-05-19 07:05:09,212 - INFO - /home/pi/Desktop/images/19052025/07/04/image_19052025_07_05_08_30985.jpg
MAIN: 2025-05-19 07:05:09,212 - INFO - duration: 1.5879537470009382
MAIN: 2025-05-19 07:05:09,213 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:05:38,631 - INFO - taking picture
MAIN: 2025-05-19 07:05:38,632 - INFO - we take 71 photos in this while loop
MAIN: 2025-05-19 07:05:38,632 - INFO - /home/pi/Desktop/images/19052025/07/05/image_19052025_07_05_37_29558.jpg
MAIN: 2025-05-19 07:05:38,633 - INFO - duration: 1.4501093849994504
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:06:08,760 - INFO - taking picture
MAIN: 2025-05-19 07:06:08,762 - INFO - we take 72 photos in this while loop
MAIN: 2025-05-19 07:06:08,762 - INFO - /home/pi/Desktop/images/19052025/07/05/image_19052025_07_06_07_29372.jpg
MAIN: 2025-05-19 07:06:08,763 - INFO - duration: 2.2081300059999194
MAIN: 2025-05-19 07:06:08,860 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/06'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 07:06:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:06:38,392 - INFO - taking picture
MAIN: 2025-05-19 07:06:38,393 - INFO - we take 73 photos in this while loop
MAIN: 2025-05-19 07:06:38,393 - INFO - /home/pi/Desktop/images/19052025/07/06/image_19052025_07_06_37_30351.jpg
MAIN: 2025-05-19 07:06:38,394 - INFO - duration: 1.4877114279988746
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 07:07:07,510 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:07:08,928 - INFO - taking picture
MAIN: 2025-05-19 07:07:08,929 - INFO - we take 74 photos in this while loop
MAIN: 2025-05-19 07:07:08,929 - INFO - /home/pi/Desktop/images/19052025/07/06/image_19052025_07_07_08_30534.jpg
MAIN: 2025-05-19 07:07:08,930 - INFO - duration: 1.4890839219988266
MAIN: 2025-05-19 07:07:08,930 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:07:38,533 - INFO - taking picture
MAIN: 2025-05-19 07:07:38,534 - INFO - we take 75 photos in this while loop
MAIN: 2025-05-19 07:07:38,535 - INFO - /home/pi/Desktop/images/19052025/07/07/image_19052025_07_07_37_29640.jpg
MAIN: 2025-05-19 07:07:38,535 - INFO - duration: 1.4541835859999992
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:08:08,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 ! 
MAIN: 2025-05-19 07:08:09,181 - INFO - taking picture
MAIN: 2025-05-19 07:08:09,183 - INFO - we take 76 photos in this while loop
MAIN: 2025-05-19 07:08:09,183 - INFO - /home/pi/Desktop/images/19052025/07/07/image_19052025_07_08_08_30472.jpg
MAIN: 2025-05-19 07:08:09,183 - INFO - duration: 1.6298905069998
MAIN: 2025-05-19 07:08:09,184 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:08:38,793 - INFO - taking picture
MAIN: 2025-05-19 07:08:38,795 - INFO - we take 77 photos in this while loop
MAIN: 2025-05-19 07:08:38,795 - INFO - /home/pi/Desktop/images/19052025/07/08/image_19052025_07_08_37_29759.jpg
MAIN: 2025-05-19 07:08:38,796 - INFO - duration: 1.4829325640002935
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 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-05-19 07:09:08,134 - INFO - taking picture
MAIN: 2025-05-19 07:09:08,135 - INFO - we take 78 photos in this while loop
MAIN: 2025-05-19 07:09:08,135 - INFO - /home/pi/Desktop/images/19052025/07/08/image_19052025_07_09_07_29123.jpg
MAIN: 2025-05-19 07:09:08,136 - INFO - duration: 1.6991003330003878
MAIN: 2025-05-19 07:09:08,136 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/09'
MAIN: 2025-05-19 07:09:08,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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:09:37,719 - INFO - taking picture
MAIN: 2025-05-19 07:09:37,720 - INFO - we take 79 photos in this while loop
MAIN: 2025-05-19 07:09:37,721 - INFO - /home/pi/Desktop/images/19052025/07/09/image_19052025_07_09_36_29799.jpg
MAIN: 2025-05-19 07:09:37,721 - INFO - duration: 1.4857064099996933
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:10:09,571 - INFO - taking picture
MAIN: 2025-05-19 07:10:09,572 - INFO - we take 80 photos in this while loop
MAIN: 2025-05-19 07:10:09,573 - INFO - /home/pi/Desktop/images/19052025/07/09/image_19052025_07_10_08_31190.jpg
MAIN: 2025-05-19 07:10:09,575 - INFO - duration: 2.149707261000003
MAIN: 2025-05-19 07:10:09,714 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/10'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 07:10:10,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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:10:37,621 - INFO - taking picture
MAIN: 2025-05-19 07:10:37,622 - INFO - we take 81 photos in this while loop
MAIN: 2025-05-19 07:10:37,623 - INFO - /home/pi/Desktop/images/19052025/07/10/image_19052025_07_10_36_28743.jpg
MAIN: 2025-05-19 07:10:37,623 - INFO - duration: 1.4541473190001852
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:11:08,021 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 07:11:08,219 - INFO - taking picture
MAIN: 2025-05-19 07:11:08,220 - INFO - we take 82 photos in this while loop
MAIN: 2025-05-19 07:11:08,221 - INFO - /home/pi/Desktop/images/19052025/07/10/image_19052025_07_11_07_30506.jpg
MAIN: 2025-05-19 07:11:08,221 - INFO - duration: 1.5456065559992567
MAIN: 2025-05-19 07:11:08,222 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/11'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:11:37,866 - INFO - taking picture
MAIN: 2025-05-19 07:11:37,867 - INFO - we take 83 photos in this while loop
MAIN: 2025-05-19 07:11:37,867 - INFO - /home/pi/Desktop/images/19052025/07/11/image_19052025_07_11_36_29732.jpg
MAIN: 2025-05-19 07:11:37,868 - INFO - duration: 1.4591109559987672
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 07:12:09,565 - INFO - taking picture
MAIN: 2025-05-19 07:12:09,566 - INFO - we take 84 photos in this while loop
MAIN: 2025-05-19 07:12:09,566 - INFO - /home/pi/Desktop/images/19052025/07/11/image_19052025_07_12_08_31414.jpg
MAIN: 2025-05-19 07:12:09,567 - INFO - duration: 1.7442799119999108
MAIN: 2025-05-19 07:12:09,568 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/12'
MAIN: 2025-05-19 07:12:09,685 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:12:37,838 - INFO - taking picture
MAIN: 2025-05-19 07:12:37,839 - INFO - we take 85 photos in this while loop
MAIN: 2025-05-19 07:12:37,840 - INFO - /home/pi/Desktop/images/19052025/07/12/image_19052025_07_12_36_28563.jpg
MAIN: 2025-05-19 07:12:37,840 - INFO - duration: 1.4542231960003846
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 07:13:08,562 - INFO - taking picture
MAIN: 2025-05-19 07:13:08,563 - INFO - we take 86 photos in this while loop
MAIN: 2025-05-19 07:13:08,563 - INFO - /home/pi/Desktop/images/19052025/07/12/image_19052025_07_13_07_30419.jpg
MAIN: 2025-05-19 07:13:08,564 - INFO - duration: 1.7583685930003412
MAIN: 2025-05-19 07:13:08,565 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/13'
MAIN: 2025-05-19 07:13:08,749 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:13:38,237 - INFO - taking picture
MAIN: 2025-05-19 07:13:38,238 - INFO - we take 87 photos in this while loop
MAIN: 2025-05-19 07:13:38,239 - INFO - /home/pi/Desktop/images/19052025/07/13/image_19052025_07_13_37_29977.jpg
MAIN: 2025-05-19 07:13:38,239 - INFO - duration: 1.4557860040004016
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:14:08,757 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 07:14:09,245 - INFO - taking picture
MAIN: 2025-05-19 07:14:09,246 - INFO - we take 88 photos in this while loop
MAIN: 2025-05-19 07:14:09,247 - INFO - /home/pi/Desktop/images/19052025/07/13/image_19052025_07_14_08_30801.jpg
MAIN: 2025-05-19 07:14:09,247 - INFO - duration: 1.6623052909999387
MAIN: 2025-05-19 07:14:09,248 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/14'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:14:37,609 - INFO - taking picture
MAIN: 2025-05-19 07:14:37,610 - INFO - we take 89 photos in this while loop
MAIN: 2025-05-19 07:14:37,610 - INFO - /home/pi/Desktop/images/19052025/07/14/image_19052025_07_14_36_28567.jpg
MAIN: 2025-05-19 07:14:37,610 - INFO - duration: 1.458001051998508
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 07:15:09,028 - INFO - taking picture
MAIN: 2025-05-19 07:15:09,029 - INFO - we take 90 photos in this while loop
MAIN: 2025-05-19 07:15:09,030 - INFO - /home/pi/Desktop/images/19052025/07/14/image_19052025_07_15_07_30782.jpg
MAIN: 2025-05-19 07:15:09,030 - INFO - duration: 2.095162804998836
MAIN: 2025-05-19 07:15:09,031 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/15'
MAIN: 2025-05-19 07:15:09,118 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:15:38,718 - INFO - taking picture
MAIN: 2025-05-19 07:15:38,719 - INFO - we take 91 photos in this while loop
MAIN: 2025-05-19 07:15:38,719 - INFO - /home/pi/Desktop/images/19052025/07/15/image_19052025_07_15_37_30326.jpg
MAIN: 2025-05-19 07:15:38,720 - INFO - duration: 1.4584722979998332
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:16:08,550 - INFO - taking picture
MAIN: 2025-05-19 07:16:08,552 - INFO - we take 92 photos in this while loop
MAIN: 2025-05-19 07:16:08,552 - INFO - /home/pi/Desktop/images/19052025/07/15/image_19052025_07_16_07_29037.jpg
MAIN: 2025-05-19 07:16:08,553 - INFO - duration: 2.254607914999724
MAIN: 2025-05-19 07:16:09,044 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/16'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 07:16:10,099 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:16:38,505 - INFO - taking picture
MAIN: 2025-05-19 07:16:38,506 - INFO - we take 93 photos in this while loop
MAIN: 2025-05-19 07:16:38,506 - INFO - /home/pi/Desktop/images/19052025/07/16/image_19052025_07_16_37_30716.jpg
MAIN: 2025-05-19 07:16:38,507 - INFO - duration: 1.4914912229996844
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:17:08,804 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 07:17:09,080 - INFO - taking picture
MAIN: 2025-05-19 07:17:09,081 - INFO - we take 94 photos in this while loop
MAIN: 2025-05-19 07:17:09,082 - INFO - /home/pi/Desktop/images/19052025/07/16/image_19052025_07_17_08_30509.jpg
MAIN: 2025-05-19 07:17:09,082 - INFO - duration: 1.5571469949991297
MAIN: 2025-05-19 07:17:09,083 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:17:38,814 - INFO - taking picture
MAIN: 2025-05-19 07:17:38,815 - INFO - we take 95 photos in this while loop
MAIN: 2025-05-19 07:17:38,815 - INFO - /home/pi/Desktop/images/19052025/07/17/image_19052025_07_17_37_29834.jpg
MAIN: 2025-05-19 07:17:38,816 - INFO - duration: 1.4560126600008516
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 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-05-19 07:18:08,582 - INFO - taking picture
MAIN: 2025-05-19 07:18:08,583 - INFO - we take 96 photos in this while loop
MAIN: 2025-05-19 07:18:08,583 - INFO - /home/pi/Desktop/images/19052025/07/17/image_19052025_07_18_07_29315.jpg
MAIN: 2025-05-19 07:18:08,584 - INFO - duration: 1.9085581760009518
MAIN: 2025-05-19 07:18:08,585 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/18'
MAIN: 2025-05-19 07:18:08,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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:18:38,139 - INFO - taking picture
MAIN: 2025-05-19 07:18:38,140 - INFO - we take 97 photos in this while loop
MAIN: 2025-05-19 07:18:38,141 - INFO - /home/pi/Desktop/images/19052025/07/18/image_19052025_07_18_37_29996.jpg
MAIN: 2025-05-19 07:18:38,141 - INFO - duration: 1.4691124900000432
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:19:07,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 ! 
MAIN: 2025-05-19 07:19:08,841 - INFO - taking picture
MAIN: 2025-05-19 07:19:08,842 - INFO - we take 98 photos in this while loop
MAIN: 2025-05-19 07:19:08,843 - INFO - /home/pi/Desktop/images/19052025/07/18/image_19052025_07_19_07_30653.jpg
MAIN: 2025-05-19 07:19:08,843 - INFO - duration: 1.5170347359999141
MAIN: 2025-05-19 07:19:08,844 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:19:38,686 - INFO - taking picture
MAIN: 2025-05-19 07:19:38,687 - INFO - we take 99 photos in this while loop
MAIN: 2025-05-19 07:19:38,687 - INFO - /home/pi/Desktop/images/19052025/07/19/image_19052025_07_19_37_29903.jpg
MAIN: 2025-05-19 07:19:38,688 - INFO - duration: 1.457867447001263
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 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-05-19 07:20:09,648 - INFO - taking picture
MAIN: 2025-05-19 07:20:09,650 - INFO - we take 100 photos in this while loop
MAIN: 2025-05-19 07:20:09,651 - INFO - /home/pi/Desktop/images/19052025/07/19/image_19052025_07_20_07_29485.jpg
MAIN: 2025-05-19 07:20:09,655 - INFO - duration: 2.937039716000072
MAIN: 2025-05-19 07:20:09,656 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/20'
MAIN: 2025-05-19 07:20:10,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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:20:37,783 - INFO - taking picture
MAIN: 2025-05-19 07:20:37,785 - INFO - we take 101 photos in this while loop
MAIN: 2025-05-19 07:20:37,785 - INFO - /home/pi/Desktop/images/19052025/07/20/image_19052025_07_20_36_29578.jpg
MAIN: 2025-05-19 07:20:37,785 - INFO - duration: 1.4918172570014576
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 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-05-19 07:21:08,316 - INFO - taking picture
MAIN: 2025-05-19 07:21:08,317 - INFO - we take 102 photos in this while loop
MAIN: 2025-05-19 07:21:08,317 - INFO - /home/pi/Desktop/images/19052025/07/20/image_19052025_07_21_07_30129.jpg
MAIN: 2025-05-19 07:21:08,318 - INFO - duration: 1.8949274250007875
MAIN: 2025-05-19 07:21:08,319 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/21'
MAIN: 2025-05-19 07:21:08,500 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:21:38,920 - INFO - taking picture
MAIN: 2025-05-19 07:21:38,921 - INFO - we take 103 photos in this while loop
MAIN: 2025-05-19 07:21:38,922 - INFO - /home/pi/Desktop/images/19052025/07/21/image_19052025_07_21_38_31175.jpg
MAIN: 2025-05-19 07:21:38,922 - INFO - duration: 1.323934542000643
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 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-05-19 07:22:08,329 - INFO - taking picture
MAIN: 2025-05-19 07:22:08,330 - INFO - we take 104 photos in this while loop
MAIN: 2025-05-19 07:22:08,330 - INFO - /home/pi/Desktop/images/19052025/07/21/image_19052025_07_22_07_29041.jpg
MAIN: 2025-05-19 07:22:08,331 - INFO - duration: 1.69058705200041
MAIN: 2025-05-19 07:22:08,332 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/22'
MAIN: 2025-05-19 07:22:08,739 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:22:37,850 - INFO - taking picture
MAIN: 2025-05-19 07:22:37,851 - INFO - we take 105 photos in this while loop
MAIN: 2025-05-19 07:22:37,852 - INFO - /home/pi/Desktop/images/19052025/07/22/image_19052025_07_22_36_29748.jpg
MAIN: 2025-05-19 07:22:37,852 - INFO - duration: 1.4634247750000213
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 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-05-19 07:23:08,046 - INFO - taking picture
MAIN: 2025-05-19 07:23:08,047 - INFO - we take 106 photos in this while loop
MAIN: 2025-05-19 07:23:08,048 - INFO - /home/pi/Desktop/images/19052025/07/22/image_19052025_07_23_07_29940.jpg
MAIN: 2025-05-19 07:23:08,048 - INFO - duration: 1.71928502999981
MAIN: 2025-05-19 07:23:08,049 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/23'
MAIN: 2025-05-19 07:23:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:23:37,885 - INFO - taking picture
MAIN: 2025-05-19 07:23:37,886 - INFO - we take 107 photos in this while loop
MAIN: 2025-05-19 07:23:37,887 - INFO - /home/pi/Desktop/images/19052025/07/23/image_19052025_07_23_36_30063.jpg
MAIN: 2025-05-19 07:23:37,887 - INFO - duration: 1.4950613069995597
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 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-05-19 07:24:09,016 - INFO - taking picture
MAIN: 2025-05-19 07:24:09,017 - INFO - we take 108 photos in this while loop
MAIN: 2025-05-19 07:24:09,017 - INFO - /home/pi/Desktop/images/19052025/07/23/image_19052025_07_24_07_30714.jpg
MAIN: 2025-05-19 07:24:09,018 - INFO - duration: 1.911652145001426
MAIN: 2025-05-19 07:24:09,019 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/24'
MAIN: 2025-05-19 07:24:09,381 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:24:38,535 - INFO - taking picture
MAIN: 2025-05-19 07:24:38,536 - INFO - we take 109 photos in this while loop
MAIN: 2025-05-19 07:24:38,536 - INFO - /home/pi/Desktop/images/19052025/07/24/image_19052025_07_24_37_29970.jpg
MAIN: 2025-05-19 07:24:38,537 - INFO - duration: 1.4598289749992546
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 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-05-19 07:25:07,962 - INFO - taking picture
MAIN: 2025-05-19 07:25:07,963 - INFO - we take 110 photos in this while loop
MAIN: 2025-05-19 07:25:07,964 - INFO - /home/pi/Desktop/images/19052025/07/24/image_19052025_07_25_06_29088.jpg
MAIN: 2025-05-19 07:25:07,965 - INFO - duration: 1.7990012529990054
MAIN: 2025-05-19 07:25:07,966 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/25'
MAIN: 2025-05-19 07:25:08,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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:25:37,638 - INFO - taking picture
MAIN: 2025-05-19 07:25:37,639 - INFO - we take 111 photos in this while loop
MAIN: 2025-05-19 07:25:37,639 - INFO - /home/pi/Desktop/images/19052025/07/25/image_19052025_07_25_36_30004.jpg
MAIN: 2025-05-19 07:25:37,640 - INFO - duration: 1.4699944910007616
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 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-05-19 07:26:09,061 - INFO - taking picture
MAIN: 2025-05-19 07:26:09,062 - INFO - we take 112 photos in this while loop
MAIN: 2025-05-19 07:26:09,063 - INFO - /home/pi/Desktop/images/19052025/07/25/image_19052025_07_26_08_31226.jpg
MAIN: 2025-05-19 07:26:09,063 - INFO - duration: 1.6672024710005644
MAIN: 2025-05-19 07:26:09,064 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/26'
MAIN: 2025-05-19 07:26:09,194 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:26:38,284 - INFO - taking picture
MAIN: 2025-05-19 07:26:38,285 - INFO - we take 113 photos in this while loop
MAIN: 2025-05-19 07:26:38,285 - INFO - /home/pi/Desktop/images/19052025/07/26/image_19052025_07_26_37_29426.jpg
MAIN: 2025-05-19 07:26:38,286 - INFO - duration: 1.4629370010006824
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:27:09,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 ! 
MAIN: 2025-05-19 07:27:09,162 - INFO - taking picture
MAIN: 2025-05-19 07:27:09,163 - INFO - we take 114 photos in this while loop
MAIN: 2025-05-19 07:27:09,163 - INFO - /home/pi/Desktop/images/19052025/07/26/image_19052025_07_27_08_30837.jpg
MAIN: 2025-05-19 07:27:09,164 - INFO - duration: 1.5035007549995498
MAIN: 2025-05-19 07:27:09,165 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:27:38,511 - INFO - taking picture
MAIN: 2025-05-19 07:27:38,512 - INFO - we take 115 photos in this while loop
MAIN: 2025-05-19 07:27:38,513 - INFO - /home/pi/Desktop/images/19052025/07/27/image_19052025_07_27_37_29515.jpg
MAIN: 2025-05-19 07:27:38,513 - INFO - duration: 1.3376483439988078
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:28:08,108 - INFO - taking picture
MAIN: 2025-05-19 07:28:08,109 - INFO - we take 116 photos in this while loop
MAIN: 2025-05-19 07:28:08,110 - INFO - /home/pi/Desktop/images/19052025/07/27/image_19052025_07_28_06_29119.jpg
MAIN: 2025-05-19 07:28:08,110 - INFO - duration: 1.8155389460007427
MAIN: 2025-05-19 07:28:08,760 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/28'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 07:28:09,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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:28:37,883 - INFO - taking picture
MAIN: 2025-05-19 07:28:37,884 - INFO - we take 117 photos in this while loop
MAIN: 2025-05-19 07:28:37,884 - INFO - /home/pi/Desktop/images/19052025/07/28/image_19052025_07_28_36_30123.jpg
MAIN: 2025-05-19 07:28:37,885 - INFO - duration: 1.4666712449998158
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:29:08,341 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 07:29:08,582 - INFO - taking picture
MAIN: 2025-05-19 07:29:08,583 - INFO - we take 118 photos in this while loop
MAIN: 2025-05-19 07:29:08,584 - INFO - /home/pi/Desktop/images/19052025/07/28/image_19052025_07_29_07_30510.jpg
MAIN: 2025-05-19 07:29:08,584 - INFO - duration: 1.6558626070000173
MAIN: 2025-05-19 07:29:08,585 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/29'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:29:38,160 - INFO - taking picture
MAIN: 2025-05-19 07:29:38,161 - INFO - we take 119 photos in this while loop
MAIN: 2025-05-19 07:29:38,161 - INFO - /home/pi/Desktop/images/19052025/07/29/image_19052025_07_29_37_29853.jpg
MAIN: 2025-05-19 07:29:38,162 - INFO - duration: 1.3800332000009803
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:30:09,028 - INFO - taking picture
MAIN: 2025-05-19 07:30:09,029 - INFO - we take 120 photos in this while loop
MAIN: 2025-05-19 07:30:09,030 - INFO - /home/pi/Desktop/images/19052025/07/29/image_19052025_07_30_07_29793.jpg
MAIN: 2025-05-19 07:30:09,031 - INFO - duration: 2.455382264999571
MAIN: 2025-05-19 07:30:09,712 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/30'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 07:30:10,823 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:30:38,878 - INFO - taking picture
MAIN: 2025-05-19 07:30:38,880 - INFO - we take 121 photos in this while loop
MAIN: 2025-05-19 07:30:38,880 - INFO - /home/pi/Desktop/images/19052025/07/30/image_19052025_07_30_37_30832.jpg
MAIN: 2025-05-19 07:30:38,881 - INFO - duration: 1.4735924789983983
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 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-05-19 07:31:08,220 - INFO - taking picture
MAIN: 2025-05-19 07:31:08,222 - INFO - we take 122 photos in this while loop
MAIN: 2025-05-19 07:31:08,222 - INFO - /home/pi/Desktop/images/19052025/07/30/image_19052025_07_31_07_28939.jpg
MAIN: 2025-05-19 07:31:08,223 - INFO - duration: 1.8754294130012568
MAIN: 2025-05-19 07:31:08,224 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/31'
MAIN: 2025-05-19 07:31:08,557 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:31:38,070 - INFO - taking picture
MAIN: 2025-05-19 07:31:38,071 - INFO - we take 123 photos in this while loop
MAIN: 2025-05-19 07:31:38,071 - INFO - /home/pi/Desktop/images/19052025/07/31/image_19052025_07_31_37_30246.jpg
MAIN: 2025-05-19 07:31:38,072 - INFO - duration: 1.4777589099994657
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:32:09,015 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 07:32:09,258 - INFO - taking picture
MAIN: 2025-05-19 07:32:09,259 - INFO - we take 124 photos in this while loop
MAIN: 2025-05-19 07:32:09,259 - INFO - /home/pi/Desktop/images/19052025/07/31/image_19052025_07_32_08_31098.jpg
MAIN: 2025-05-19 07:32:09,260 - INFO - duration: 1.5672150800000963
MAIN: 2025-05-19 07:32:09,261 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:32:38,806 - INFO - taking picture
MAIN: 2025-05-19 07:32:38,807 - INFO - we take 125 photos in this while loop
MAIN: 2025-05-19 07:32:38,807 - INFO - /home/pi/Desktop/images/19052025/07/32/image_19052025_07_32_37_29644.jpg
MAIN: 2025-05-19 07:32:38,808 - INFO - duration: 1.4705619649994333
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:33:08,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 ! 
MAIN: 2025-05-19 07:33:09,065 - INFO - taking picture
MAIN: 2025-05-19 07:33:09,066 - INFO - we take 126 photos in this while loop
MAIN: 2025-05-19 07:33:09,066 - INFO - /home/pi/Desktop/images/19052025/07/32/image_19052025_07_33_08_30242.jpg
MAIN: 2025-05-19 07:33:09,067 - INFO - duration: 1.4874013160006143
MAIN: 2025-05-19 07:33:09,068 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:33:38,660 - INFO - taking picture
MAIN: 2025-05-19 07:33:38,661 - INFO - we take 127 photos in this while loop
MAIN: 2025-05-19 07:33:38,662 - INFO - /home/pi/Desktop/images/19052025/07/33/image_19052025_07_33_37_29607.jpg
MAIN: 2025-05-19 07:33:38,662 - INFO - duration: 1.4751159509996796
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=90 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:34:08,446 - INFO - taking picture
MAIN: 2025-05-19 07:34:08,447 - INFO - we take 128 photos in this while loop
MAIN: 2025-05-19 07:34:08,448 - INFO - /home/pi/Desktop/images/19052025/07/33/image_19052025_07_34_07_29088.jpg
MAIN: 2025-05-19 07:34:08,448 - INFO - duration: 2.1725189439985115
MAIN: 2025-05-19 07:34:08,532 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/34'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 07:34:09,587 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:34:38,261 - INFO - taking picture
MAIN: 2025-05-19 07:34:38,262 - INFO - we take 129 photos in this while loop
MAIN: 2025-05-19 07:34:38,262 - INFO - /home/pi/Desktop/images/19052025/07/34/image_19052025_07_34_37_30512.jpg
MAIN: 2025-05-19 07:34:38,263 - INFO - duration: 1.4751160900013929
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 07:35:08,177 - INFO - taking picture
MAIN: 2025-05-19 07:35:08,179 - INFO - we take 130 photos in this while loop
MAIN: 2025-05-19 07:35:08,180 - INFO - /home/pi/Desktop/images/19052025/07/34/image_19052025_07_35_07_29357.jpg
MAIN: 2025-05-19 07:35:08,180 - INFO - duration: 2.035185692999221
MAIN: 2025-05-19 07:35:08,182 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/35'
MAIN: 2025-05-19 07:35:08,500 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:35:38,045 - INFO - taking picture
MAIN: 2025-05-19 07:35:38,046 - INFO - we take 131 photos in this while loop
MAIN: 2025-05-19 07:35:38,046 - INFO - /home/pi/Desktop/images/19052025/07/35/image_19052025_07_35_37_30427.jpg
MAIN: 2025-05-19 07:35:38,047 - INFO - duration: 1.4742266989997006
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:36:09,261 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 07:36:09,284 - INFO - taking picture
MAIN: 2025-05-19 07:36:09,285 - INFO - we take 132 photos in this while loop
MAIN: 2025-05-19 07:36:09,286 - INFO - /home/pi/Desktop/images/19052025/07/35/image_19052025_07_36_08_31068.jpg
MAIN: 2025-05-19 07:36:09,286 - INFO - duration: 1.6457916070012288
MAIN: 2025-05-19 07:36:09,287 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/36'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:36:37,781 - INFO - taking picture
MAIN: 2025-05-19 07:36:37,782 - INFO - we take 133 photos in this while loop
MAIN: 2025-05-19 07:36:37,783 - INFO - /home/pi/Desktop/images/19052025/07/36/image_19052025_07_36_36_28636.jpg
MAIN: 2025-05-19 07:36:37,783 - INFO - duration: 1.5063133260009636
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:37:08,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 ! 
MAIN: 2025-05-19 07:37:08,933 - INFO - taking picture
MAIN: 2025-05-19 07:37:08,934 - INFO - we take 134 photos in this while loop
MAIN: 2025-05-19 07:37:08,935 - INFO - /home/pi/Desktop/images/19052025/07/36/image_19052025_07_37_08_30978.jpg
MAIN: 2025-05-19 07:37:08,935 - INFO - duration: 1.6799311989998387
MAIN: 2025-05-19 07:37:08,936 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/37'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:37:38,815 - INFO - taking picture
MAIN: 2025-05-19 07:37:38,816 - INFO - we take 135 photos in this while loop
MAIN: 2025-05-19 07:37:38,816 - INFO - /home/pi/Desktop/images/19052025/07/37/image_19052025_07_37_37_30088.jpg
MAIN: 2025-05-19 07:37:38,817 - INFO - duration: 1.4734383909999451
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:38:08,912 - INFO - taking picture
MAIN: 2025-05-19 07:38:08,914 - INFO - we take 136 photos in this while loop
MAIN: 2025-05-19 07:38:08,914 - INFO - /home/pi/Desktop/images/19052025/07/37/image_19052025_07_38_07_29866.jpg
MAIN: 2025-05-19 07:38:08,914 - INFO - duration: 1.704303823000373
MAIN: 2025-05-19 07:38:08,915 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/38'
MAIN: 2025-05-19 07:38:08,957 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:38:38,464 - INFO - taking picture
MAIN: 2025-05-19 07:38:38,465 - INFO - we take 137 photos in this while loop
MAIN: 2025-05-19 07:38:38,466 - INFO - /home/pi/Desktop/images/19052025/07/38/image_19052025_07_38_37_29785.jpg
MAIN: 2025-05-19 07:38:38,466 - INFO - duration: 1.470302444000481
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 07:39:07,904 - INFO - taking picture
MAIN: 2025-05-19 07:39:07,905 - INFO - we take 138 photos in this while loop
MAIN: 2025-05-19 07:39:07,906 - INFO - /home/pi/Desktop/images/19052025/07/38/image_19052025_07_39_06_29144.jpg
MAIN: 2025-05-19 07:39:07,907 - INFO - duration: 1.7664394360017468
MAIN: 2025-05-19 07:39:07,908 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/39'
MAIN: 2025-05-19 07:39:08,499 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:39:37,875 - INFO - taking picture
MAIN: 2025-05-19 07:39:37,876 - INFO - we take 139 photos in this while loop
MAIN: 2025-05-19 07:39:37,877 - INFO - /home/pi/Desktop/images/19052025/07/39/image_19052025_07_39_36_30264.jpg
MAIN: 2025-05-19 07:39:37,877 - INFO - duration: 1.4727199850003672
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:40:09,453 - INFO - taking picture
MAIN: 2025-05-19 07:40:09,454 - INFO - we take 140 photos in this while loop
MAIN: 2025-05-19 07:40:09,454 - INFO - /home/pi/Desktop/images/19052025/07/39/image_19052025_07_40_08_31020.jpg
MAIN: 2025-05-19 07:40:09,455 - INFO - duration: 2.0302571749998606
MAIN: 2025-05-19 07:40:09,609 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/40'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 07:40:10,669 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:40:37,875 - INFO - taking picture
MAIN: 2025-05-19 07:40:37,876 - INFO - we take 141 photos in this while loop
MAIN: 2025-05-19 07:40:37,877 - INFO - /home/pi/Desktop/images/19052025/07/40/image_19052025_07_40_36_28978.jpg
MAIN: 2025-05-19 07:40:37,877 - INFO - duration: 1.4741551830011304
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:41:08,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 ! 
MAIN: 2025-05-19 07:41:08,898 - INFO - taking picture
MAIN: 2025-05-19 07:41:08,899 - INFO - we take 142 photos in this while loop
MAIN: 2025-05-19 07:41:08,899 - INFO - /home/pi/Desktop/images/19052025/07/40/image_19052025_07_41_07_30995.jpg
MAIN: 2025-05-19 07:41:08,900 - INFO - duration: 1.5012438539997675
MAIN: 2025-05-19 07:41:08,901 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:41:38,876 - INFO - taking picture
MAIN: 2025-05-19 07:41:38,877 - INFO - we take 143 photos in this while loop
MAIN: 2025-05-19 07:41:38,877 - INFO - /home/pi/Desktop/images/19052025/07/41/image_19052025_07_41_37_30003.jpg
MAIN: 2025-05-19 07:41:38,878 - INFO - duration: 1.47543006900014
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 07:42:09,228 - INFO - taking picture
MAIN: 2025-05-19 07:42:09,229 - INFO - we take 144 photos in this while loop
MAIN: 2025-05-19 07:42:09,230 - INFO - /home/pi/Desktop/images/19052025/07/41/image_19052025_07_42_08_29862.jpg
MAIN: 2025-05-19 07:42:09,230 - INFO - duration: 1.9652058020001277
MAIN: 2025-05-19 07:42:09,231 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/42'
MAIN: 2025-05-19 07:42:09,239 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:42:37,728 - INFO - taking picture
MAIN: 2025-05-19 07:42:37,729 - INFO - we take 145 photos in this while loop
MAIN: 2025-05-19 07:42:37,730 - INFO - /home/pi/Desktop/images/19052025/07/42/image_19052025_07_42_36_28952.jpg
MAIN: 2025-05-19 07:42:37,730 - INFO - duration: 1.5129671670001699
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 07:43:08,651 - INFO - taking picture
MAIN: 2025-05-19 07:43:08,653 - INFO - we take 146 photos in this while loop
MAIN: 2025-05-19 07:43:08,653 - INFO - /home/pi/Desktop/images/19052025/07/42/image_19052025_07_43_07_30782.jpg
MAIN: 2025-05-19 07:43:08,654 - INFO - duration: 1.6545174599996244
MAIN: 2025-05-19 07:43:08,655 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/43'
MAIN: 2025-05-19 07:43:09,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:43:38,651 - INFO - taking picture
MAIN: 2025-05-19 07:43:38,653 - INFO - we take 147 photos in this while loop
MAIN: 2025-05-19 07:43:38,653 - INFO - /home/pi/Desktop/images/19052025/07/43/image_19052025_07_43_37_30144.jpg
MAIN: 2025-05-19 07:43:38,653 - INFO - duration: 1.5095360169998457
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 07:44:08,745 - INFO - taking picture
MAIN: 2025-05-19 07:44:08,747 - INFO - we take 148 photos in this while loop
MAIN: 2025-05-19 07:44:08,748 - INFO - /home/pi/Desktop/images/19052025/07/43/image_19052025_07_44_07_29761.jpg
MAIN: 2025-05-19 07:44:08,748 - INFO - duration: 1.842622398999083
MAIN: 2025-05-19 07:44:08,749 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/44'
MAIN: 2025-05-19 07:44:09,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:44:38,576 - INFO - taking picture
MAIN: 2025-05-19 07:44:38,577 - INFO - we take 149 photos in this while loop
MAIN: 2025-05-19 07:44:38,578 - INFO - /home/pi/Desktop/images/19052025/07/44/image_19052025_07_44_37_30197.jpg
MAIN: 2025-05-19 07:44:38,578 - INFO - duration: 1.4754913519991533
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 07:45:08,628 - INFO - taking picture
MAIN: 2025-05-19 07:45:08,629 - INFO - we take 150 photos in this while loop
MAIN: 2025-05-19 07:45:08,630 - INFO - /home/pi/Desktop/images/19052025/07/44/image_19052025_07_45_07_29459.jpg
MAIN: 2025-05-19 07:45:08,630 - INFO - duration: 2.0681311070002266
MAIN: 2025-05-19 07:45:08,631 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/45'
MAIN: 2025-05-19 07:45:09,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:45:38,440 - INFO - taking picture
MAIN: 2025-05-19 07:45:38,441 - INFO - we take 151 photos in this while loop
MAIN: 2025-05-19 07:45:38,442 - INFO - /home/pi/Desktop/images/19052025/07/45/image_19052025_07_45_37_30403.jpg
MAIN: 2025-05-19 07:45:38,442 - INFO - duration: 1.4761753580005461
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:46:08,328 - INFO - taking picture
MAIN: 2025-05-19 07:46:08,329 - INFO - we take 152 photos in this while loop
MAIN: 2025-05-19 07:46:08,330 - INFO - /home/pi/Desktop/images/19052025/07/45/image_19052025_07_46_07_29199.jpg
MAIN: 2025-05-19 07:46:08,330 - INFO - duration: 2.165053466000245
MAIN: 2025-05-19 07:46:08,626 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/46'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 07:46:09,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:46:38,288 - INFO - taking picture
MAIN: 2025-05-19 07:46:38,289 - INFO - we take 153 photos in this while loop
MAIN: 2025-05-19 07:46:38,289 - INFO - /home/pi/Desktop/images/19052025/07/46/image_19052025_07_46_37_30649.jpg
MAIN: 2025-05-19 07:46:38,290 - INFO - duration: 1.4752835309991497
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:47:08,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-05-19 07:47:08,893 - INFO - taking picture
MAIN: 2025-05-19 07:47:08,894 - INFO - we take 154 photos in this while loop
MAIN: 2025-05-19 07:47:08,894 - INFO - /home/pi/Desktop/images/19052025/07/46/image_19052025_07_47_07_30487.jpg
MAIN: 2025-05-19 07:47:08,895 - INFO - duration: 1.5924806689999969
MAIN: 2025-05-19 07:47:08,896 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:47:38,965 - INFO - taking picture
MAIN: 2025-05-19 07:47:38,966 - INFO - we take 155 photos in this while loop
MAIN: 2025-05-19 07:47:38,966 - INFO - /home/pi/Desktop/images/19052025/07/47/image_19052025_07_47_38_30189.jpg
MAIN: 2025-05-19 07:47:38,967 - INFO - duration: 1.47538321400134
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:48:08,966 - INFO - taking picture
MAIN: 2025-05-19 07:48:08,967 - INFO - we take 156 photos in this while loop
MAIN: 2025-05-19 07:48:08,968 - INFO - /home/pi/Desktop/images/19052025/07/47/image_19052025_07_48_08_29603.jpg
MAIN: 2025-05-19 07:48:08,968 - INFO - duration: 1.8733741209998698
MAIN: 2025-05-19 07:48:08,969 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/48'
MAIN: 2025-05-19 07:48:08,987 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:48:38,733 - INFO - taking picture
MAIN: 2025-05-19 07:48:38,735 - INFO - we take 157 photos in this while loop
MAIN: 2025-05-19 07:48:38,735 - INFO - /home/pi/Desktop/images/19052025/07/48/image_19052025_07_48_37_30163.jpg
MAIN: 2025-05-19 07:48:38,735 - INFO - duration: 1.4772332619995723
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:49:08,390 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 07:49:09,210 - INFO - taking picture
MAIN: 2025-05-19 07:49:09,211 - INFO - we take 158 photos in this while loop
MAIN: 2025-05-19 07:49:09,211 - INFO - /home/pi/Desktop/images/19052025/07/48/image_19052025_07_49_08_30429.jpg
MAIN: 2025-05-19 07:49:09,212 - INFO - duration: 1.5247149379993061
MAIN: 2025-05-19 07:49:09,213 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/49'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:49:39,074 - INFO - taking picture
MAIN: 2025-05-19 07:49:39,075 - INFO - we take 159 photos in this while loop
MAIN: 2025-05-19 07:49:39,076 - INFO - /home/pi/Desktop/images/19052025/07/49/image_19052025_07_49_38_29915.jpg
MAIN: 2025-05-19 07:49:39,076 - INFO - duration: 1.4736892510009056
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:50:09,278 - INFO - taking picture
MAIN: 2025-05-19 07:50:09,280 - INFO - we take 160 photos in this while loop
MAIN: 2025-05-19 07:50:09,280 - INFO - /home/pi/Desktop/images/19052025/07/49/image_19052025_07_50_08_29814.jpg
MAIN: 2025-05-19 07:50:09,281 - INFO - duration: 1.8644894329991075
MAIN: 2025-05-19 07:50:09,283 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/50'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 07:50:10,339 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:50:37,845 - INFO - taking picture
MAIN: 2025-05-19 07:50:37,846 - INFO - we take 161 photos in this while loop
MAIN: 2025-05-19 07:50:37,846 - INFO - /home/pi/Desktop/images/19052025/07/50/image_19052025_07_50_36_28953.jpg
MAIN: 2025-05-19 07:50:37,847 - INFO - duration: 1.476934401998733
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:51:08,482 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 07:51:08,656 - INFO - taking picture
MAIN: 2025-05-19 07:51:08,657 - INFO - we take 162 photos in this while loop
MAIN: 2025-05-19 07:51:08,658 - INFO - /home/pi/Desktop/images/19052025/07/50/image_19052025_07_51_07_30517.jpg
MAIN: 2025-05-19 07:51:08,658 - INFO - duration: 1.770890239999062
MAIN: 2025-05-19 07:51:08,659 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:51:38,576 - INFO - taking picture
MAIN: 2025-05-19 07:51:38,577 - INFO - we take 163 photos in this while loop
MAIN: 2025-05-19 07:51:38,577 - INFO - /home/pi/Desktop/images/19052025/07/51/image_19052025_07_51_37_30187.jpg
MAIN: 2025-05-19 07:51:38,578 - INFO - duration: 1.5029675540008611
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 07:52:08,672 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:52:09,948 - INFO - taking picture
MAIN: 2025-05-19 07:52:09,949 - INFO - we take 164 photos in this while loop
MAIN: 2025-05-19 07:52:09,949 - INFO - /home/pi/Desktop/images/19052025/07/51/image_19052025_07_52_09_30669.jpg
MAIN: 2025-05-19 07:52:09,950 - INFO - duration: 2.2054692359997716
MAIN: 2025-05-19 07:52:09,951 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:52:38,093 - INFO - taking picture
MAIN: 2025-05-19 07:52:38,095 - INFO - we take 165 photos in this while loop
MAIN: 2025-05-19 07:52:38,095 - INFO - /home/pi/Desktop/images/19052025/07/52/image_19052025_07_52_37_28877.jpg
MAIN: 2025-05-19 07:52:38,096 - INFO - duration: 1.4739062219996413
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:53:08,577 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 07:53:08,786 - INFO - taking picture
MAIN: 2025-05-19 07:53:08,787 - INFO - we take 166 photos in this while loop
MAIN: 2025-05-19 07:53:08,787 - INFO - /home/pi/Desktop/images/19052025/07/52/image_19052025_07_53_07_30524.jpg
MAIN: 2025-05-19 07:53:08,788 - INFO - duration: 1.641702377999536
MAIN: 2025-05-19 07:53:08,789 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:53:38,826 - INFO - taking picture
MAIN: 2025-05-19 07:53:38,827 - INFO - we take 167 photos in this while loop
MAIN: 2025-05-19 07:53:38,827 - INFO - /home/pi/Desktop/images/19052025/07/53/image_19052025_07_53_37_30179.jpg
MAIN: 2025-05-19 07:53:38,828 - INFO - duration: 1.5019042170006287
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 07:54:08,276 - INFO - taking picture
MAIN: 2025-05-19 07:54:08,278 - INFO - we take 168 photos in this while loop
MAIN: 2025-05-19 07:54:08,278 - INFO - /home/pi/Desktop/images/19052025/07/53/image_19052025_07_54_07_29231.jpg
MAIN: 2025-05-19 07:54:08,279 - INFO - duration: 1.7213348590012174
MAIN: 2025-05-19 07:54:08,280 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/54'
MAIN: 2025-05-19 07:54:09,065 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:54:38,607 - INFO - taking picture
MAIN: 2025-05-19 07:54:38,609 - INFO - we take 169 photos in this while loop
MAIN: 2025-05-19 07:54:38,609 - INFO - /home/pi/Desktop/images/19052025/07/54/image_19052025_07_54_37_30528.jpg
MAIN: 2025-05-19 07:54:38,609 - INFO - duration: 1.5233068529996672
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 07:55:08,646 - INFO - taking picture
MAIN: 2025-05-19 07:55:08,647 - INFO - we take 170 photos in this while loop
MAIN: 2025-05-19 07:55:08,647 - INFO - /home/pi/Desktop/images/19052025/07/54/image_19052025_07_55_07_29608.jpg
MAIN: 2025-05-19 07:55:08,648 - INFO - duration: 1.9531803840000066
MAIN: 2025-05-19 07:55:08,649 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/55'
MAIN: 2025-05-19 07:55:08,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:55:38,394 - INFO - taking picture
MAIN: 2025-05-19 07:55:38,395 - INFO - we take 171 photos in this while loop
MAIN: 2025-05-19 07:55:38,396 - INFO - /home/pi/Desktop/images/19052025/07/55/image_19052025_07_55_37_30205.jpg
MAIN: 2025-05-19 07:55:38,396 - INFO - duration: 1.4962758920009946
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 07:56:08,204 - INFO - taking picture
MAIN: 2025-05-19 07:56:08,205 - INFO - we take 172 photos in this while loop
MAIN: 2025-05-19 07:56:08,208 - INFO - /home/pi/Desktop/images/19052025/07/55/image_19052025_07_56_07_29321.jpg
MAIN: 2025-05-19 07:56:08,209 - INFO - duration: 1.9883849890011334
MAIN: 2025-05-19 07:56:08,210 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/56'
MAIN: 2025-05-19 07:56:08,888 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:56:38,275 - INFO - taking picture
MAIN: 2025-05-19 07:56:38,276 - INFO - we take 173 photos in this while loop
MAIN: 2025-05-19 07:56:38,276 - INFO - /home/pi/Desktop/images/19052025/07/56/image_19052025_07_56_37_30553.jpg
MAIN: 2025-05-19 07:56:38,277 - INFO - duration: 1.5027160440004081
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:57:08,710 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 07:57:09,083 - INFO - taking picture
MAIN: 2025-05-19 07:57:09,085 - INFO - we take 174 photos in this while loop
MAIN: 2025-05-19 07:57:09,085 - INFO - /home/pi/Desktop/images/19052025/07/56/image_19052025_07_57_08_30750.jpg
MAIN: 2025-05-19 07:57:09,085 - INFO - duration: 1.5610257200005435
MAIN: 2025-05-19 07:57:09,086 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/57'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:57:39,072 - INFO - taking picture
MAIN: 2025-05-19 07:57:39,073 - INFO - we take 175 photos in this while loop
MAIN: 2025-05-19 07:57:39,074 - INFO - /home/pi/Desktop/images/19052025/07/57/image_19052025_07_57_38_30073.jpg
MAIN: 2025-05-19 07:57:39,074 - INFO - duration: 1.4763986600009957
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 07:58:08,995 - INFO - taking picture
MAIN: 2025-05-19 07:58:08,996 - INFO - we take 176 photos in this while loop
MAIN: 2025-05-19 07:58:08,997 - INFO - /home/pi/Desktop/images/19052025/07/57/image_19052025_07_58_07_29124.jpg
MAIN: 2025-05-19 07:58:08,997 - INFO - duration: 2.2745445519994973
MAIN: 2025-05-19 07:58:08,998 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/07/58'
MAIN: 2025-05-19 07:58:09,550 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:58:38,980 - INFO - taking picture
MAIN: 2025-05-19 07:58:38,981 - INFO - we take 177 photos in this while loop
MAIN: 2025-05-19 07:58:38,982 - INFO - /home/pi/Desktop/images/19052025/07/58/image_19052025_07_58_38_30781.jpg
MAIN: 2025-05-19 07:58:38,982 - INFO - duration: 1.4778943059991434
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:59:08,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 ! 
MAIN: 2025-05-19 07:59:08,792 - INFO - taking picture
MAIN: 2025-05-19 07:59:08,793 - INFO - we take 178 photos in this while loop
MAIN: 2025-05-19 07:59:08,793 - INFO - /home/pi/Desktop/images/19052025/07/58/image_19052025_07_59_07_29580.jpg
MAIN: 2025-05-19 07:59:08,794 - INFO - duration: 1.7084987769994768
MAIN: 2025-05-19 07:59:08,795 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 07:59:38,505 - INFO - taking picture
MAIN: 2025-05-19 07:59:38,506 - INFO - we take 179 photos in this while loop
MAIN: 2025-05-19 07:59:38,507 - INFO - /home/pi/Desktop/images/19052025/07/59/image_19052025_07_59_37_29947.jpg
MAIN: 2025-05-19 07:59:38,507 - INFO - duration: 1.474073919998773
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:00:08,975 - INFO - taking picture
MAIN: 2025-05-19 08:00:08,976 - INFO - we take 180 photos in this while loop
MAIN: 2025-05-19 08:00:08,976 - INFO - /home/pi/Desktop/images/19052025/07/59/image_19052025_08_00_07_29692.jpg
MAIN: 2025-05-19 08:00:08,977 - INFO - duration: 2.250864850000653
MAIN: 2025-05-19 08:00:09,919 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/00'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 08:00:10,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:00:37,722 - INFO - taking picture
MAIN: 2025-05-19 08:00:37,723 - INFO - we take 181 photos in this while loop
MAIN: 2025-05-19 08:00:37,723 - INFO - /home/pi/Desktop/images/19052025/08/00/image_19052025_08_00_36_29493.jpg
MAIN: 2025-05-19 08:00:37,724 - INFO - duration: 1.5040348839993385
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:01:07,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 ! 
MAIN: 2025-05-19 08:01:08,664 - INFO - taking picture
MAIN: 2025-05-19 08:01:08,665 - INFO - we take 182 photos in this while loop
MAIN: 2025-05-19 08:01:08,665 - INFO - /home/pi/Desktop/images/19052025/08/00/image_19052025_08_01_07_30932.jpg
MAIN: 2025-05-19 08:01:08,666 - INFO - duration: 1.5133836499990139
MAIN: 2025-05-19 08:01:08,667 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/01'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:01:38,662 - INFO - taking picture
MAIN: 2025-05-19 08:01:38,663 - INFO - we take 183 photos in this while loop
MAIN: 2025-05-19 08:01:38,663 - INFO - /home/pi/Desktop/images/19052025/08/01/image_19052025_08_01_37_29979.jpg
MAIN: 2025-05-19 08:01:38,663 - INFO - duration: 1.5319079879991477
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:02:08,961 - INFO - taking picture
MAIN: 2025-05-19 08:02:08,962 - INFO - we take 184 photos in this while loop
MAIN: 2025-05-19 08:02:08,963 - INFO - /home/pi/Desktop/images/19052025/08/01/image_19052025_08_02_07_29583.jpg
MAIN: 2025-05-19 08:02:08,963 - INFO - duration: 2.247629618999781
MAIN: 2025-05-19 08:02:08,964 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/02'
MAIN: 2025-05-19 08:02:09,333 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:02:38,937 - INFO - taking picture
MAIN: 2025-05-19 08:02:38,938 - INFO - we take 185 photos in this while loop
MAIN: 2025-05-19 08:02:38,938 - INFO - /home/pi/Desktop/images/19052025/08/02/image_19052025_08_02_38_30744.jpg
MAIN: 2025-05-19 08:02:38,939 - INFO - duration: 1.4786964989998523
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:03:08,550 - INFO - taking picture
MAIN: 2025-05-19 08:03:08,551 - INFO - we take 186 photos in this while loop
MAIN: 2025-05-19 08:03:08,552 - INFO - /home/pi/Desktop/images/19052025/08/02/image_19052025_08_03_07_29305.jpg
MAIN: 2025-05-19 08:03:08,552 - INFO - duration: 1.7867358590010554
MAIN: 2025-05-19 08:03:08,553 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/03'
MAIN: 2025-05-19 08:03:08,590 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:03:38,326 - INFO - taking picture
MAIN: 2025-05-19 08:03:38,327 - INFO - we take 187 photos in this while loop
MAIN: 2025-05-19 08:03:38,327 - INFO - /home/pi/Desktop/images/19052025/08/03/image_19052025_08_03_37_30085.jpg
MAIN: 2025-05-19 08:03:38,328 - INFO - duration: 1.4763310899998032
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:04:08,559 - INFO - taking picture
MAIN: 2025-05-19 08:04:08,560 - INFO - we take 188 photos in this while loop
MAIN: 2025-05-19 08:04:08,561 - INFO - /home/pi/Desktop/images/19052025/08/03/image_19052025_08_04_07_29613.jpg
MAIN: 2025-05-19 08:04:08,561 - INFO - duration: 2.0963305960012804
MAIN: 2025-05-19 08:04:08,562 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/04'
MAIN: 2025-05-19 08:04:09,505 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:04:38,443 - INFO - taking picture
MAIN: 2025-05-19 08:04:38,444 - INFO - we take 189 photos in this while loop
MAIN: 2025-05-19 08:04:38,445 - INFO - /home/pi/Desktop/images/19052025/08/04/image_19052025_08_04_37_30465.jpg
MAIN: 2025-05-19 08:04:38,445 - INFO - duration: 1.51479826799914
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:05:08,493 - INFO - taking picture
MAIN: 2025-05-19 08:05:08,494 - INFO - we take 190 photos in this while loop
MAIN: 2025-05-19 08:05:08,495 - INFO - /home/pi/Desktop/images/19052025/08/04/image_19052025_08_05_07_29554.jpg
MAIN: 2025-05-19 08:05:08,495 - INFO - duration: 2.010865220998312
MAIN: 2025-05-19 08:05:08,496 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/05'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 08:05:09,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:05:38,714 - INFO - taking picture
MAIN: 2025-05-19 08:05:38,715 - INFO - we take 191 photos in this while loop
MAIN: 2025-05-19 08:05:38,715 - INFO - /home/pi/Desktop/images/19052025/08/05/image_19052025_08_05_37_30728.jpg
MAIN: 2025-05-19 08:05:38,716 - INFO - duration: 1.5027308919998177
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:06:08,981 - INFO - taking picture
MAIN: 2025-05-19 08:06:08,982 - INFO - we take 192 photos in this while loop
MAIN: 2025-05-19 08:06:08,983 - INFO - /home/pi/Desktop/images/19052025/08/05/image_19052025_08_06_07_29773.jpg
MAIN: 2025-05-19 08:06:08,983 - INFO - duration: 1.9963201289992867
MAIN: 2025-05-19 08:06:08,984 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/06'
MAIN: 2025-05-19 08:06:09,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:06:39,063 - INFO - taking picture
MAIN: 2025-05-19 08:06:39,064 - INFO - we take 193 photos in this while loop
MAIN: 2025-05-19 08:06:39,065 - INFO - /home/pi/Desktop/images/19052025/08/06/image_19052025_08_06_38_30578.jpg
MAIN: 2025-05-19 08:06:39,065 - INFO - duration: 1.4998988289989938
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:07:08,710 - INFO - taking picture
MAIN: 2025-05-19 08:07:08,711 - INFO - we take 194 photos in this while loop
MAIN: 2025-05-19 08:07:08,711 - INFO - /home/pi/Desktop/images/19052025/08/06/image_19052025_08_07_07_29500.jpg
MAIN: 2025-05-19 08:07:08,712 - INFO - duration: 1.6457781560002331
MAIN: 2025-05-19 08:07:08,713 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/07'
MAIN: 2025-05-19 08:07:08,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:07:38,787 - INFO - taking picture
MAIN: 2025-05-19 08:07:38,788 - INFO - we take 195 photos in this while loop
MAIN: 2025-05-19 08:07:38,788 - INFO - /home/pi/Desktop/images/19052025/08/07/image_19052025_08_07_37_30219.jpg
MAIN: 2025-05-19 08:07:38,789 - INFO - duration: 1.5032867139998416
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:08:08,744 - INFO - taking picture
MAIN: 2025-05-19 08:08:08,745 - INFO - we take 196 photos in this while loop
MAIN: 2025-05-19 08:08:08,745 - INFO - /home/pi/Desktop/images/19052025/08/07/image_19052025_08_08_07_29784.jpg
MAIN: 2025-05-19 08:08:08,746 - INFO - duration: 1.6760930029995507
MAIN: 2025-05-19 08:08:08,746 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/08'
MAIN: 2025-05-19 08:08:08,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:08:38,900 - INFO - taking picture
MAIN: 2025-05-19 08:08:38,901 - INFO - we take 197 photos in this while loop
MAIN: 2025-05-19 08:08:38,901 - INFO - /home/pi/Desktop/images/19052025/08/08/image_19052025_08_08_37_30322.jpg
MAIN: 2025-05-19 08:08:38,902 - INFO - duration: 1.5096199650015478
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:09:08,598 - INFO - taking picture
MAIN: 2025-05-19 08:09:08,599 - INFO - we take 198 photos in this while loop
MAIN: 2025-05-19 08:09:08,599 - INFO - /home/pi/Desktop/images/19052025/08/08/image_19052025_08_09_07_29584.jpg
MAIN: 2025-05-19 08:09:08,600 - INFO - duration: 1.622695300000487
MAIN: 2025-05-19 08:09:08,600 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/09'
MAIN: 2025-05-19 08:09:08,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:09:38,688 - INFO - taking picture
MAIN: 2025-05-19 08:09:38,690 - INFO - we take 199 photos in this while loop
MAIN: 2025-05-19 08:09:38,690 - INFO - /home/pi/Desktop/images/19052025/08/09/image_19052025_08_09_37_30207.jpg
MAIN: 2025-05-19 08:09:38,690 - INFO - duration: 1.505563433000134
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:10:09,564 - INFO - taking picture
MAIN: 2025-05-19 08:10:09,567 - INFO - we take 200 photos in this while loop
MAIN: 2025-05-19 08:10:09,568 - INFO - /home/pi/Desktop/images/19052025/08/09/image_19052025_08_10_08_29940.jpg
MAIN: 2025-05-19 08:10:09,571 - INFO - duration: 2.4456451200003357
MAIN: 2025-05-19 08:10:09,694 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/10'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 08:10:10,770 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:10:38,108 - INFO - taking picture
MAIN: 2025-05-19 08:10:38,109 - INFO - we take 201 photos in this while loop
MAIN: 2025-05-19 08:10:38,109 - INFO - /home/pi/Desktop/images/19052025/08/10/image_19052025_08_10_37_29493.jpg
MAIN: 2025-05-19 08:10:38,110 - INFO - duration: 1.4909467030011
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:11:07,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 ! 
MAIN: 2025-05-19 08:11:08,568 - INFO - taking picture
MAIN: 2025-05-19 08:11:08,569 - INFO - we take 202 photos in this while loop
MAIN: 2025-05-19 08:11:08,570 - INFO - /home/pi/Desktop/images/19052025/08/10/image_19052025_08_11_07_30418.jpg
MAIN: 2025-05-19 08:11:08,570 - INFO - duration: 1.532538385999942
MAIN: 2025-05-19 08:11:08,571 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/11'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:11:38,708 - INFO - taking picture
MAIN: 2025-05-19 08:11:38,709 - INFO - we take 203 photos in this while loop
MAIN: 2025-05-19 08:11:38,710 - INFO - /home/pi/Desktop/images/19052025/08/11/image_19052025_08_11_37_30168.jpg
MAIN: 2025-05-19 08:11:38,710 - INFO - duration: 1.503841468000246
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:12:08,937 - INFO - taking picture
MAIN: 2025-05-19 08:12:08,938 - INFO - we take 204 photos in this while loop
MAIN: 2025-05-19 08:12:08,939 - INFO - /home/pi/Desktop/images/19052025/08/11/image_19052025_08_12_07_29908.jpg
MAIN: 2025-05-19 08:12:08,939 - INFO - duration: 1.8242571860009775
MAIN: 2025-05-19 08:12:08,941 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/12'
MAIN: 2025-05-19 08:12:09,691 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:12:38,882 - INFO - taking picture
MAIN: 2025-05-19 08:12:38,883 - INFO - we take 205 photos in this while loop
MAIN: 2025-05-19 08:12:38,884 - INFO - /home/pi/Desktop/images/19052025/08/12/image_19052025_08_12_37_30298.jpg
MAIN: 2025-05-19 08:12:38,884 - INFO - duration: 1.4706355360012822
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:13:08,140 - INFO - taking picture
MAIN: 2025-05-19 08:13:08,142 - INFO - we take 206 photos in this while loop
MAIN: 2025-05-19 08:13:08,142 - INFO - /home/pi/Desktop/images/19052025/08/12/image_19052025_08_13_07_28983.jpg
MAIN: 2025-05-19 08:13:08,142 - INFO - duration: 1.744812898001328
MAIN: 2025-05-19 08:13:08,143 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/13'
MAIN: 2025-05-19 08:13:08,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:13:38,014 - INFO - taking picture
MAIN: 2025-05-19 08:13:38,015 - INFO - we take 207 photos in this while loop
MAIN: 2025-05-19 08:13:38,016 - INFO - /home/pi/Desktop/images/19052025/08/13/image_19052025_08_13_37_30085.jpg
MAIN: 2025-05-19 08:13:38,016 - INFO - duration: 1.5334854800003086
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:14:08,181 - INFO - taking picture
MAIN: 2025-05-19 08:14:08,182 - INFO - we take 208 photos in this while loop
MAIN: 2025-05-19 08:14:08,183 - INFO - /home/pi/Desktop/images/19052025/08/13/image_19052025_08_14_06_29622.jpg
MAIN: 2025-05-19 08:14:08,183 - INFO - duration: 2.077595573000508
MAIN: 2025-05-19 08:14:08,185 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/14'
MAIN: 2025-05-19 08:14:08,696 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:14:38,210 - INFO - taking picture
MAIN: 2025-05-19 08:14:38,211 - INFO - we take 209 photos in this while loop
MAIN: 2025-05-19 08:14:38,211 - INFO - /home/pi/Desktop/images/19052025/08/14/image_19052025_08_14_37_30601.jpg
MAIN: 2025-05-19 08:14:38,212 - INFO - duration: 1.504312517001381
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:15:08,764 - INFO - taking picture
MAIN: 2025-05-19 08:15:08,765 - INFO - we take 210 photos in this while loop
MAIN: 2025-05-19 08:15:08,766 - INFO - /home/pi/Desktop/images/19052025/08/14/image_19052025_08_15_07_29395.jpg
MAIN: 2025-05-19 08:15:08,767 - INFO - duration: 2.6635911960001977
MAIN: 2025-05-19 08:15:08,771 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/15'
MAIN: 2025-05-19 08:15:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:15:38,927 - INFO - taking picture
MAIN: 2025-05-19 08:15:38,928 - INFO - we take 211 photos in this while loop
MAIN: 2025-05-19 08:15:38,928 - INFO - /home/pi/Desktop/images/19052025/08/15/image_19052025_08_15_38_31319.jpg
MAIN: 2025-05-19 08:15:38,929 - INFO - duration: 1.5065471389989398
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:16:09,069 - INFO - taking picture
MAIN: 2025-05-19 08:16:09,071 - INFO - we take 212 photos in this while loop
MAIN: 2025-05-19 08:16:09,072 - INFO - /home/pi/Desktop/images/19052025/08/15/image_19052025_08_16_07_29677.jpg
MAIN: 2025-05-19 08:16:09,072 - INFO - duration: 1.9730773319988657
MAIN: 2025-05-19 08:16:09,074 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/16'
MAIN: 2025-05-19 08:16:09,455 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:16:39,005 - INFO - taking picture
MAIN: 2025-05-19 08:16:39,006 - INFO - we take 213 photos in this while loop
MAIN: 2025-05-19 08:16:39,006 - INFO - /home/pi/Desktop/images/19052025/08/16/image_19052025_08_16_38_30430.jpg
MAIN: 2025-05-19 08:16:39,007 - INFO - duration: 1.4769329310001922
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 08:17:07,939 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 08:17:08,542 - INFO - taking picture
MAIN: 2025-05-19 08:17:08,543 - INFO - we take 214 photos in this while loop
MAIN: 2025-05-19 08:17:08,543 - INFO - /home/pi/Desktop/images/19052025/08/16/image_19052025_08_17_07_29518.jpg
MAIN: 2025-05-19 08:17:08,543 - INFO - duration: 1.4952812979990995
MAIN: 2025-05-19 08:17:08,544 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/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=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-05-19 08:17:38,430 - INFO - taking picture
MAIN: 2025-05-19 08:17:38,432 - INFO - we take 215 photos in this while loop
MAIN: 2025-05-19 08:17:38,432 - INFO - /home/pi/Desktop/images/19052025/08/17/image_19052025_08_17_37_29906.jpg
MAIN: 2025-05-19 08:17:38,432 - INFO - duration: 1.4779500559998269
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 08:18:08,009 - INFO - taking picture
MAIN: 2025-05-19 08:18:08,010 - INFO - we take 216 photos in this while loop
MAIN: 2025-05-19 08:18:08,025 - INFO - /home/pi/Desktop/images/19052025/08/17/image_19052025_08_18_06_29288.jpg
MAIN: 2025-05-19 08:18:08,026 - INFO - duration: 1.782570150000538
MAIN: 2025-05-19 08:18:08,083 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/18'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 08:18:09,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=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-05-19 08:18:38,085 - INFO - taking picture
MAIN: 2025-05-19 08:18:38,087 - INFO - we take 217 photos in this while loop
MAIN: 2025-05-19 08:18:38,087 - INFO - /home/pi/Desktop/images/19052025/08/18/image_19052025_08_18_37_30341.jpg
MAIN: 2025-05-19 08:18:38,087 - INFO - duration: 1.502955395999379
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 08:19:08,718 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 08:19:09,404 - INFO - taking picture
MAIN: 2025-05-19 08:19:09,405 - INFO - we take 218 photos in this while loop
MAIN: 2025-05-19 08:19:09,406 - INFO - /home/pi/Desktop/images/19052025/08/18/image_19052025_08_19_08_31005.jpg
MAIN: 2025-05-19 08:19:09,406 - INFO - duration: 1.8161789710011362
MAIN: 2025-05-19 08:19:09,407 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/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=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-05-19 08:19:37,890 - INFO - taking picture
MAIN: 2025-05-19 08:19:37,891 - INFO - we take 219 photos in this while loop
MAIN: 2025-05-19 08:19:37,891 - INFO - /home/pi/Desktop/images/19052025/08/19/image_19052025_08_19_36_28782.jpg
MAIN: 2025-05-19 08:19:37,891 - INFO - duration: 1.5187950639992778
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 08:20:09,784 - INFO - taking picture
MAIN: 2025-05-19 08:20:09,785 - INFO - we take 220 photos in this while loop
MAIN: 2025-05-19 08:20:09,786 - INFO - /home/pi/Desktop/images/19052025/08/19/image_19052025_08_20_08_31414.jpg
MAIN: 2025-05-19 08:20:09,786 - INFO - duration: 1.999082581998664
MAIN: 2025-05-19 08:20:09,787 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/20'
MAIN: 2025-05-19 08:20:10,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=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-05-19 08:20:38,085 - INFO - taking picture
MAIN: 2025-05-19 08:20:38,087 - INFO - we take 221 photos in this while loop
MAIN: 2025-05-19 08:20:38,087 - INFO - /home/pi/Desktop/images/19052025/08/20/image_19052025_08_20_37_28832.jpg
MAIN: 2025-05-19 08:20:38,087 - INFO - duration: 1.4679374380011723
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 08:21:08,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 ! 
MAIN: 2025-05-19 08:21:08,888 - INFO - taking picture
MAIN: 2025-05-19 08:21:08,889 - INFO - we take 222 photos in this while loop
MAIN: 2025-05-19 08:21:08,890 - INFO - /home/pi/Desktop/images/19052025/08/20/image_19052025_08_21_07_30735.jpg
MAIN: 2025-05-19 08:21:08,890 - INFO - duration: 1.5349438449993613
MAIN: 2025-05-19 08:21:08,891 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/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-05-19 08:21:38,742 - INFO - taking picture
MAIN: 2025-05-19 08:21:38,743 - INFO - we take 223 photos in this while loop
MAIN: 2025-05-19 08:21:38,744 - INFO - /home/pi/Desktop/images/19052025/08/21/image_19052025_08_21_37_29916.jpg
MAIN: 2025-05-19 08:21:38,744 - INFO - duration: 1.4725807100003294
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 08:22:08,514 - INFO - taking picture
MAIN: 2025-05-19 08:22:08,515 - INFO - we take 224 photos in this while loop
MAIN: 2025-05-19 08:22:08,516 - INFO - /home/pi/Desktop/images/19052025/08/21/image_19052025_08_22_07_29396.jpg
MAIN: 2025-05-19 08:22:08,517 - INFO - duration: 1.8489961640007095
MAIN: 2025-05-19 08:22:08,518 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/22'
MAIN: 2025-05-19 08:22:09,073 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 08:22:38,478 - INFO - taking picture
MAIN: 2025-05-19 08:22:38,479 - INFO - we take 225 photos in this while loop
MAIN: 2025-05-19 08:22:38,480 - INFO - /home/pi/Desktop/images/19052025/08/22/image_19052025_08_22_37_30321.jpg
MAIN: 2025-05-19 08:22:38,480 - INFO - duration: 1.4911528259999614
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:23:08,278 - INFO - taking picture
MAIN: 2025-05-19 08:23:08,279 - INFO - we take 226 photos in this while loop
MAIN: 2025-05-19 08:23:08,280 - INFO - /home/pi/Desktop/images/19052025/08/22/image_19052025_08_23_07_29153.jpg
MAIN: 2025-05-19 08:23:08,280 - INFO - duration: 2.137325325000347
MAIN: 2025-05-19 08:23:08,281 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/23'
MAIN: 2025-05-19 08:23:09,080 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:23:38,144 - INFO - taking picture
MAIN: 2025-05-19 08:23:38,145 - INFO - we take 227 photos in this while loop
MAIN: 2025-05-19 08:23:38,145 - INFO - /home/pi/Desktop/images/19052025/08/23/image_19052025_08_23_37_30526.jpg
MAIN: 2025-05-19 08:23:38,146 - INFO - duration: 1.4766967909999948
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:24:09,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-05-19 08:24:09,366 - INFO - taking picture
MAIN: 2025-05-19 08:24:09,367 - INFO - we take 228 photos in this while loop
MAIN: 2025-05-19 08:24:09,368 - INFO - /home/pi/Desktop/images/19052025/08/23/image_19052025_08_24_08_31126.jpg
MAIN: 2025-05-19 08:24:09,369 - INFO - duration: 1.5733481770002982
MAIN: 2025-05-19 08:24:09,371 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/24'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:24:37,761 - INFO - taking picture
MAIN: 2025-05-19 08:24:37,762 - INFO - we take 229 photos in this while loop
MAIN: 2025-05-19 08:24:37,762 - INFO - /home/pi/Desktop/images/19052025/08/24/image_19052025_08_24_36_28489.jpg
MAIN: 2025-05-19 08:24:37,763 - INFO - duration: 1.4783245459984755
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:25:09,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-05-19 08:25:09,627 - INFO - taking picture
MAIN: 2025-05-19 08:25:09,628 - INFO - we take 230 photos in this while loop
MAIN: 2025-05-19 08:25:09,628 - INFO - /home/pi/Desktop/images/19052025/08/24/image_19052025_08_25_08_31434.jpg
MAIN: 2025-05-19 08:25:09,629 - INFO - duration: 1.9097396460001619
MAIN: 2025-05-19 08:25:09,629 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/25'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:25:37,999 - INFO - taking picture
MAIN: 2025-05-19 08:25:38,000 - INFO - we take 231 photos in this while loop
MAIN: 2025-05-19 08:25:38,001 - INFO - /home/pi/Desktop/images/19052025/08/25/image_19052025_08_25_37_28789.jpg
MAIN: 2025-05-19 08:25:38,001 - INFO - duration: 1.493058646999998
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:26:09,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-05-19 08:26:09,664 - INFO - taking picture
MAIN: 2025-05-19 08:26:09,666 - INFO - we take 232 photos in this while loop
MAIN: 2025-05-19 08:26:09,666 - INFO - /home/pi/Desktop/images/19052025/08/25/image_19052025_08_26_08_31526.jpg
MAIN: 2025-05-19 08:26:09,666 - INFO - duration: 1.631544533000124
MAIN: 2025-05-19 08:26:09,667 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/26'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:26:38,159 - INFO - taking picture
MAIN: 2025-05-19 08:26:38,160 - INFO - we take 233 photos in this while loop
MAIN: 2025-05-19 08:26:38,161 - INFO - /home/pi/Desktop/images/19052025/08/26/image_19052025_08_26_37_28644.jpg
MAIN: 2025-05-19 08:26:38,161 - INFO - duration: 1.482061046999661
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 08:27:07,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:27:09,118 - INFO - taking picture
MAIN: 2025-05-19 08:27:09,119 - INFO - we take 234 photos in this while loop
MAIN: 2025-05-19 08:27:09,119 - INFO - /home/pi/Desktop/images/19052025/08/26/image_19052025_08_27_08_30939.jpg
MAIN: 2025-05-19 08:27:09,120 - INFO - duration: 1.501239990000613
MAIN: 2025-05-19 08:27:09,121 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/27'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:27:39,018 - INFO - taking picture
MAIN: 2025-05-19 08:27:39,019 - INFO - we take 235 photos in this while loop
MAIN: 2025-05-19 08:27:39,020 - INFO - /home/pi/Desktop/images/19052025/08/27/image_19052025_08_27_38_29926.jpg
MAIN: 2025-05-19 08:27:39,020 - INFO - duration: 1.475347404000786
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:28:08,966 - INFO - taking picture
MAIN: 2025-05-19 08:28:08,967 - INFO - we take 236 photos in this while loop
MAIN: 2025-05-19 08:28:08,967 - INFO - /home/pi/Desktop/images/19052025/08/27/image_19052025_08_28_07_29615.jpg
MAIN: 2025-05-19 08:28:08,968 - INFO - duration: 1.8071697620016494
MAIN: 2025-05-19 08:28:08,968 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/28'
MAIN: 2025-05-19 08:28:08,989 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:28:38,766 - INFO - taking picture
MAIN: 2025-05-19 08:28:38,767 - INFO - we take 237 photos in this while loop
MAIN: 2025-05-19 08:28:38,768 - INFO - /home/pi/Desktop/images/19052025/08/28/image_19052025_08_28_37_30128.jpg
MAIN: 2025-05-19 08:28:38,768 - INFO - duration: 1.4789931279992743
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:29:08,126 - INFO - taking picture
MAIN: 2025-05-19 08:29:08,127 - INFO - we take 238 photos in this while loop
MAIN: 2025-05-19 08:29:08,127 - INFO - /home/pi/Desktop/images/19052025/08/28/image_19052025_08_29_07_29088.jpg
MAIN: 2025-05-19 08:29:08,127 - INFO - duration: 1.749559280999165
MAIN: 2025-05-19 08:29:08,128 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/29'
MAIN: 2025-05-19 08:29:08,430 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:29:38,037 - INFO - taking picture
MAIN: 2025-05-19 08:29:38,038 - INFO - we take 239 photos in this while loop
MAIN: 2025-05-19 08:29:38,039 - INFO - /home/pi/Desktop/images/19052025/08/29/image_19052025_08_29_37_30170.jpg
MAIN: 2025-05-19 08:29:38,039 - INFO - duration: 1.490457466999942
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:30:09,033 - INFO - taking picture
MAIN: 2025-05-19 08:30:09,035 - INFO - we take 240 photos in this while loop
MAIN: 2025-05-19 08:30:09,044 - INFO - /home/pi/Desktop/images/19052025/08/29/image_19052025_08_30_07_29727.jpg
MAIN: 2025-05-19 08:30:09,045 - INFO - duration: 2.769496540999171
MAIN: 2025-05-19 08:30:09,358 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/30'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 08:30:10,507 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:30:37,933 - INFO - taking picture
MAIN: 2025-05-19 08:30:37,934 - INFO - we take 241 photos in this while loop
MAIN: 2025-05-19 08:30:37,935 - INFO - /home/pi/Desktop/images/19052025/08/30/image_19052025_08_30_37_30127.jpg
MAIN: 2025-05-19 08:30:37,935 - INFO - duration: 1.5317961429991556
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:31:08,377 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 08:31:09,050 - INFO - taking picture
MAIN: 2025-05-19 08:31:09,051 - INFO - we take 242 photos in this while loop
MAIN: 2025-05-19 08:31:09,051 - INFO - /home/pi/Desktop/images/19052025/08/30/image_19052025_08_31_08_31145.jpg
MAIN: 2025-05-19 08:31:09,052 - INFO - duration: 1.5033899410009326
MAIN: 2025-05-19 08:31:09,053 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:31:37,601 - INFO - taking picture
MAIN: 2025-05-19 08:31:37,602 - INFO - we take 243 photos in this while loop
MAIN: 2025-05-19 08:31:37,602 - INFO - /home/pi/Desktop/images/19052025/08/31/image_19052025_08_31_36_28576.jpg
MAIN: 2025-05-19 08:31:37,602 - INFO - duration: 1.4770899000013742
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:32:09,272 - INFO - taking picture
MAIN: 2025-05-19 08:32:09,275 - INFO - we take 244 photos in this while loop
MAIN: 2025-05-19 08:32:09,275 - INFO - /home/pi/Desktop/images/19052025/08/31/image_19052025_08_32_08_31330.jpg
MAIN: 2025-05-19 08:32:09,276 - INFO - duration: 1.8203055970006972
MAIN: 2025-05-19 08:32:09,277 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/32'
MAIN: 2025-05-19 08:32:09,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:32:37,810 - INFO - taking picture
MAIN: 2025-05-19 08:32:37,811 - INFO - we take 245 photos in this while loop
MAIN: 2025-05-19 08:32:37,811 - INFO - /home/pi/Desktop/images/19052025/08/32/image_19052025_08_32_36_28854.jpg
MAIN: 2025-05-19 08:32:37,812 - INFO - duration: 1.501337980000244
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:33:08,510 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 08:33:08,921 - INFO - taking picture
MAIN: 2025-05-19 08:33:08,922 - INFO - we take 246 photos in this while loop
MAIN: 2025-05-19 08:33:08,922 - INFO - /home/pi/Desktop/images/19052025/08/32/image_19052025_08_33_07_30916.jpg
MAIN: 2025-05-19 08:33:08,923 - INFO - duration: 1.6952262249997148
MAIN: 2025-05-19 08:33:08,924 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:33:38,841 - INFO - taking picture
MAIN: 2025-05-19 08:33:38,842 - INFO - we take 247 photos in this while loop
MAIN: 2025-05-19 08:33:38,842 - INFO - /home/pi/Desktop/images/19052025/08/33/image_19052025_08_33_37_30124.jpg
MAIN: 2025-05-19 08:33:38,842 - INFO - duration: 1.4907990339997923
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:34:08,982 - INFO - taking picture
MAIN: 2025-05-19 08:34:08,983 - INFO - we take 248 photos in this while loop
MAIN: 2025-05-19 08:34:08,984 - INFO - /home/pi/Desktop/images/19052025/08/33/image_19052025_08_34_07_29802.jpg
MAIN: 2025-05-19 08:34:08,984 - INFO - duration: 1.8296690070001205
MAIN: 2025-05-19 08:34:08,985 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/34'
MAIN: 2025-05-19 08:34:09,228 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:34:38,888 - INFO - taking picture
MAIN: 2025-05-19 08:34:38,889 - INFO - we take 249 photos in this while loop
MAIN: 2025-05-19 08:34:38,890 - INFO - /home/pi/Desktop/images/19052025/08/34/image_19052025_08_34_37_30261.jpg
MAIN: 2025-05-19 08:34:38,890 - INFO - duration: 1.473697084999003
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:35:09,109 - INFO - taking picture
MAIN: 2025-05-19 08:35:09,110 - INFO - we take 250 photos in this while loop
MAIN: 2025-05-19 08:35:09,111 - INFO - /home/pi/Desktop/images/19052025/08/34/image_19052025_08_35_07_29622.jpg
MAIN: 2025-05-19 08:35:09,111 - INFO - duration: 2.0726944969992473
MAIN: 2025-05-19 08:35:09,112 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/35'
MAIN: 2025-05-19 08:35:09,391 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:35:37,596 - INFO - taking picture
MAIN: 2025-05-19 08:35:37,597 - INFO - we take 251 photos in this while loop
MAIN: 2025-05-19 08:35:37,597 - INFO - /home/pi/Desktop/images/19052025/08/35/image_19052025_08_35_36_29052.jpg
MAIN: 2025-05-19 08:35:37,598 - INFO - duration: 1.5069590610000887
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:36:09,167 - INFO - taking picture
MAIN: 2025-05-19 08:36:09,168 - INFO - we take 252 photos in this while loop
MAIN: 2025-05-19 08:36:09,169 - INFO - /home/pi/Desktop/images/19052025/08/35/image_19052025_08_36_08_31266.jpg
MAIN: 2025-05-19 08:36:09,169 - INFO - duration: 1.8115889450000395
MAIN: 2025-05-19 08:36:09,170 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/36'
MAIN: 2025-05-19 08:36:09,743 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:36:37,687 - INFO - taking picture
MAIN: 2025-05-19 08:36:37,688 - INFO - we take 253 photos in this while loop
MAIN: 2025-05-19 08:36:37,688 - INFO - /home/pi/Desktop/images/19052025/08/36/image_19052025_08_36_36_28830.jpg
MAIN: 2025-05-19 08:36:37,689 - INFO - duration: 1.5010893789985857
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:37:07,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 ! 
MAIN: 2025-05-19 08:37:08,710 - INFO - taking picture
MAIN: 2025-05-19 08:37:08,711 - INFO - we take 254 photos in this while loop
MAIN: 2025-05-19 08:37:08,712 - INFO - /home/pi/Desktop/images/19052025/08/36/image_19052025_08_37_07_30972.jpg
MAIN: 2025-05-19 08:37:08,712 - INFO - duration: 1.5518542230001913
MAIN: 2025-05-19 08:37:08,713 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/37'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:37:38,607 - INFO - taking picture
MAIN: 2025-05-19 08:37:38,608 - INFO - we take 255 photos in this while loop
MAIN: 2025-05-19 08:37:38,609 - INFO - /home/pi/Desktop/images/19052025/08/37/image_19052025_08_37_37_29949.jpg
MAIN: 2025-05-19 08:37:38,609 - INFO - duration: 1.4992486120008834
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:38:08,707 - INFO - taking picture
MAIN: 2025-05-19 08:38:08,708 - INFO - we take 256 photos in this while loop
MAIN: 2025-05-19 08:38:08,709 - INFO - /home/pi/Desktop/images/19052025/08/37/image_19052025_08_38_07_29570.jpg
MAIN: 2025-05-19 08:38:08,709 - INFO - duration: 2.0291000540000823
MAIN: 2025-05-19 08:38:08,710 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/38'
MAIN: 2025-05-19 08:38:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:38:38,704 - INFO - taking picture
MAIN: 2025-05-19 08:38:38,706 - INFO - we take 257 photos in this while loop
MAIN: 2025-05-19 08:38:38,706 - INFO - /home/pi/Desktop/images/19052025/08/38/image_19052025_08_38_37_30552.jpg
MAIN: 2025-05-19 08:38:38,706 - INFO - duration: 1.4733482789997652
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:39:08,224 - INFO - taking picture
MAIN: 2025-05-19 08:39:08,226 - INFO - we take 258 photos in this while loop
MAIN: 2025-05-19 08:39:08,226 - INFO - /home/pi/Desktop/images/19052025/08/38/image_19052025_08_39_07_29052.jpg
MAIN: 2025-05-19 08:39:08,227 - INFO - duration: 1.9413516389995493
MAIN: 2025-05-19 08:39:08,228 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/39'
MAIN: 2025-05-19 08:39:08,552 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:39:38,297 - INFO - taking picture
MAIN: 2025-05-19 08:39:38,298 - INFO - we take 259 photos in this while loop
MAIN: 2025-05-19 08:39:38,298 - INFO - /home/pi/Desktop/images/19052025/08/39/image_19052025_08_39_37_30511.jpg
MAIN: 2025-05-19 08:39:38,299 - INFO - duration: 1.5016118510011438
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:40:09,148 - INFO - taking picture
MAIN: 2025-05-19 08:40:09,150 - INFO - we take 260 photos in this while loop
MAIN: 2025-05-19 08:40:09,151 - INFO - /home/pi/Desktop/images/19052025/08/39/image_19052025_08_40_07_29878.jpg
MAIN: 2025-05-19 08:40:09,151 - INFO - duration: 2.47513366199928
MAIN: 2025-05-19 08:40:09,363 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/40'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 08:40:10,415 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:40:39,043 - INFO - taking picture
MAIN: 2025-05-19 08:40:39,044 - INFO - we take 261 photos in this while loop
MAIN: 2025-05-19 08:40:39,045 - INFO - /home/pi/Desktop/images/19052025/08/40/image_19052025_08_40_38_30898.jpg
MAIN: 2025-05-19 08:40:39,045 - INFO - duration: 1.47022179600026
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:41:08,526 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 08:41:08,734 - INFO - taking picture
MAIN: 2025-05-19 08:41:08,735 - INFO - we take 262 photos in this while loop
MAIN: 2025-05-19 08:41:08,736 - INFO - /home/pi/Desktop/images/19052025/08/40/image_19052025_08_41_07_29509.jpg
MAIN: 2025-05-19 08:41:08,736 - INFO - duration: 1.6524054149995209
MAIN: 2025-05-19 08:41:08,737 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:41:38,527 - INFO - taking picture
MAIN: 2025-05-19 08:41:38,528 - INFO - we take 263 photos in this while loop
MAIN: 2025-05-19 08:41:38,528 - INFO - /home/pi/Desktop/images/19052025/08/41/image_19052025_08_41_37_29963.jpg
MAIN: 2025-05-19 08:41:38,529 - INFO - duration: 1.4809315830007108
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:42:08,371 - INFO - taking picture
MAIN: 2025-05-19 08:42:08,372 - INFO - we take 264 photos in this while loop
MAIN: 2025-05-19 08:42:08,373 - INFO - /home/pi/Desktop/images/19052025/08/41/image_19052025_08_42_07_29327.jpg
MAIN: 2025-05-19 08:42:08,373 - INFO - duration: 1.9979357680003886
MAIN: 2025-05-19 08:42:08,605 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/42'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 08:42:09,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:42:38,458 - INFO - taking picture
MAIN: 2025-05-19 08:42:38,459 - INFO - we take 265 photos in this while loop
MAIN: 2025-05-19 08:42:38,460 - INFO - /home/pi/Desktop/images/19052025/08/42/image_19052025_08_42_37_30587.jpg
MAIN: 2025-05-19 08:42:38,460 - INFO - duration: 1.4977806440001586
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:43:08,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 ! 
MAIN: 2025-05-19 08:43:08,015 - INFO - taking picture
MAIN: 2025-05-19 08:43:08,017 - INFO - we take 266 photos in this while loop
MAIN: 2025-05-19 08:43:08,017 - INFO - /home/pi/Desktop/images/19052025/08/42/image_19052025_08_43_06_29242.jpg
MAIN: 2025-05-19 08:43:08,018 - INFO - duration: 1.8126184289994853
MAIN: 2025-05-19 08:43:08,019 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/43'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:43:37,934 - INFO - taking picture
MAIN: 2025-05-19 08:43:37,935 - INFO - we take 267 photos in this while loop
MAIN: 2025-05-19 08:43:37,935 - INFO - /home/pi/Desktop/images/19052025/08/43/image_19052025_08_43_37_30255.jpg
MAIN: 2025-05-19 08:43:37,936 - INFO - duration: 1.4752197229990998
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:44:09,477 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 08:44:09,516 - INFO - taking picture
MAIN: 2025-05-19 08:44:09,517 - INFO - we take 268 photos in this while loop
MAIN: 2025-05-19 08:44:09,517 - INFO - /home/pi/Desktop/images/19052025/08/43/image_19052025_08_44_08_31288.jpg
MAIN: 2025-05-19 08:44:09,518 - INFO - duration: 1.7683438630010642
MAIN: 2025-05-19 08:44:09,519 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/44'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:44:37,886 - INFO - taking picture
MAIN: 2025-05-19 08:44:37,887 - INFO - we take 269 photos in this while loop
MAIN: 2025-05-19 08:44:37,887 - INFO - /home/pi/Desktop/images/19052025/08/44/image_19052025_08_44_36_28659.jpg
MAIN: 2025-05-19 08:44:37,887 - INFO - duration: 1.4786216640004568
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:45:09,532 - INFO - taking picture
MAIN: 2025-05-19 08:45:09,533 - INFO - we take 270 photos in this while loop
MAIN: 2025-05-19 08:45:09,533 - INFO - /home/pi/Desktop/images/19052025/08/44/image_19052025_08_45_08_31486.jpg
MAIN: 2025-05-19 08:45:09,534 - INFO - duration: 1.6379875709990301
MAIN: 2025-05-19 08:45:09,535 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/45'
MAIN: 2025-05-19 08:45:10,039 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:45:37,866 - INFO - taking picture
MAIN: 2025-05-19 08:45:37,867 - INFO - we take 271 photos in this while loop
MAIN: 2025-05-19 08:45:37,867 - INFO - /home/pi/Desktop/images/19052025/08/45/image_19052025_08_45_36_28508.jpg
MAIN: 2025-05-19 08:45:37,868 - INFO - duration: 1.4637232499990205
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:46:08,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 ! 
MAIN: 2025-05-19 08:46:09,315 - INFO - taking picture
MAIN: 2025-05-19 08:46:09,316 - INFO - we take 272 photos in this while loop
MAIN: 2025-05-19 08:46:09,317 - INFO - /home/pi/Desktop/images/19052025/08/45/image_19052025_08_46_08_31246.jpg
MAIN: 2025-05-19 08:46:09,317 - INFO - duration: 1.6670624720009073
MAIN: 2025-05-19 08:46:09,318 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:46:37,668 - INFO - taking picture
MAIN: 2025-05-19 08:46:37,669 - INFO - we take 273 photos in this while loop
MAIN: 2025-05-19 08:46:37,669 - INFO - /home/pi/Desktop/images/19052025/08/46/image_19052025_08_46_36_28541.jpg
MAIN: 2025-05-19 08:46:37,670 - INFO - duration: 1.4785244129998318
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:47:08,314 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 08:47:08,733 - INFO - taking picture
MAIN: 2025-05-19 08:47:08,734 - INFO - we take 274 photos in this while loop
MAIN: 2025-05-19 08:47:08,735 - INFO - /home/pi/Desktop/images/19052025/08/46/image_19052025_08_47_07_30920.jpg
MAIN: 2025-05-19 08:47:08,735 - INFO - duration: 1.623876781000945
MAIN: 2025-05-19 08:47:08,736 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/47'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:47:38,675 - INFO - taking picture
MAIN: 2025-05-19 08:47:38,676 - INFO - we take 275 photos in this while loop
MAIN: 2025-05-19 08:47:38,676 - INFO - /home/pi/Desktop/images/19052025/08/47/image_19052025_08_47_37_30091.jpg
MAIN: 2025-05-19 08:47:38,677 - INFO - duration: 1.4742282930001238
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:48:08,543 - INFO - taking picture
MAIN: 2025-05-19 08:48:08,544 - INFO - we take 276 photos in this while loop
MAIN: 2025-05-19 08:48:08,545 - INFO - /home/pi/Desktop/images/19052025/08/47/image_19052025_08_48_07_29356.jpg
MAIN: 2025-05-19 08:48:08,546 - INFO - duration: 1.9860229410005559
MAIN: 2025-05-19 08:48:08,931 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/48'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 08:48:09,982 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:48:38,483 - INFO - taking picture
MAIN: 2025-05-19 08:48:38,484 - INFO - we take 277 photos in this while loop
MAIN: 2025-05-19 08:48:38,485 - INFO - /home/pi/Desktop/images/19052025/08/48/image_19052025_08_48_37_30456.jpg
MAIN: 2025-05-19 08:48:38,485 - INFO - duration: 1.4686241569997946
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:49:09,064 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 08:49:09,272 - INFO - taking picture
MAIN: 2025-05-19 08:49:09,273 - INFO - we take 278 photos in this while loop
MAIN: 2025-05-19 08:49:09,273 - INFO - /home/pi/Desktop/images/19052025/08/48/image_19052025_08_49_08_30678.jpg
MAIN: 2025-05-19 08:49:09,274 - INFO - duration: 1.5788119590015413
MAIN: 2025-05-19 08:49:09,275 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/49'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:49:37,613 - INFO - taking picture
MAIN: 2025-05-19 08:49:37,614 - INFO - we take 279 photos in this while loop
MAIN: 2025-05-19 08:49:37,614 - INFO - /home/pi/Desktop/images/19052025/08/49/image_19052025_08_49_36_28452.jpg
MAIN: 2025-05-19 08:49:37,615 - INFO - duration: 1.4667080439994606
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:50:09,926 - INFO - taking picture
MAIN: 2025-05-19 08:50:09,927 - INFO - we take 280 photos in this while loop
MAIN: 2025-05-19 08:50:09,927 - INFO - /home/pi/Desktop/images/19052025/08/49/image_19052025_08_50_08_31693.jpg
MAIN: 2025-05-19 08:50:09,928 - INFO - duration: 2.0860316380003496
MAIN: 2025-05-19 08:50:09,928 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/50'
MAIN: 2025-05-19 08:50:09,939 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:50:38,508 - INFO - taking picture
MAIN: 2025-05-19 08:50:38,509 - INFO - we take 281 photos in this while loop
MAIN: 2025-05-19 08:50:38,510 - INFO - /home/pi/Desktop/images/19052025/08/50/image_19052025_08_50_37_29153.jpg
MAIN: 2025-05-19 08:50:38,510 - INFO - duration: 1.5153086779992009
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:51:08,047 - INFO - taking picture
MAIN: 2025-05-19 08:51:08,048 - INFO - we take 282 photos in this while loop
MAIN: 2025-05-19 08:51:08,049 - INFO - /home/pi/Desktop/images/19052025/08/50/image_19052025_08_51_07_29263.jpg
MAIN: 2025-05-19 08:51:08,049 - INFO - duration: 1.7910561879998568
MAIN: 2025-05-19 08:51:08,050 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/51'
MAIN: 2025-05-19 08:51:08,706 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:51:37,960 - INFO - taking picture
MAIN: 2025-05-19 08:51:37,961 - INFO - we take 283 photos in this while loop
MAIN: 2025-05-19 08:51:37,962 - INFO - /home/pi/Desktop/images/19052025/08/51/image_19052025_08_51_37_30217.jpg
MAIN: 2025-05-19 08:51:37,962 - INFO - duration: 1.4861027900005865
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:52:09,464 - INFO - taking picture
MAIN: 2025-05-19 08:52:09,465 - INFO - we take 284 photos in this while loop
MAIN: 2025-05-19 08:52:09,466 - INFO - /home/pi/Desktop/images/19052025/08/51/image_19052025_08_52_08_31195.jpg
MAIN: 2025-05-19 08:52:09,466 - INFO - duration: 1.7949442389999604
MAIN: 2025-05-19 08:52:09,467 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/52'
MAIN: 2025-05-19 08:52:09,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:52:37,839 - INFO - taking picture
MAIN: 2025-05-19 08:52:37,840 - INFO - we take 285 photos in this while loop
MAIN: 2025-05-19 08:52:37,840 - INFO - /home/pi/Desktop/images/19052025/08/52/image_19052025_08_52_36_28685.jpg
MAIN: 2025-05-19 08:52:37,841 - INFO - duration: 1.4834950679996837
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:53:08,365 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 08:53:08,924 - INFO - taking picture
MAIN: 2025-05-19 08:53:08,925 - INFO - we take 286 photos in this while loop
MAIN: 2025-05-19 08:53:08,925 - INFO - /home/pi/Desktop/images/19052025/08/52/image_19052025_08_53_07_31025.jpg
MAIN: 2025-05-19 08:53:08,926 - INFO - duration: 1.5432174260004103
MAIN: 2025-05-19 08:53:08,927 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/53'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:53:39,078 - INFO - taking picture
MAIN: 2025-05-19 08:53:39,079 - INFO - we take 287 photos in this while loop
MAIN: 2025-05-19 08:53:39,079 - INFO - /home/pi/Desktop/images/19052025/08/53/image_19052025_08_53_38_30190.jpg
MAIN: 2025-05-19 08:53:39,080 - INFO - duration: 1.5065296269985993
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 08:54:09,250 - INFO - taking picture
MAIN: 2025-05-19 08:54:09,251 - INFO - we take 288 photos in this while loop
MAIN: 2025-05-19 08:54:09,251 - INFO - /home/pi/Desktop/images/19052025/08/53/image_19052025_08_54_08_29870.jpg
MAIN: 2025-05-19 08:54:09,252 - INFO - duration: 1.8075508670008276
MAIN: 2025-05-19 08:54:09,253 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/54'
MAIN: 2025-05-19 08:54:09,671 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:54:37,678 - INFO - taking picture
MAIN: 2025-05-19 08:54:37,680 - INFO - we take 289 photos in this while loop
MAIN: 2025-05-19 08:54:37,680 - INFO - /home/pi/Desktop/images/19052025/08/54/image_19052025_08_54_36_28761.jpg
MAIN: 2025-05-19 08:54:37,680 - INFO - duration: 1.4749041100003524
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:55:09,333 - INFO - taking picture
MAIN: 2025-05-19 08:55:09,335 - INFO - we take 290 photos in this while loop
MAIN: 2025-05-19 08:55:09,335 - INFO - /home/pi/Desktop/images/19052025/08/54/image_19052025_08_55_08_31366.jpg
MAIN: 2025-05-19 08:55:09,335 - INFO - duration: 1.7629825959993468
MAIN: 2025-05-19 08:55:09,336 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/55'
MAIN: 2025-05-19 08:55:09,394 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:55:37,709 - INFO - taking picture
MAIN: 2025-05-19 08:55:37,710 - INFO - we take 291 photos in this while loop
MAIN: 2025-05-19 08:55:37,710 - INFO - /home/pi/Desktop/images/19052025/08/55/image_19052025_08_55_36_28656.jpg
MAIN: 2025-05-19 08:55:37,711 - INFO - duration: 1.481681960998685
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:56:09,300 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 08:56:09,484 - INFO - taking picture
MAIN: 2025-05-19 08:56:09,485 - INFO - we take 292 photos in this while loop
MAIN: 2025-05-19 08:56:09,486 - INFO - /home/pi/Desktop/images/19052025/08/55/image_19052025_08_56_08_31196.jpg
MAIN: 2025-05-19 08:56:09,486 - INFO - duration: 2.0604294540007686
MAIN: 2025-05-19 08:56:09,487 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:56:37,856 - INFO - taking picture
MAIN: 2025-05-19 08:56:37,857 - INFO - we take 293 photos in this while loop
MAIN: 2025-05-19 08:56:37,857 - INFO - /home/pi/Desktop/images/19052025/08/56/image_19052025_08_56_36_28953.jpg
MAIN: 2025-05-19 08:56:37,858 - INFO - duration: 1.4783138279999548
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:57:08,425 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 08:57:09,167 - INFO - taking picture
MAIN: 2025-05-19 08:57:09,168 - INFO - we take 294 photos in this while loop
MAIN: 2025-05-19 08:57:09,168 - INFO - /home/pi/Desktop/images/19052025/08/56/image_19052025_08_57_08_31031.jpg
MAIN: 2025-05-19 08:57:09,169 - INFO - duration: 1.7581186700008402
MAIN: 2025-05-19 08:57:09,170 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:57:37,722 - INFO - taking picture
MAIN: 2025-05-19 08:57:37,723 - INFO - we take 295 photos in this while loop
MAIN: 2025-05-19 08:57:37,724 - INFO - /home/pi/Desktop/images/19052025/08/57/image_19052025_08_57_36_28819.jpg
MAIN: 2025-05-19 08:57:37,724 - INFO - duration: 1.4935127700009616
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:58:08,963 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 08:58:09,011 - INFO - taking picture
MAIN: 2025-05-19 08:58:09,012 - INFO - we take 296 photos in this while loop
MAIN: 2025-05-19 08:58:09,013 - INFO - /home/pi/Desktop/images/19052025/08/57/image_19052025_08_58_08_31077.jpg
MAIN: 2025-05-19 08:58:09,014 - INFO - duration: 1.7051633779992699
MAIN: 2025-05-19 08:58:09,015 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/58'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:58:38,920 - INFO - taking picture
MAIN: 2025-05-19 08:58:38,921 - INFO - we take 297 photos in this while loop
MAIN: 2025-05-19 08:58:38,921 - INFO - /home/pi/Desktop/images/19052025/08/58/image_19052025_08_58_38_30137.jpg
MAIN: 2025-05-19 08:58:38,922 - INFO - duration: 1.4752938140009064
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:59:08,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 ! 
MAIN: 2025-05-19 08:59:08,717 - INFO - taking picture
MAIN: 2025-05-19 08:59:08,718 - INFO - we take 298 photos in this while loop
MAIN: 2025-05-19 08:59:08,719 - INFO - /home/pi/Desktop/images/19052025/08/58/image_19052025_08_59_07_29577.jpg
MAIN: 2025-05-19 08:59:08,719 - INFO - duration: 1.6956166039999516
MAIN: 2025-05-19 08:59:08,720 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/08/59'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 08:59:38,769 - INFO - taking picture
MAIN: 2025-05-19 08:59:38,770 - INFO - we take 299 photos in this while loop
MAIN: 2025-05-19 08:59:38,770 - INFO - /home/pi/Desktop/images/19052025/08/59/image_19052025_08_59_37_30247.jpg
MAIN: 2025-05-19 08:59:38,771 - INFO - duration: 1.4994982209991576
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:00:09,358 - INFO - taking picture
MAIN: 2025-05-19 09:00:09,360 - INFO - we take 300 photos in this while loop
MAIN: 2025-05-19 09:00:09,361 - INFO - /home/pi/Desktop/images/19052025/08/59/image_19052025_09_00_08_29904.jpg
MAIN: 2025-05-19 09:00:09,361 - INFO - duration: 2.186035123999318
MAIN: 2025-05-19 09:00:09,751 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/00'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:00:10,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:00:37,916 - INFO - taking picture
MAIN: 2025-05-19 09:00:37,917 - INFO - we take 301 photos in this while loop
MAIN: 2025-05-19 09:00:37,917 - INFO - /home/pi/Desktop/images/19052025/09/00/image_19052025_09_00_37_29245.jpg
MAIN: 2025-05-19 09:00:37,918 - INFO - duration: 1.497589517999586
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:01:08,188 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 09:01:08,938 - INFO - taking picture
MAIN: 2025-05-19 09:01:08,939 - INFO - we take 302 photos in this while loop
MAIN: 2025-05-19 09:01:08,939 - INFO - /home/pi/Desktop/images/19052025/09/00/image_19052025_09_01_07_30966.jpg
MAIN: 2025-05-19 09:01:08,940 - INFO - duration: 1.5527052659999754
MAIN: 2025-05-19 09:01:08,941 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/01'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:01:39,009 - INFO - taking picture
MAIN: 2025-05-19 09:01:39,010 - INFO - we take 303 photos in this while loop
MAIN: 2025-05-19 09:01:39,011 - INFO - /home/pi/Desktop/images/19052025/09/01/image_19052025_09_01_38_30107.jpg
MAIN: 2025-05-19 09:01:39,011 - INFO - duration: 1.5161335129996587
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:02:09,078 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 09:02:09,362 - INFO - taking picture
MAIN: 2025-05-19 09:02:09,364 - INFO - we take 304 photos in this while loop
MAIN: 2025-05-19 09:02:09,364 - INFO - /home/pi/Desktop/images/19052025/09/01/image_19052025_09_02_08_29844.jpg
MAIN: 2025-05-19 09:02:09,365 - INFO - duration: 2.0254965539988916
MAIN: 2025-05-19 09:02:09,366 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/02'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:02:37,953 - INFO - taking picture
MAIN: 2025-05-19 09:02:37,954 - INFO - we take 305 photos in this while loop
MAIN: 2025-05-19 09:02:37,954 - INFO - /home/pi/Desktop/images/19052025/09/02/image_19052025_09_02_37_29097.jpg
MAIN: 2025-05-19 09:02:37,955 - INFO - duration: 1.517689756999971
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:03:07,744 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:03:08,837 - INFO - taking picture
MAIN: 2025-05-19 09:03:08,838 - INFO - we take 306 photos in this while loop
MAIN: 2025-05-19 09:03:08,838 - INFO - /home/pi/Desktop/images/19052025/09/02/image_19052025_09_03_07_30893.jpg
MAIN: 2025-05-19 09:03:08,839 - INFO - duration: 1.5084149690010236
MAIN: 2025-05-19 09:03:08,839 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:03:38,713 - INFO - taking picture
MAIN: 2025-05-19 09:03:38,714 - INFO - we take 307 photos in this while loop
MAIN: 2025-05-19 09:03:38,715 - INFO - /home/pi/Desktop/images/19052025/09/03/image_19052025_09_03_37_29913.jpg
MAIN: 2025-05-19 09:03:38,715 - INFO - duration: 1.47143777400197
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 09:04:08,685 - INFO - taking picture
MAIN: 2025-05-19 09:04:08,686 - INFO - we take 308 photos in this while loop
MAIN: 2025-05-19 09:04:08,687 - INFO - /home/pi/Desktop/images/19052025/09/03/image_19052025_09_04_07_29655.jpg
MAIN: 2025-05-19 09:04:08,687 - INFO - duration: 1.7882228870003019
MAIN: 2025-05-19 09:04:08,688 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/04'
MAIN: 2025-05-19 09:04:09,225 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:04:38,663 - INFO - taking picture
MAIN: 2025-05-19 09:04:38,664 - INFO - we take 309 photos in this while loop
MAIN: 2025-05-19 09:04:38,664 - INFO - /home/pi/Desktop/images/19052025/09/04/image_19052025_09_04_37_30263.jpg
MAIN: 2025-05-19 09:04:38,665 - INFO - duration: 1.501750801999151
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 09:05:08,816 - INFO - taking picture
MAIN: 2025-05-19 09:05:08,817 - INFO - we take 310 photos in this while loop
MAIN: 2025-05-19 09:05:08,817 - INFO - /home/pi/Desktop/images/19052025/09/04/image_19052025_09_05_07_29569.jpg
MAIN: 2025-05-19 09:05:08,818 - INFO - duration: 2.0851332650017866
MAIN: 2025-05-19 09:05:08,819 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/05'
MAIN: 2025-05-19 09:05:09,791 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:05:38,969 - INFO - taking picture
MAIN: 2025-05-19 09:05:38,970 - INFO - we take 311 photos in this while loop
MAIN: 2025-05-19 09:05:38,971 - INFO - /home/pi/Desktop/images/19052025/09/05/image_19052025_09_05_38_30721.jpg
MAIN: 2025-05-19 09:05:38,971 - INFO - duration: 1.5173487319989363
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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)[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:06:09,081 - INFO - taking picture
MAIN: 2025-05-19 09:06:09,082 - INFO - we take 312 photos in this while loop
MAIN: 2025-05-19 09:06:09,083 - INFO - /home/pi/Desktop/images/19052025/09/05/image_19052025_09_06_07_29302.jpg
MAIN: 2025-05-19 09:06:09,084 - INFO - duration: 2.3274470509968523
MAIN: 2025-05-19 09:06:09,085 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/06'
MAIN: 2025-05-19 09:06:09,569 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:06:37,644 - INFO - taking picture
MAIN: 2025-05-19 09:06:37,645 - INFO - we take 313 photos in this while loop
MAIN: 2025-05-19 09:06:37,646 - INFO - /home/pi/Desktop/images/19052025/09/06/image_19052025_09_06_36_29416.jpg
MAIN: 2025-05-19 09:06:37,646 - INFO - duration: 1.47314972499953
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:07:08,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-05-19 09:07:08,865 - INFO - taking picture
MAIN: 2025-05-19 09:07:08,866 - INFO - we take 314 photos in this while loop
MAIN: 2025-05-19 09:07:08,867 - INFO - /home/pi/Desktop/images/19052025/09/06/image_19052025_09_07_07_31139.jpg
MAIN: 2025-05-19 09:07:08,867 - INFO - duration: 1.5546223880010075
MAIN: 2025-05-19 09:07:08,868 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:07:38,971 - INFO - taking picture
MAIN: 2025-05-19 09:07:38,973 - INFO - we take 315 photos in this while loop
MAIN: 2025-05-19 09:07:38,973 - INFO - /home/pi/Desktop/images/19052025/09/07/image_19052025_09_07_38_30154.jpg
MAIN: 2025-05-19 09:07:38,973 - INFO - duration: 1.5064166089978244
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:08:09,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 ! 
MAIN: 2025-05-19 09:08:09,387 - INFO - taking picture
MAIN: 2025-05-19 09:08:09,388 - INFO - we take 316 photos in this while loop
MAIN: 2025-05-19 09:08:09,389 - INFO - /home/pi/Desktop/images/19052025/09/07/image_19052025_09_08_08_30144.jpg
MAIN: 2025-05-19 09:08:09,389 - INFO - duration: 1.7781613279985322
MAIN: 2025-05-19 09:08:09,390 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:08:37,760 - INFO - taking picture
MAIN: 2025-05-19 09:08:37,762 - INFO - we take 317 photos in this while loop
MAIN: 2025-05-19 09:08:37,762 - INFO - /home/pi/Desktop/images/19052025/09/08/image_19052025_09_08_36_28657.jpg
MAIN: 2025-05-19 09:08:37,762 - INFO - duration: 1.4935054199995648
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:09:08,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 ! 
MAIN: 2025-05-19 09:09:08,888 - INFO - taking picture
MAIN: 2025-05-19 09:09:08,889 - INFO - we take 318 photos in this while loop
MAIN: 2025-05-19 09:09:08,889 - INFO - /home/pi/Desktop/images/19052025/09/08/image_19052025_09_09_07_31104.jpg
MAIN: 2025-05-19 09:09:08,890 - INFO - duration: 1.516612494000583
MAIN: 2025-05-19 09:09:08,891 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/09'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:09:38,748 - INFO - taking picture
MAIN: 2025-05-19 09:09:38,749 - INFO - we take 319 photos in this while loop
MAIN: 2025-05-19 09:09:38,750 - INFO - /home/pi/Desktop/images/19052025/09/09/image_19052025_09_09_37_29905.jpg
MAIN: 2025-05-19 09:09:38,750 - INFO - duration: 1.471322835997853
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:10:09,274 - INFO - taking picture
MAIN: 2025-05-19 09:10:09,275 - INFO - we take 320 photos in this while loop
MAIN: 2025-05-19 09:10:09,276 - INFO - /home/pi/Desktop/images/19052025/09/09/image_19052025_09_10_08_29816.jpg
MAIN: 2025-05-19 09:10:09,277 - INFO - duration: 2.181478876998881
MAIN: 2025-05-19 09:10:09,599 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/10'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:10:10,713 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:10:37,917 - INFO - taking picture
MAIN: 2025-05-19 09:10:37,918 - INFO - we take 321 photos in this while loop
MAIN: 2025-05-19 09:10:37,918 - INFO - /home/pi/Desktop/images/19052025/09/10/image_19052025_09_10_37_29338.jpg
MAIN: 2025-05-19 09:10:37,919 - INFO - duration: 1.4851812179986155
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:11:08,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 ! 
MAIN: 2025-05-19 09:11:08,817 - INFO - taking picture
MAIN: 2025-05-19 09:11:08,818 - INFO - we take 322 photos in this while loop
MAIN: 2025-05-19 09:11:08,819 - INFO - /home/pi/Desktop/images/19052025/09/10/image_19052025_09_11_07_30866.jpg
MAIN: 2025-05-19 09:11:08,819 - INFO - duration: 1.5194600249997166
MAIN: 2025-05-19 09:11:08,820 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:11:38,682 - INFO - taking picture
MAIN: 2025-05-19 09:11:38,683 - INFO - we take 323 photos in this while loop
MAIN: 2025-05-19 09:11:38,684 - INFO - /home/pi/Desktop/images/19052025/09/11/image_19052025_09_11_37_29913.jpg
MAIN: 2025-05-19 09:11:38,684 - INFO - duration: 1.4707816879999882
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 09:12:08,187 - INFO - taking picture
MAIN: 2025-05-19 09:12:08,188 - INFO - we take 324 photos in this while loop
MAIN: 2025-05-19 09:12:08,189 - INFO - /home/pi/Desktop/images/19052025/09/11/image_19052025_09_12_07_29222.jpg
MAIN: 2025-05-19 09:12:08,189 - INFO - duration: 1.7528674509994744
MAIN: 2025-05-19 09:12:08,190 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/12'
MAIN: 2025-05-19 09:12:08,847 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:12:38,003 - INFO - taking picture
MAIN: 2025-05-19 09:12:38,004 - INFO - we take 325 photos in this while loop
MAIN: 2025-05-19 09:12:38,004 - INFO - /home/pi/Desktop/images/19052025/09/12/image_19052025_09_12_37_30098.jpg
MAIN: 2025-05-19 09:12:38,005 - INFO - duration: 1.4694778509983735
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:13:08,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-05-19 09:13:09,010 - INFO - taking picture
MAIN: 2025-05-19 09:13:09,011 - INFO - we take 326 photos in this while loop
MAIN: 2025-05-19 09:13:09,011 - INFO - /home/pi/Desktop/images/19052025/09/12/image_19052025_09_13_08_30851.jpg
MAIN: 2025-05-19 09:13:09,011 - INFO - duration: 1.6248433880027733
MAIN: 2025-05-19 09:13:09,012 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:13:38,794 - INFO - taking picture
MAIN: 2025-05-19 09:13:38,795 - INFO - we take 327 photos in this while loop
MAIN: 2025-05-19 09:13:38,796 - INFO - /home/pi/Desktop/images/19052025/09/13/image_19052025_09_13_37_29926.jpg
MAIN: 2025-05-19 09:13:38,796 - INFO - duration: 1.4826449590000266
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:14:08,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 ! 
MAIN: 2025-05-19 09:14:09,012 - INFO - taking picture
MAIN: 2025-05-19 09:14:09,013 - INFO - we take 328 photos in this while loop
MAIN: 2025-05-19 09:14:09,014 - INFO - /home/pi/Desktop/images/19052025/09/13/image_19052025_09_14_07_29700.jpg
MAIN: 2025-05-19 09:14:09,014 - INFO - duration: 2.000637518998701
MAIN: 2025-05-19 09:14:09,015 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:14:38,866 - INFO - taking picture
MAIN: 2025-05-19 09:14:38,867 - INFO - we take 329 photos in this while loop
MAIN: 2025-05-19 09:14:38,868 - INFO - /home/pi/Desktop/images/19052025/09/14/image_19052025_09_14_37_30363.jpg
MAIN: 2025-05-19 09:14:38,868 - INFO - duration: 1.490442857000744
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 09:15:08,817 - INFO - taking picture
MAIN: 2025-05-19 09:15:08,818 - INFO - we take 330 photos in this while loop
MAIN: 2025-05-19 09:15:08,819 - INFO - /home/pi/Desktop/images/19052025/09/14/image_19052025_09_15_07_29573.jpg
MAIN: 2025-05-19 09:15:08,820 - INFO - duration: 1.8680624890002946
MAIN: 2025-05-19 09:15:08,821 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/15'
MAIN: 2025-05-19 09:15:09,619 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:15:38,692 - INFO - taking picture
MAIN: 2025-05-19 09:15:38,693 - INFO - we take 331 photos in this while loop
MAIN: 2025-05-19 09:15:38,693 - INFO - /home/pi/Desktop/images/19052025/09/15/image_19052025_09_15_37_30271.jpg
MAIN: 2025-05-19 09:15:38,693 - INFO - duration: 1.4704323799996928
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 09:16:08,937 - INFO - taking picture
MAIN: 2025-05-19 09:16:08,938 - INFO - we take 332 photos in this while loop
MAIN: 2025-05-19 09:16:08,939 - INFO - /home/pi/Desktop/images/19052025/09/15/image_19052025_09_16_07_29183.jpg
MAIN: 2025-05-19 09:16:08,940 - INFO - duration: 2.533058858000004
MAIN: 2025-05-19 09:16:08,941 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/16'
MAIN: 2025-05-19 09:16:09,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:16:38,839 - INFO - taking picture
MAIN: 2025-05-19 09:16:38,840 - INFO - we take 333 photos in this while loop
MAIN: 2025-05-19 09:16:38,841 - INFO - /home/pi/Desktop/images/19052025/09/16/image_19052025_09_16_37_30960.jpg
MAIN: 2025-05-19 09:16:38,841 - INFO - duration: 1.4741135730000678
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:17:08,424 - INFO - taking picture
MAIN: 2025-05-19 09:17:08,425 - INFO - we take 334 photos in this while loop
MAIN: 2025-05-19 09:17:08,425 - INFO - /home/pi/Desktop/images/19052025/09/16/image_19052025_09_17_07_29418.jpg
MAIN: 2025-05-19 09:17:08,426 - INFO - duration: 1.6403688899990811
MAIN: 2025-05-19 09:17:08,426 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/17'
MAIN: 2025-05-19 09:17:08,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:17:38,297 - INFO - taking picture
MAIN: 2025-05-19 09:17:38,298 - INFO - we take 335 photos in this while loop
MAIN: 2025-05-19 09:17:38,298 - INFO - /home/pi/Desktop/images/19052025/09/17/image_19052025_09_17_37_30037.jpg
MAIN: 2025-05-19 09:17:38,299 - INFO - duration: 1.4753651399987575
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:18:08,089 - INFO - taking picture
MAIN: 2025-05-19 09:18:08,090 - INFO - we take 336 photos in this while loop
MAIN: 2025-05-19 09:18:08,091 - INFO - /home/pi/Desktop/images/19052025/09/17/image_19052025_09_18_07_29349.jpg
MAIN: 2025-05-19 09:18:08,092 - INFO - duration: 1.9189862919993175
MAIN: 2025-05-19 09:18:08,093 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/18'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:18:09,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:18:38,229 - INFO - taking picture
MAIN: 2025-05-19 09:18:38,230 - INFO - we take 337 photos in this while loop
MAIN: 2025-05-19 09:18:38,230 - INFO - /home/pi/Desktop/images/19052025/09/18/image_19052025_09_18_37_30556.jpg
MAIN: 2025-05-19 09:18:38,230 - INFO - duration: 1.5014242569995986
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:19:08,836 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 09:19:09,199 - INFO - taking picture
MAIN: 2025-05-19 09:19:09,200 - INFO - we take 338 photos in this while loop
MAIN: 2025-05-19 09:19:09,201 - INFO - /home/pi/Desktop/images/19052025/09/18/image_19052025_09_19_08_30866.jpg
MAIN: 2025-05-19 09:19:09,201 - INFO - duration: 1.6059312470024452
MAIN: 2025-05-19 09:19:09,202 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/19'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:19:37,731 - INFO - taking picture
MAIN: 2025-05-19 09:19:37,732 - INFO - we take 339 photos in this while loop
MAIN: 2025-05-19 09:19:37,733 - INFO - /home/pi/Desktop/images/19052025/09/19/image_19052025_09_19_36_28662.jpg
MAIN: 2025-05-19 09:19:37,733 - INFO - duration: 1.4748785980009416
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:20:08,500 - INFO - taking picture
MAIN: 2025-05-19 09:20:08,501 - INFO - we take 340 photos in this while loop
MAIN: 2025-05-19 09:20:08,502 - INFO - /home/pi/Desktop/images/19052025/09/19/image_19052025_09_20_07_29846.jpg
MAIN: 2025-05-19 09:20:08,503 - INFO - duration: 2.398081554001692
MAIN: 2025-05-19 09:20:08,505 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/20'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:20:09,591 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:20:38,527 - INFO - taking picture
MAIN: 2025-05-19 09:20:38,528 - INFO - we take 341 photos in this while loop
MAIN: 2025-05-19 09:20:38,529 - INFO - /home/pi/Desktop/images/19052025/09/20/image_19052025_09_20_37_30927.jpg
MAIN: 2025-05-19 09:20:38,529 - INFO - duration: 1.496196735999547
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:21:08,551 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 09:21:09,255 - INFO - taking picture
MAIN: 2025-05-19 09:21:09,256 - INFO - we take 342 photos in this while loop
MAIN: 2025-05-19 09:21:09,256 - INFO - /home/pi/Desktop/images/19052025/09/20/image_19052025_09_21_08_30695.jpg
MAIN: 2025-05-19 09:21:09,257 - INFO - duration: 1.5280706170015037
MAIN: 2025-05-19 09:21:09,257 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:21:37,737 - INFO - taking picture
MAIN: 2025-05-19 09:21:37,738 - INFO - we take 343 photos in this while loop
MAIN: 2025-05-19 09:21:37,739 - INFO - /home/pi/Desktop/images/19052025/09/21/image_19052025_09_21_36_28478.jpg
MAIN: 2025-05-19 09:21:37,739 - INFO - duration: 1.531967008002539
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 09:22:09,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 ! 
MAIN: 2025-05-19 09:22:10,370 - INFO - taking picture
MAIN: 2025-05-19 09:22:10,371 - INFO - we take 344 photos in this while loop
MAIN: 2025-05-19 09:22:10,371 - INFO - /home/pi/Desktop/images/19052025/09/21/image_19052025_09_22_08_31495.jpg
MAIN: 2025-05-19 09:22:10,372 - INFO - duration: 2.668985704000079
MAIN: 2025-05-19 09:22:10,372 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/22'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:22:38,935 - INFO - taking picture
MAIN: 2025-05-19 09:22:38,936 - INFO - we take 345 photos in this while loop
MAIN: 2025-05-19 09:22:38,936 - INFO - /home/pi/Desktop/images/19052025/09/22/image_19052025_09_22_38_29729.jpg
MAIN: 2025-05-19 09:22:38,937 - INFO - duration: 1.50405979900097
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:23:08,609 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 09:23:08,807 - INFO - taking picture
MAIN: 2025-05-19 09:23:08,808 - INFO - we take 346 photos in this while loop
MAIN: 2025-05-19 09:23:08,808 - INFO - /home/pi/Desktop/images/19052025/09/22/image_19052025_09_23_07_29794.jpg
MAIN: 2025-05-19 09:23:08,809 - INFO - duration: 1.5818160150010954
MAIN: 2025-05-19 09:23:08,810 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/23'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:23:38,886 - INFO - taking picture
MAIN: 2025-05-19 09:23:38,887 - INFO - we take 347 photos in this while loop
MAIN: 2025-05-19 09:23:38,888 - INFO - /home/pi/Desktop/images/19052025/09/23/image_19052025_09_23_37_30179.jpg
MAIN: 2025-05-19 09:23:38,888 - INFO - duration: 1.4812846239983628
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 09:24:09,224 - INFO - taking picture
MAIN: 2025-05-19 09:24:09,226 - INFO - we take 348 photos in this while loop
MAIN: 2025-05-19 09:24:09,226 - INFO - /home/pi/Desktop/images/19052025/09/23/image_19052025_09_24_08_29914.jpg
MAIN: 2025-05-19 09:24:09,227 - INFO - duration: 1.9049218319996726
MAIN: 2025-05-19 09:24:09,228 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/24'
MAIN: 2025-05-19 09:24:09,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:24:37,846 - INFO - taking picture
MAIN: 2025-05-19 09:24:37,847 - INFO - we take 349 photos in this while loop
MAIN: 2025-05-19 09:24:37,848 - INFO - /home/pi/Desktop/images/19052025/09/24/image_19052025_09_24_36_29021.jpg
MAIN: 2025-05-19 09:24:37,848 - INFO - duration: 1.5051385019978625
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 09:25:09,704 - INFO - taking picture
MAIN: 2025-05-19 09:25:09,705 - INFO - we take 350 photos in this while loop
MAIN: 2025-05-19 09:25:09,706 - INFO - /home/pi/Desktop/images/19052025/09/24/image_19052025_09_25_08_31615.jpg
MAIN: 2025-05-19 09:25:09,706 - INFO - duration: 1.7476163329993142
MAIN: 2025-05-19 09:25:09,707 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/25'
MAIN: 2025-05-19 09:25:09,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:25:38,114 - INFO - taking picture
MAIN: 2025-05-19 09:25:38,115 - INFO - we take 351 photos in this while loop
MAIN: 2025-05-19 09:25:38,115 - INFO - /home/pi/Desktop/images/19052025/09/25/image_19052025_09_25_37_28656.jpg
MAIN: 2025-05-19 09:25:38,116 - INFO - duration: 1.5002838489999704
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:26:08,323 - INFO - taking picture
MAIN: 2025-05-19 09:26:08,325 - INFO - we take 352 photos in this while loop
MAIN: 2025-05-19 09:26:08,325 - INFO - /home/pi/Desktop/images/19052025/09/25/image_19052025_09_26_07_29739.jpg
MAIN: 2025-05-19 09:26:08,326 - INFO - duration: 1.9710960839984182
MAIN: 2025-05-19 09:26:08,402 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/26'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:26:09,500 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:26:38,399 - INFO - taking picture
MAIN: 2025-05-19 09:26:38,400 - INFO - we take 353 photos in this while loop
MAIN: 2025-05-19 09:26:38,400 - INFO - /home/pi/Desktop/images/19052025/09/26/image_19052025_09_26_37_30558.jpg
MAIN: 2025-05-19 09:26:38,401 - INFO - duration: 1.4870187310007168
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:27:08,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 ! 
MAIN: 2025-05-19 09:27:09,157 - INFO - taking picture
MAIN: 2025-05-19 09:27:09,158 - INFO - we take 354 photos in this while loop
MAIN: 2025-05-19 09:27:09,158 - INFO - /home/pi/Desktop/images/19052025/09/26/image_19052025_09_27_08_30743.jpg
MAIN: 2025-05-19 09:27:09,159 - INFO - duration: 1.5010390829993412
MAIN: 2025-05-19 09:27:09,159 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/27'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:27:39,053 - INFO - taking picture
MAIN: 2025-05-19 09:27:39,054 - INFO - we take 355 photos in this while loop
MAIN: 2025-05-19 09:27:39,054 - INFO - /home/pi/Desktop/images/19052025/09/27/image_19052025_09_27_38_29910.jpg
MAIN: 2025-05-19 09:27:39,055 - INFO - duration: 1.486741215998336
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 09:28:09,180 - INFO - taking picture
MAIN: 2025-05-19 09:28:09,181 - INFO - we take 356 photos in this while loop
MAIN: 2025-05-19 09:28:09,182 - INFO - /home/pi/Desktop/images/19052025/09/27/image_19052025_09_28_07_29596.jpg
MAIN: 2025-05-19 09:28:09,183 - INFO - duration: 2.0178509739998844
MAIN: 2025-05-19 09:28:09,184 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/28'
MAIN: 2025-05-19 09:28:09,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:28:37,657 - INFO - taking picture
MAIN: 2025-05-19 09:28:37,659 - INFO - we take 357 photos in this while loop
MAIN: 2025-05-19 09:28:37,659 - INFO - /home/pi/Desktop/images/19052025/09/28/image_19052025_09_28_36_28981.jpg
MAIN: 2025-05-19 09:28:37,659 - INFO - duration: 1.5134948390004865
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 09:29:08,998 - INFO - taking picture
MAIN: 2025-05-19 09:29:08,999 - INFO - we take 358 photos in this while loop
MAIN: 2025-05-19 09:29:09,000 - INFO - /home/pi/Desktop/images/19052025/09/28/image_19052025_09_29_08_31204.jpg
MAIN: 2025-05-19 09:29:09,000 - INFO - duration: 1.6500980660021014
MAIN: 2025-05-19 09:29:09,001 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/29'
MAIN: 2025-05-19 09:29:09,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:29:39,058 - INFO - taking picture
MAIN: 2025-05-19 09:29:39,060 - INFO - we take 359 photos in this while loop
MAIN: 2025-05-19 09:29:39,060 - INFO - /home/pi/Desktop/images/19052025/09/29/image_19052025_09_29_38_30208.jpg
MAIN: 2025-05-19 09:29:39,060 - INFO - duration: 1.5016727469992475
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 09:30:09,549 - INFO - taking picture
MAIN: 2025-05-19 09:30:09,551 - INFO - we take 360 photos in this while loop
MAIN: 2025-05-19 09:30:09,551 - INFO - /home/pi/Desktop/images/19052025/09/29/image_19052025_09_30_08_30224.jpg
MAIN: 2025-05-19 09:30:09,552 - INFO - duration: 1.76894300999993
MAIN: 2025-05-19 09:30:09,553 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/30'
MAIN: 2025-05-19 09:30:10,345 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:30:38,001 - INFO - taking picture
MAIN: 2025-05-19 09:30:38,003 - INFO - we take 361 photos in this while loop
MAIN: 2025-05-19 09:30:38,003 - INFO - /home/pi/Desktop/images/19052025/09/30/image_19052025_09_30_37_28659.jpg
MAIN: 2025-05-19 09:30:38,004 - INFO - duration: 1.5617922980018193
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:31:08,341 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 09:31:09,056 - INFO - taking picture
MAIN: 2025-05-19 09:31:09,057 - INFO - we take 362 photos in this while loop
MAIN: 2025-05-19 09:31:09,058 - INFO - /home/pi/Desktop/images/19052025/09/30/image_19052025_09_31_08_31063.jpg
MAIN: 2025-05-19 09:31:09,058 - INFO - duration: 1.552492868999252
MAIN: 2025-05-19 09:31:09,059 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:31:39,076 - INFO - taking picture
MAIN: 2025-05-19 09:31:39,077 - INFO - we take 363 photos in this while loop
MAIN: 2025-05-19 09:31:39,077 - INFO - /home/pi/Desktop/images/19052025/09/31/image_19052025_09_31_38_30079.jpg
MAIN: 2025-05-19 09:31:39,078 - INFO - duration: 1.4925187710032333
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 09:32:09,008 - INFO - taking picture
MAIN: 2025-05-19 09:32:09,010 - INFO - we take 364 photos in this while loop
MAIN: 2025-05-19 09:32:09,010 - INFO - /home/pi/Desktop/images/19052025/09/31/image_19052025_09_32_07_29189.jpg
MAIN: 2025-05-19 09:32:09,011 - INFO - duration: 2.236222292001912
MAIN: 2025-05-19 09:32:09,012 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/32'
MAIN: 2025-05-19 09:32:09,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:32:38,988 - INFO - taking picture
MAIN: 2025-05-19 09:32:38,989 - INFO - we take 365 photos in this while loop
MAIN: 2025-05-19 09:32:38,989 - INFO - /home/pi/Desktop/images/19052025/09/32/image_19052025_09_32_38_30737.jpg
MAIN: 2025-05-19 09:32:38,990 - INFO - duration: 1.477798455998709
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:33:08,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 ! 
MAIN: 2025-05-19 09:33:08,655 - INFO - taking picture
MAIN: 2025-05-19 09:33:08,656 - INFO - we take 366 photos in this while loop
MAIN: 2025-05-19 09:33:08,657 - INFO - /home/pi/Desktop/images/19052025/09/32/image_19052025_09_33_07_29584.jpg
MAIN: 2025-05-19 09:33:08,657 - INFO - duration: 1.560153734000778
MAIN: 2025-05-19 09:33:08,658 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:33:38,601 - INFO - taking picture
MAIN: 2025-05-19 09:33:38,602 - INFO - we take 367 photos in this while loop
MAIN: 2025-05-19 09:33:38,602 - INFO - /home/pi/Desktop/images/19052025/09/33/image_19052025_09_33_37_30010.jpg
MAIN: 2025-05-19 09:33:38,603 - INFO - duration: 1.4949759939991054
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 09:34:08,587 - INFO - taking picture
MAIN: 2025-05-19 09:34:08,589 - INFO - we take 368 photos in this while loop
MAIN: 2025-05-19 09:34:08,589 - INFO - /home/pi/Desktop/images/19052025/09/33/image_19052025_09_34_07_29618.jpg
MAIN: 2025-05-19 09:34:08,590 - INFO - duration: 1.8634938710019924
MAIN: 2025-05-19 09:34:08,591 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/34'
MAIN: 2025-05-19 09:34:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:34:38,356 - INFO - taking picture
MAIN: 2025-05-19 09:34:38,357 - INFO - we take 369 photos in this while loop
MAIN: 2025-05-19 09:34:38,358 - INFO - /home/pi/Desktop/images/19052025/09/34/image_19052025_09_34_37_30146.jpg
MAIN: 2025-05-19 09:34:38,358 - INFO - duration: 1.4858902100022533
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 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-05-19 09:35:08,733 - INFO - taking picture
MAIN: 2025-05-19 09:35:08,735 - INFO - we take 370 photos in this while loop
MAIN: 2025-05-19 09:35:08,736 - INFO - /home/pi/Desktop/images/19052025/09/34/image_19052025_09_35_07_29632.jpg
MAIN: 2025-05-19 09:35:08,736 - INFO - duration: 2.2311771579989
MAIN: 2025-05-19 09:35:08,738 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/35'
MAIN: 2025-05-19 09:35:09,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-05-19 09:35:38,796 - INFO - taking picture
MAIN: 2025-05-19 09:35:38,797 - INFO - we take 371 photos in this while loop
MAIN: 2025-05-19 09:35:38,797 - INFO - /home/pi/Desktop/images/19052025/09/35/image_19052025_09_35_37_30757.jpg
MAIN: 2025-05-19 09:35:38,798 - INFO - duration: 1.5354800280001655
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 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-05-19 09:36:08,924 - INFO - taking picture
MAIN: 2025-05-19 09:36:08,925 - INFO - we take 372 photos in this while loop
MAIN: 2025-05-19 09:36:08,926 - INFO - /home/pi/Desktop/images/19052025/09/35/image_19052025_09_36_07_29791.jpg
MAIN: 2025-05-19 09:36:08,927 - INFO - duration: 1.872916455999075
MAIN: 2025-05-19 09:36:08,928 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/36'
MAIN: 2025-05-19 09:36:09,827 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=22 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:36:38,825 - INFO - taking picture
MAIN: 2025-05-19 09:36:38,827 - INFO - we take 373 photos in this while loop
MAIN: 2025-05-19 09:36:38,827 - INFO - /home/pi/Desktop/images/19052025/09/36/image_19052025_09_36_37_30292.jpg
MAIN: 2025-05-19 09:36:38,827 - INFO - duration: 1.4807950960021117
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 09:37:08,321 - INFO - taking picture
MAIN: 2025-05-19 09:37:08,322 - INFO - we take 374 photos in this while loop
MAIN: 2025-05-19 09:37:08,323 - INFO - /home/pi/Desktop/images/19052025/09/36/image_19052025_09_37_07_29393.jpg
MAIN: 2025-05-19 09:37:08,323 - INFO - duration: 1.582941511998797
MAIN: 2025-05-19 09:37:08,324 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/37'
MAIN: 2025-05-19 09:37:08,400 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=110 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:37:38,341 - INFO - taking picture
MAIN: 2025-05-19 09:37:38,343 - INFO - we take 375 photos in this while loop
MAIN: 2025-05-19 09:37:38,343 - INFO - /home/pi/Desktop/images/19052025/09/37/image_19052025_09_37_37_30130.jpg
MAIN: 2025-05-19 09:37:38,343 - INFO - duration: 1.472722750997491
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=13 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:38:08,401 - INFO - taking picture
MAIN: 2025-05-19 09:38:08,403 - INFO - we take 376 photos in this while loop
MAIN: 2025-05-19 09:38:08,403 - INFO - /home/pi/Desktop/images/19052025/09/37/image_19052025_09_38_07_29354.jpg
MAIN: 2025-05-19 09:38:08,404 - INFO - duration: 2.1787754529977974
MAIN: 2025-05-19 09:38:08,405 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/38'
MAIN: 2025-05-19 09:38:09,161 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:38:38,389 - INFO - taking picture
MAIN: 2025-05-19 09:38:38,390 - INFO - we take 377 photos in this while loop
MAIN: 2025-05-19 09:38:38,390 - INFO - /home/pi/Desktop/images/19052025/09/38/image_19052025_09_38_37_30657.jpg
MAIN: 2025-05-19 09:38:38,391 - INFO - duration: 1.5082763259997591
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:39:08,870 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 09:39:09,219 - INFO - taking picture
MAIN: 2025-05-19 09:39:09,220 - INFO - we take 378 photos in this while loop
MAIN: 2025-05-19 09:39:09,221 - INFO - /home/pi/Desktop/images/19052025/09/38/image_19052025_09_39_08_30710.jpg
MAIN: 2025-05-19 09:39:09,221 - INFO - duration: 1.6278468669988797
MAIN: 2025-05-19 09:39:09,222 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/39'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:39:38,970 - INFO - taking picture
MAIN: 2025-05-19 09:39:38,972 - INFO - we take 379 photos in this while loop
MAIN: 2025-05-19 09:39:38,972 - INFO - /home/pi/Desktop/images/19052025/09/39/image_19052025_09_39_38_29868.jpg
MAIN: 2025-05-19 09:39:38,972 - INFO - duration: 1.5106394280010136
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 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-05-19 09:40:09,393 - INFO - taking picture
MAIN: 2025-05-19 09:40:09,394 - INFO - we take 380 photos in this while loop
MAIN: 2025-05-19 09:40:09,395 - INFO - /home/pi/Desktop/images/19052025/09/39/image_19052025_09_40_08_29794.jpg
MAIN: 2025-05-19 09:40:09,395 - INFO - duration: 2.1388968499995826
MAIN: 2025-05-19 09:40:09,397 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/40'
MAIN: 2025-05-19 09:40:10,332 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:40:37,774 - INFO - taking picture
MAIN: 2025-05-19 09:40:37,775 - INFO - we take 381 photos in this while loop
MAIN: 2025-05-19 09:40:37,775 - INFO - /home/pi/Desktop/images/19052025/09/40/image_19052025_09_40_36_29012.jpg
MAIN: 2025-05-19 09:40:37,776 - INFO - duration: 1.5067748840010609
[ WARN:0] global /tmp/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=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:41:08,022 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 09:41:08,567 - INFO - taking picture
MAIN: 2025-05-19 09:41:08,568 - INFO - we take 382 photos in this while loop
MAIN: 2025-05-19 09:41:08,569 - INFO - /home/pi/Desktop/images/19052025/09/40/image_19052025_09_41_07_30745.jpg
MAIN: 2025-05-19 09:41:08,569 - INFO - duration: 1.5546766229999776
MAIN: 2025-05-19 09:41:08,570 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/41'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:41:38,267 - INFO - taking picture
MAIN: 2025-05-19 09:41:38,268 - INFO - we take 383 photos in this while loop
MAIN: 2025-05-19 09:41:38,269 - INFO - /home/pi/Desktop/images/19052025/09/41/image_19052025_09_41_37_29744.jpg
MAIN: 2025-05-19 09:41:38,269 - INFO - duration: 1.5103010230013751
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:42:08,302 - INFO - taking picture
MAIN: 2025-05-19 09:42:08,304 - INFO - we take 384 photos in this while loop
MAIN: 2025-05-19 09:42:08,304 - INFO - /home/pi/Desktop/images/19052025/09/41/image_19052025_09_42_07_29556.jpg
MAIN: 2025-05-19 09:42:08,305 - INFO - duration: 1.9893801840007654
MAIN: 2025-05-19 09:42:08,819 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/42'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:42:09,909 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:42:37,944 - INFO - taking picture
MAIN: 2025-05-19 09:42:37,945 - INFO - we take 385 photos in this while loop
MAIN: 2025-05-19 09:42:37,946 - INFO - /home/pi/Desktop/images/19052025/09/42/image_19052025_09_42_37_30259.jpg
MAIN: 2025-05-19 09:42:37,946 - INFO - duration: 1.3706005659987568
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:43:08,249 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 09:43:08,705 - INFO - taking picture
MAIN: 2025-05-19 09:43:08,706 - INFO - we take 386 photos in this while loop
MAIN: 2025-05-19 09:43:08,706 - INFO - /home/pi/Desktop/images/19052025/09/42/image_19052025_09_43_07_30596.jpg
MAIN: 2025-05-19 09:43:08,707 - INFO - duration: 1.5352270900002623
MAIN: 2025-05-19 09:43:08,708 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/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=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:43:38,467 - INFO - taking picture
MAIN: 2025-05-19 09:43:38,468 - INFO - we take 387 photos in this while loop
MAIN: 2025-05-19 09:43:38,468 - INFO - /home/pi/Desktop/images/19052025/09/43/image_19052025_09_43_37_29793.jpg
MAIN: 2025-05-19 09:43:38,469 - INFO - duration: 1.5032177479988604
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 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-05-19 09:44:08,219 - INFO - taking picture
MAIN: 2025-05-19 09:44:08,220 - INFO - we take 388 photos in this while loop
MAIN: 2025-05-19 09:44:08,221 - INFO - /home/pi/Desktop/images/19052025/09/43/image_19052025_09_44_07_29420.jpg
MAIN: 2025-05-19 09:44:08,221 - INFO - duration: 1.8355473729970981
MAIN: 2025-05-19 09:44:08,222 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/44'
MAIN: 2025-05-19 09:44:08,955 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:44:37,919 - INFO - taking picture
MAIN: 2025-05-19 09:44:37,920 - INFO - we take 389 photos in this while loop
MAIN: 2025-05-19 09:44:37,921 - INFO - /home/pi/Desktop/images/19052025/09/44/image_19052025_09_44_36_29878.jpg
MAIN: 2025-05-19 09:44:37,921 - INFO - duration: 1.6572354460004135
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:45:09,390 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 09:45:09,649 - INFO - taking picture
MAIN: 2025-05-19 09:45:09,650 - INFO - we take 390 photos in this while loop
MAIN: 2025-05-19 09:45:09,651 - INFO - /home/pi/Desktop/images/19052025/09/44/image_19052025_09_45_08_31247.jpg
MAIN: 2025-05-19 09:45:09,652 - INFO - duration: 2.1413657150005747
MAIN: 2025-05-19 09:45:09,654 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/45'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:45:37,979 - INFO - taking picture
MAIN: 2025-05-19 09:45:37,980 - INFO - we take 391 photos in this while loop
MAIN: 2025-05-19 09:45:37,980 - INFO - /home/pi/Desktop/images/19052025/09/45/image_19052025_09_45_37_28993.jpg
MAIN: 2025-05-19 09:45:37,981 - INFO - duration: 1.4760166340020078
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 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-05-19 09:46:08,843 - INFO - taking picture
MAIN: 2025-05-19 09:46:08,844 - INFO - we take 392 photos in this while loop
MAIN: 2025-05-19 09:46:08,844 - INFO - /home/pi/Desktop/images/19052025/09/45/image_19052025_09_46_07_30739.jpg
MAIN: 2025-05-19 09:46:08,845 - INFO - duration: 1.6003309699990496
MAIN: 2025-05-19 09:46:08,846 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/46'
MAIN: 2025-05-19 09:46:09,491 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:46:38,709 - INFO - taking picture
MAIN: 2025-05-19 09:46:38,710 - INFO - we take 393 photos in this while loop
MAIN: 2025-05-19 09:46:38,710 - INFO - /home/pi/Desktop/images/19052025/09/46/image_19052025_09_46_37_29988.jpg
MAIN: 2025-05-19 09:46:38,711 - INFO - duration: 1.4781548819992167
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:47:08,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-05-19 09:47:09,221 - INFO - taking picture
MAIN: 2025-05-19 09:47:09,222 - INFO - we take 394 photos in this while loop
MAIN: 2025-05-19 09:47:09,222 - INFO - /home/pi/Desktop/images/19052025/09/46/image_19052025_09_47_08_30446.jpg
MAIN: 2025-05-19 09:47:09,223 - INFO - duration: 1.5432651150003949
MAIN: 2025-05-19 09:47:09,224 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/47'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:47:38,762 - INFO - taking picture
MAIN: 2025-05-19 09:47:38,763 - INFO - we take 395 photos in this while loop
MAIN: 2025-05-19 09:47:38,763 - INFO - /home/pi/Desktop/images/19052025/09/47/image_19052025_09_47_37_29556.jpg
MAIN: 2025-05-19 09:47:38,764 - INFO - duration: 1.527949114999501
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=85 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-05-19 09:48:08,602 - INFO - taking picture
MAIN: 2025-05-19 09:48:08,604 - INFO - we take 396 photos in this while loop
MAIN: 2025-05-19 09:48:08,605 - INFO - /home/pi/Desktop/images/19052025/09/47/image_19052025_09_48_07_29709.jpg
MAIN: 2025-05-19 09:48:08,606 - INFO - duration: 1.6604629790017498
MAIN: 2025-05-19 09:48:08,607 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/48'
MAIN: 2025-05-19 09:48:09,451 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:48:38,436 - INFO - taking picture
MAIN: 2025-05-19 09:48:38,437 - INFO - we take 397 photos in this while loop
MAIN: 2025-05-19 09:48:38,437 - INFO - /home/pi/Desktop/images/19052025/09/48/image_19052025_09_48_37_30016.jpg
MAIN: 2025-05-19 09:48:38,437 - INFO - duration: 1.4756867560026876
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:49:08,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 ! 
MAIN: 2025-05-19 09:49:09,325 - INFO - taking picture
MAIN: 2025-05-19 09:49:09,326 - INFO - we take 398 photos in this while loop
MAIN: 2025-05-19 09:49:09,326 - INFO - /home/pi/Desktop/images/19052025/09/48/image_19052025_09_49_08_30797.jpg
MAIN: 2025-05-19 09:49:09,326 - INFO - duration: 1.566863338000985
MAIN: 2025-05-19 09:49:09,327 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:49:37,571 - INFO - taking picture
MAIN: 2025-05-19 09:49:37,572 - INFO - we take 399 photos in this while loop
MAIN: 2025-05-19 09:49:37,573 - INFO - /home/pi/Desktop/images/19052025/09/49/image_19052025_09_49_36_28335.jpg
MAIN: 2025-05-19 09:49:37,573 - INFO - duration: 1.478409963001468
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:50:09,227 - INFO - taking picture
MAIN: 2025-05-19 09:50:09,228 - INFO - we take 400 photos in this while loop
MAIN: 2025-05-19 09:50:09,229 - INFO - /home/pi/Desktop/images/19052025/09/49/image_19052025_09_50_08_30850.jpg
MAIN: 2025-05-19 09:50:09,229 - INFO - duration: 2.283921630001714
MAIN: 2025-05-19 09:50:09,230 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/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-05-19 09:50:10,277 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:50:37,664 - INFO - taking picture
MAIN: 2025-05-19 09:50:37,665 - INFO - we take 401 photos in this while loop
MAIN: 2025-05-19 09:50:37,666 - INFO - /home/pi/Desktop/images/19052025/09/50/image_19052025_09_50_36_29230.jpg
MAIN: 2025-05-19 09:50:37,666 - INFO - duration: 1.4903532729986182
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:51:08,738 - INFO - taking picture
MAIN: 2025-05-19 09:51:08,739 - INFO - we take 402 photos in this while loop
MAIN: 2025-05-19 09:51:08,740 - INFO - /home/pi/Desktop/images/19052025/09/50/image_19052025_09_51_07_30864.jpg
MAIN: 2025-05-19 09:51:08,740 - INFO - duration: 1.7000370109999494
MAIN: 2025-05-19 09:51:08,741 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/51'
MAIN: 2025-05-19 09:51:09,343 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:51:38,578 - INFO - taking picture
MAIN: 2025-05-19 09:51:38,579 - INFO - we take 403 photos in this while loop
MAIN: 2025-05-19 09:51:38,579 - INFO - /home/pi/Desktop/images/19052025/09/51/image_19052025_09_51_37_30063.jpg
MAIN: 2025-05-19 09:51:38,580 - INFO - duration: 1.4762722689993097
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:52:08,252 - INFO - taking picture
MAIN: 2025-05-19 09:52:08,253 - INFO - we take 404 photos in this while loop
MAIN: 2025-05-19 09:52:08,254 - INFO - /home/pi/Desktop/images/19052025/09/51/image_19052025_09_52_07_29423.jpg
MAIN: 2025-05-19 09:52:08,254 - INFO - duration: 1.727484381000977
MAIN: 2025-05-19 09:52:08,255 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/52'
MAIN: 2025-05-19 09:52:09,151 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:52:38,115 - INFO - taking picture
MAIN: 2025-05-19 09:52:38,116 - INFO - we take 405 photos in this while loop
MAIN: 2025-05-19 09:52:38,117 - INFO - /home/pi/Desktop/images/19052025/09/52/image_19052025_09_52_37_30086.jpg
MAIN: 2025-05-19 09:52:38,117 - INFO - duration: 1.5038384430008591
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:53:09,071 - INFO - taking picture
MAIN: 2025-05-19 09:53:09,072 - INFO - we take 406 photos in this while loop
MAIN: 2025-05-19 09:53:09,073 - INFO - /home/pi/Desktop/images/19052025/09/52/image_19052025_09_53_08_30945.jpg
MAIN: 2025-05-19 09:53:09,073 - INFO - duration: 1.5143080690031638
MAIN: 2025-05-19 09:53:09,074 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/53'
MAIN: 2025-05-19 09:53:09,077 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:53:38,853 - INFO - taking picture
MAIN: 2025-05-19 09:53:38,854 - INFO - we take 407 photos in this while loop
MAIN: 2025-05-19 09:53:38,854 - INFO - /home/pi/Desktop/images/19052025/09/53/image_19052025_09_53_37_29820.jpg
MAIN: 2025-05-19 09:53:38,855 - INFO - duration: 1.4752575519996753
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:54:08,728 - INFO - taking picture
MAIN: 2025-05-19 09:54:08,729 - INFO - we take 408 photos in this while loop
MAIN: 2025-05-19 09:54:08,730 - INFO - /home/pi/Desktop/images/19052025/09/53/image_19052025_09_54_07_29234.jpg
MAIN: 2025-05-19 09:54:08,731 - INFO - duration: 2.116536580000684
MAIN: 2025-05-19 09:54:08,732 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/54'
MAIN: 2025-05-19 09:54:09,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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:54:38,666 - INFO - taking picture
MAIN: 2025-05-19 09:54:38,667 - INFO - we take 409 photos in this while loop
MAIN: 2025-05-19 09:54:38,667 - INFO - /home/pi/Desktop/images/19052025/09/54/image_19052025_09_54_37_30582.jpg
MAIN: 2025-05-19 09:54:38,668 - INFO - duration: 1.47144550899975
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:55:08,341 - INFO - taking picture
MAIN: 2025-05-19 09:55:08,343 - INFO - we take 410 photos in this while loop
MAIN: 2025-05-19 09:55:08,344 - INFO - /home/pi/Desktop/images/19052025/09/54/image_19052025_09_55_07_29128.jpg
MAIN: 2025-05-19 09:55:08,345 - INFO - duration: 2.0193117999988317
MAIN: 2025-05-19 09:55:08,441 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/55'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:55:09,504 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:55:38,193 - INFO - taking picture
MAIN: 2025-05-19 09:55:38,194 - INFO - we take 411 photos in this while loop
MAIN: 2025-05-19 09:55:38,195 - INFO - /home/pi/Desktop/images/19052025/09/55/image_19052025_09_55_37_30396.jpg
MAIN: 2025-05-19 09:55:38,195 - INFO - duration: 1.473713934999978
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:56:09,320 - INFO - taking picture
MAIN: 2025-05-19 09:56:09,321 - INFO - we take 412 photos in this while loop
MAIN: 2025-05-19 09:56:09,322 - INFO - /home/pi/Desktop/images/19052025/09/55/image_19052025_09_56_08_30908.jpg
MAIN: 2025-05-19 09:56:09,322 - INFO - duration: 1.6922154259991657
MAIN: 2025-05-19 09:56:09,323 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/56'
MAIN: 2025-05-19 09:56:09,622 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:56:37,616 - INFO - taking picture
MAIN: 2025-05-19 09:56:37,618 - INFO - we take 413 photos in this while loop
MAIN: 2025-05-19 09:56:37,618 - INFO - /home/pi/Desktop/images/19052025/09/56/image_19052025_09_56_36_28516.jpg
MAIN: 2025-05-19 09:56:37,618 - INFO - duration: 1.4719811649993062
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 09:57:08,280 - INFO - taking picture
MAIN: 2025-05-19 09:57:08,282 - INFO - we take 414 photos in this while loop
MAIN: 2025-05-19 09:57:08,282 - INFO - /home/pi/Desktop/images/19052025/09/56/image_19052025_09_57_07_30472.jpg
MAIN: 2025-05-19 09:57:08,283 - INFO - duration: 1.6644758930015087
MAIN: 2025-05-19 09:57:08,284 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/09/57'
MAIN: 2025-05-19 09:57:08,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:57:37,959 - INFO - taking picture
MAIN: 2025-05-19 09:57:37,960 - INFO - we take 415 photos in this while loop
MAIN: 2025-05-19 09:57:37,960 - INFO - /home/pi/Desktop/images/19052025/09/57/image_19052025_09_57_37_29858.jpg
MAIN: 2025-05-19 09:57:37,961 - INFO - duration: 1.484143497000332
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:58:09,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-05-19 09:58:09,435 - INFO - taking picture
MAIN: 2025-05-19 09:58:09,436 - INFO - we take 416 photos in this while loop
MAIN: 2025-05-19 09:58:09,436 - INFO - /home/pi/Desktop/images/19052025/09/57/image_19052025_09_58_08_31243.jpg
MAIN: 2025-05-19 09:58:09,437 - INFO - duration: 1.7168123779993039
MAIN: 2025-05-19 09:58:09,438 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:58:37,990 - INFO - taking picture
MAIN: 2025-05-19 09:58:37,992 - INFO - we take 417 photos in this while loop
MAIN: 2025-05-19 09:58:37,992 - INFO - /home/pi/Desktop/images/19052025/09/58/image_19052025_09_58_37_28764.jpg
MAIN: 2025-05-19 09:58:37,992 - INFO - duration: 1.5075482730026124
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:59:09,009 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 09:59:09,068 - INFO - taking picture
MAIN: 2025-05-19 09:59:09,070 - INFO - we take 418 photos in this while loop
MAIN: 2025-05-19 09:59:09,070 - INFO - /home/pi/Desktop/images/19052025/09/58/image_19052025_09_59_08_31046.jpg
MAIN: 2025-05-19 09:59:09,071 - INFO - duration: 1.5387690410025243
MAIN: 2025-05-19 09:59:09,072 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 09:59:39,038 - INFO - taking picture
MAIN: 2025-05-19 09:59:39,039 - INFO - we take 419 photos in this while loop
MAIN: 2025-05-19 09:59:39,040 - INFO - /home/pi/Desktop/images/19052025/09/59/image_19052025_09_59_38_30004.jpg
MAIN: 2025-05-19 09:59:39,040 - INFO - duration: 1.5040324330002477
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:00:09,878 - INFO - taking picture
MAIN: 2025-05-19 10:00:09,880 - INFO - we take 420 photos in this while loop
MAIN: 2025-05-19 10:00:09,880 - INFO - /home/pi/Desktop/images/19052025/09/59/image_19052025_10_00_08_29698.jpg
MAIN: 2025-05-19 10:00:09,881 - INFO - duration: 2.646406019001006
MAIN: 2025-05-19 10:00:09,893 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/00'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:00:10,993 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:00:38,212 - INFO - taking picture
MAIN: 2025-05-19 10:00:38,213 - INFO - we take 421 photos in this while loop
MAIN: 2025-05-19 10:00:38,214 - INFO - /home/pi/Desktop/images/19052025/10/00/image_19052025_10_00_37_29501.jpg
MAIN: 2025-05-19 10:00:38,214 - INFO - duration: 1.4781962890010618
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:01:07,963 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:01:09,041 - INFO - taking picture
MAIN: 2025-05-19 10:01:09,042 - INFO - we take 422 photos in this while loop
MAIN: 2025-05-19 10:01:09,042 - INFO - /home/pi/Desktop/images/19052025/10/00/image_19052025_10_01_08_30795.jpg
MAIN: 2025-05-19 10:01:09,043 - INFO - duration: 1.5104827869981818
MAIN: 2025-05-19 10:01:09,043 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/01'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:01:38,950 - INFO - taking picture
MAIN: 2025-05-19 10:01:38,951 - INFO - we take 423 photos in this while loop
MAIN: 2025-05-19 10:01:38,951 - INFO - /home/pi/Desktop/images/19052025/10/01/image_19052025_10_01_38_29944.jpg
MAIN: 2025-05-19 10:01:38,952 - INFO - duration: 1.4746635250012332
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:02:08,694 - INFO - taking picture
MAIN: 2025-05-19 10:02:08,695 - INFO - we take 424 photos in this while loop
MAIN: 2025-05-19 10:02:08,696 - INFO - /home/pi/Desktop/images/19052025/10/01/image_19052025_10_02_07_29487.jpg
MAIN: 2025-05-19 10:02:08,696 - INFO - duration: 1.7317772400019749
MAIN: 2025-05-19 10:02:08,697 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/02'
MAIN: 2025-05-19 10:02:09,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:02:38,467 - INFO - taking picture
MAIN: 2025-05-19 10:02:38,468 - INFO - we take 425 photos in this while loop
MAIN: 2025-05-19 10:02:38,468 - INFO - /home/pi/Desktop/images/19052025/10/02/image_19052025_10_02_37_30030.jpg
MAIN: 2025-05-19 10:02:38,469 - INFO - duration: 1.4739025829985621
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:03:08,164 - INFO - taking picture
MAIN: 2025-05-19 10:03:08,166 - INFO - we take 426 photos in this while loop
MAIN: 2025-05-19 10:03:08,166 - INFO - /home/pi/Desktop/images/19052025/10/02/image_19052025_10_03_07_29234.jpg
MAIN: 2025-05-19 10:03:08,167 - INFO - duration: 1.937488362997101
MAIN: 2025-05-19 10:03:08,242 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/03'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:03:09,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:03:37,899 - INFO - taking picture
MAIN: 2025-05-19 10:03:37,900 - INFO - we take 427 photos in this while loop
MAIN: 2025-05-19 10:03:37,900 - INFO - /home/pi/Desktop/images/19052025/10/03/image_19052025_10_03_37_30282.jpg
MAIN: 2025-05-19 10:03:37,900 - INFO - duration: 1.3887404199995217
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:04:08,148 - INFO - taking picture
MAIN: 2025-05-19 10:04:08,150 - INFO - we take 428 photos in this while loop
MAIN: 2025-05-19 10:04:08,150 - INFO - /home/pi/Desktop/images/19052025/10/03/image_19052025_10_04_06_29673.jpg
MAIN: 2025-05-19 10:04:08,151 - INFO - duration: 1.9657587649999186
MAIN: 2025-05-19 10:04:08,153 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/04'
MAIN: 2025-05-19 10:04:08,953 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:04:37,998 - INFO - taking picture
MAIN: 2025-05-19 10:04:37,999 - INFO - we take 429 photos in this while loop
MAIN: 2025-05-19 10:04:38,000 - INFO - /home/pi/Desktop/images/19052025/10/04/image_19052025_10_04_37_30444.jpg
MAIN: 2025-05-19 10:04:38,000 - INFO - duration: 1.370392297001672
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:05:08,559 - INFO - taking picture
MAIN: 2025-05-19 10:05:08,562 - INFO - we take 430 photos in this while loop
MAIN: 2025-05-19 10:05:08,563 - INFO - /home/pi/Desktop/images/19052025/10/04/image_19052025_10_05_07_29674.jpg
MAIN: 2025-05-19 10:05:08,564 - INFO - duration: 2.2591354310025054
MAIN: 2025-05-19 10:05:08,566 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/05'
MAIN: 2025-05-19 10:05:09,182 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:05:38,342 - INFO - taking picture
MAIN: 2025-05-19 10:05:38,344 - INFO - we take 431 photos in this while loop
MAIN: 2025-05-19 10:05:38,344 - INFO - /home/pi/Desktop/images/19052025/10/05/image_19052025_10_05_37_30553.jpg
MAIN: 2025-05-19 10:05:38,344 - INFO - duration: 1.486591994002083
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:06:08,500 - INFO - taking picture
MAIN: 2025-05-19 10:06:08,502 - INFO - we take 432 photos in this while loop
MAIN: 2025-05-19 10:06:08,502 - INFO - /home/pi/Desktop/images/19052025/10/05/image_19052025_10_06_07_29377.jpg
MAIN: 2025-05-19 10:06:08,503 - INFO - duration: 2.2675252669978363
MAIN: 2025-05-19 10:06:09,009 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/06'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:06:10,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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:06:38,363 - INFO - taking picture
MAIN: 2025-05-19 10:06:38,365 - INFO - we take 433 photos in this while loop
MAIN: 2025-05-19 10:06:38,365 - INFO - /home/pi/Desktop/images/19052025/10/06/image_19052025_10_06_37_30641.jpg
MAIN: 2025-05-19 10:06:38,365 - INFO - duration: 1.4883167820007657
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:07:08,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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:07:09,153 - INFO - taking picture
MAIN: 2025-05-19 10:07:09,154 - INFO - we take 434 photos in this while loop
MAIN: 2025-05-19 10:07:09,155 - INFO - /home/pi/Desktop/images/19052025/10/06/image_19052025_10_07_08_30766.jpg
MAIN: 2025-05-19 10:07:09,155 - INFO - duration: 1.5112233350009774
MAIN: 2025-05-19 10:07:09,156 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:07:37,588 - INFO - taking picture
MAIN: 2025-05-19 10:07:37,589 - INFO - we take 435 photos in this while loop
MAIN: 2025-05-19 10:07:37,589 - INFO - /home/pi/Desktop/images/19052025/10/07/image_19052025_10_07_36_28458.jpg
MAIN: 2025-05-19 10:07:37,589 - INFO - duration: 1.486941832001321
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:08:09,220 - INFO - taking picture
MAIN: 2025-05-19 10:08:09,221 - INFO - we take 436 photos in this while loop
MAIN: 2025-05-19 10:08:09,222 - INFO - /home/pi/Desktop/images/19052025/10/07/image_19052025_10_08_08_31392.jpg
MAIN: 2025-05-19 10:08:09,222 - INFO - duration: 1.7272206020024896
MAIN: 2025-05-19 10:08:09,223 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/08'
MAIN: 2025-05-19 10:08:09,376 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:08:37,770 - INFO - taking picture
MAIN: 2025-05-19 10:08:37,771 - INFO - we take 437 photos in this while loop
MAIN: 2025-05-19 10:08:37,772 - INFO - /home/pi/Desktop/images/19052025/10/08/image_19052025_10_08_36_28754.jpg
MAIN: 2025-05-19 10:08:37,772 - INFO - duration: 1.5226407750014914
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:09:08,870 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 10:09:08,958 - INFO - taking picture
MAIN: 2025-05-19 10:09:08,959 - INFO - we take 438 photos in this while loop
MAIN: 2025-05-19 10:09:08,960 - INFO - /home/pi/Desktop/images/19052025/10/08/image_19052025_10_09_07_31059.jpg
MAIN: 2025-05-19 10:09:08,960 - INFO - duration: 1.651041928002087
MAIN: 2025-05-19 10:09:08,961 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:09:38,798 - INFO - taking picture
MAIN: 2025-05-19 10:09:38,799 - INFO - we take 439 photos in this while loop
MAIN: 2025-05-19 10:09:38,799 - INFO - /home/pi/Desktop/images/19052025/10/09/image_19052025_10_09_37_29976.jpg
MAIN: 2025-05-19 10:09:38,800 - INFO - duration: 1.5137283279982512
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:10:09,485 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 10:10:09,595 - INFO - taking picture
MAIN: 2025-05-19 10:10:09,596 - INFO - we take 440 photos in this while loop
MAIN: 2025-05-19 10:10:09,597 - INFO - /home/pi/Desktop/images/19052025/10/09/image_19052025_10_10_08_30519.jpg
MAIN: 2025-05-19 10:10:09,598 - INFO - duration: 1.7924565120010811
MAIN: 2025-05-19 10:10:09,599 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/10'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:10:37,987 - INFO - taking picture
MAIN: 2025-05-19 10:10:37,989 - INFO - we take 441 photos in this while loop
MAIN: 2025-05-19 10:10:37,989 - INFO - /home/pi/Desktop/images/19052025/10/10/image_19052025_10_10_37_28695.jpg
MAIN: 2025-05-19 10:10:37,989 - INFO - duration: 1.4880131270001584
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:11:08,577 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 10:11:08,689 - INFO - taking picture
MAIN: 2025-05-19 10:11:08,690 - INFO - we take 442 photos in this while loop
MAIN: 2025-05-19 10:11:08,691 - INFO - /home/pi/Desktop/images/19052025/10/10/image_19052025_10_11_07_30583.jpg
MAIN: 2025-05-19 10:11:08,691 - INFO - duration: 1.606259334999777
MAIN: 2025-05-19 10:11:08,692 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:11:38,380 - INFO - taking picture
MAIN: 2025-05-19 10:11:38,381 - INFO - we take 443 photos in this while loop
MAIN: 2025-05-19 10:11:38,381 - INFO - /home/pi/Desktop/images/19052025/10/11/image_19052025_10_11_37_29811.jpg
MAIN: 2025-05-19 10:11:38,382 - INFO - duration: 1.4849835950008128
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:12:08,143 - INFO - taking picture
MAIN: 2025-05-19 10:12:08,145 - INFO - we take 444 photos in this while loop
MAIN: 2025-05-19 10:12:08,145 - INFO - /home/pi/Desktop/images/19052025/10/11/image_19052025_10_12_06_29288.jpg
MAIN: 2025-05-19 10:12:08,146 - INFO - duration: 1.9607670910008892
MAIN: 2025-05-19 10:12:08,895 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/12'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:12:09,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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:12:38,165 - INFO - taking picture
MAIN: 2025-05-19 10:12:38,166 - INFO - we take 445 photos in this while loop
MAIN: 2025-05-19 10:12:38,167 - INFO - /home/pi/Desktop/images/19052025/10/12/image_19052025_10_12_37_30494.jpg
MAIN: 2025-05-19 10:12:38,167 - INFO - duration: 1.4870110459996795
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:13:07,990 - INFO - taking picture
MAIN: 2025-05-19 10:13:07,992 - INFO - we take 446 photos in this while loop
MAIN: 2025-05-19 10:13:07,992 - INFO - /home/pi/Desktop/images/19052025/10/12/image_19052025_10_13_06_29495.jpg
MAIN: 2025-05-19 10:13:07,993 - INFO - duration: 1.8172876680000627
MAIN: 2025-05-19 10:13:07,994 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/13'
MAIN: 2025-05-19 10:13:08,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:13:37,592 - INFO - taking picture
MAIN: 2025-05-19 10:13:37,593 - INFO - we take 447 photos in this while loop
MAIN: 2025-05-19 10:13:37,593 - INFO - /home/pi/Desktop/images/19052025/10/13/image_19052025_10_13_36_30200.jpg
MAIN: 2025-05-19 10:13:37,594 - INFO - duration: 1.2173906770003668
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:14:08,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-05-19 10:14:09,919 - INFO - taking picture
MAIN: 2025-05-19 10:14:09,921 - INFO - we take 448 photos in this while loop
MAIN: 2025-05-19 10:14:09,921 - INFO - /home/pi/Desktop/images/19052025/10/13/image_19052025_10_14_08_31104.jpg
MAIN: 2025-05-19 10:14:09,922 - INFO - duration: 2.4405592660004913
MAIN: 2025-05-19 10:14:09,923 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/14'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:14:38,296 - INFO - taking picture
MAIN: 2025-05-19 10:14:38,297 - INFO - we take 449 photos in this while loop
MAIN: 2025-05-19 10:14:38,298 - INFO - /home/pi/Desktop/images/19052025/10/14/image_19052025_10_14_37_29331.jpg
MAIN: 2025-05-19 10:14:38,298 - INFO - duration: 1.4853104120011267
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:15:08,643 - INFO - taking picture
MAIN: 2025-05-19 10:15:08,644 - INFO - we take 450 photos in this while loop
MAIN: 2025-05-19 10:15:08,645 - INFO - /home/pi/Desktop/images/19052025/10/14/image_19052025_10_15_07_29593.jpg
MAIN: 2025-05-19 10:15:08,646 - INFO - duration: 2.2394878470004187
MAIN: 2025-05-19 10:15:08,647 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/15'
MAIN: 2025-05-19 10:15:09,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:15:38,552 - INFO - taking picture
MAIN: 2025-05-19 10:15:38,554 - INFO - we take 451 photos in this while loop
MAIN: 2025-05-19 10:15:38,554 - INFO - /home/pi/Desktop/images/19052025/10/15/image_19052025_10_15_37_30642.jpg
MAIN: 2025-05-19 10:15:38,555 - INFO - duration: 1.5054227350010478
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:16:08,525 - INFO - taking picture
MAIN: 2025-05-19 10:16:08,526 - INFO - we take 452 photos in this while loop
MAIN: 2025-05-19 10:16:08,527 - INFO - /home/pi/Desktop/images/19052025/10/15/image_19052025_10_16_07_29506.jpg
MAIN: 2025-05-19 10:16:08,528 - INFO - duration: 1.9725371319982514
MAIN: 2025-05-19 10:16:08,529 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/16'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:16:09,568 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:16:38,267 - INFO - taking picture
MAIN: 2025-05-19 10:16:38,268 - INFO - we take 453 photos in this while loop
MAIN: 2025-05-19 10:16:38,269 - INFO - /home/pi/Desktop/images/19052025/10/16/image_19052025_10_16_37_30234.jpg
MAIN: 2025-05-19 10:16:38,269 - INFO - duration: 1.479506292998849
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:17:07,874 - INFO - taking picture
MAIN: 2025-05-19 10:17:07,875 - INFO - we take 454 photos in this while loop
MAIN: 2025-05-19 10:17:07,875 - INFO - /home/pi/Desktop/images/19052025/10/16/image_19052025_10_17_06_29355.jpg
MAIN: 2025-05-19 10:17:07,876 - INFO - duration: 1.7308337909998954
MAIN: 2025-05-19 10:17:07,877 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/17'
MAIN: 2025-05-19 10:17:08,120 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:17:37,884 - INFO - taking picture
MAIN: 2025-05-19 10:17:37,885 - INFO - we take 455 photos in this while loop
MAIN: 2025-05-19 10:17:37,886 - INFO - /home/pi/Desktop/images/19052025/10/17/image_19052025_10_17_36_30227.jpg
MAIN: 2025-05-19 10:17:37,886 - INFO - duration: 1.5143041010014713
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:18:08,290 - INFO - taking picture
MAIN: 2025-05-19 10:18:08,292 - INFO - we take 456 photos in this while loop
MAIN: 2025-05-19 10:18:08,292 - INFO - /home/pi/Desktop/images/19052025/10/17/image_19052025_10_18_07_29844.jpg
MAIN: 2025-05-19 10:18:08,293 - INFO - duration: 2.076672356997733
MAIN: 2025-05-19 10:18:08,557 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/18'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:18:09,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:18:38,135 - INFO - taking picture
MAIN: 2025-05-19 10:18:38,136 - INFO - we take 457 photos in this while loop
MAIN: 2025-05-19 10:18:38,136 - INFO - /home/pi/Desktop/images/19052025/10/18/image_19052025_10_18_37_30405.jpg
MAIN: 2025-05-19 10:18:38,137 - INFO - duration: 1.5152645920024952
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:19:08,128 - INFO - taking picture
MAIN: 2025-05-19 10:19:08,129 - INFO - we take 458 photos in this while loop
MAIN: 2025-05-19 10:19:08,130 - INFO - /home/pi/Desktop/images/19052025/10/18/image_19052025_10_19_07_29653.jpg
MAIN: 2025-05-19 10:19:08,130 - INFO - duration: 1.8552964559967222
MAIN: 2025-05-19 10:19:08,131 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/19'
MAIN: 2025-05-19 10:19:09,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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:19:38,135 - INFO - taking picture
MAIN: 2025-05-19 10:19:38,136 - INFO - we take 459 photos in this while loop
MAIN: 2025-05-19 10:19:38,136 - INFO - /home/pi/Desktop/images/19052025/10/19/image_19052025_10_19_37_30373.jpg
MAIN: 2025-05-19 10:19:38,137 - INFO - duration: 1.4885980670005665
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:20:08,652 - INFO - taking picture
MAIN: 2025-05-19 10:20:08,653 - INFO - we take 460 photos in this while loop
MAIN: 2025-05-19 10:20:08,654 - INFO - /home/pi/Desktop/images/19052025/10/19/image_19052025_10_20_07_29868.jpg
MAIN: 2025-05-19 10:20:08,655 - INFO - duration: 2.138134414999513
MAIN: 2025-05-19 10:20:08,820 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/20'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:20:09,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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:20:38,705 - INFO - taking picture
MAIN: 2025-05-19 10:20:38,706 - INFO - we take 461 photos in this while loop
MAIN: 2025-05-19 10:20:38,707 - INFO - /home/pi/Desktop/images/19052025/10/20/image_19052025_10_20_37_30679.jpg
MAIN: 2025-05-19 10:20:38,707 - INFO - duration: 1.5110596169979544
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:21:08,164 - INFO - taking picture
MAIN: 2025-05-19 10:21:08,165 - INFO - we take 462 photos in this while loop
MAIN: 2025-05-19 10:21:08,166 - INFO - /home/pi/Desktop/images/19052025/10/20/image_19052025_10_21_07_29234.jpg
MAIN: 2025-05-19 10:21:08,166 - INFO - duration: 1.7357757089994266
MAIN: 2025-05-19 10:21:08,167 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/21'
MAIN: 2025-05-19 10:21:08,700 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:21:38,023 - INFO - taking picture
MAIN: 2025-05-19 10:21:38,024 - INFO - we take 463 photos in this while loop
MAIN: 2025-05-19 10:21:38,025 - INFO - /home/pi/Desktop/images/19052025/10/21/image_19052025_10_21_37_30117.jpg
MAIN: 2025-05-19 10:21:38,025 - INFO - duration: 1.476838291000604
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:22:09,295 - INFO - taking picture
MAIN: 2025-05-19 10:22:09,296 - INFO - we take 464 photos in this while loop
MAIN: 2025-05-19 10:22:09,296 - INFO - /home/pi/Desktop/images/19052025/10/21/image_19052025_10_22_08_30912.jpg
MAIN: 2025-05-19 10:22:09,297 - INFO - duration: 1.8358911569994234
MAIN: 2025-05-19 10:22:09,297 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/22'
MAIN: 2025-05-19 10:22:09,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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:22:37,797 - INFO - taking picture
MAIN: 2025-05-19 10:22:37,798 - INFO - we take 465 photos in this while loop
MAIN: 2025-05-19 10:22:37,798 - INFO - /home/pi/Desktop/images/19052025/10/22/image_19052025_10_22_36_28855.jpg
MAIN: 2025-05-19 10:22:37,799 - INFO - duration: 1.4819003639968287
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:23:08,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 ! 
MAIN: 2025-05-19 10:23:08,665 - INFO - taking picture
MAIN: 2025-05-19 10:23:08,667 - INFO - we take 466 photos in this while loop
MAIN: 2025-05-19 10:23:08,667 - INFO - /home/pi/Desktop/images/19052025/10/22/image_19052025_10_23_07_30739.jpg
MAIN: 2025-05-19 10:23:08,668 - INFO - duration: 1.611427370000456
MAIN: 2025-05-19 10:23:08,669 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:23:38,618 - INFO - taking picture
MAIN: 2025-05-19 10:23:38,619 - INFO - we take 467 photos in this while loop
MAIN: 2025-05-19 10:23:38,619 - INFO - /home/pi/Desktop/images/19052025/10/23/image_19052025_10_23_37_30088.jpg
MAIN: 2025-05-19 10:23:38,619 - INFO - duration: 1.4746294209980988
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:24:08,618 - INFO - taking picture
MAIN: 2025-05-19 10:24:08,619 - INFO - we take 468 photos in this while loop
MAIN: 2025-05-19 10:24:08,622 - INFO - /home/pi/Desktop/images/19052025/10/23/image_19052025_10_24_07_29536.jpg
MAIN: 2025-05-19 10:24:08,622 - INFO - duration: 1.9411354519979795
MAIN: 2025-05-19 10:24:08,624 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/24'
MAIN: 2025-05-19 10:24:09,383 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:24:38,789 - INFO - taking picture
MAIN: 2025-05-19 10:24:38,790 - INFO - we take 469 photos in this while loop
MAIN: 2025-05-19 10:24:38,790 - INFO - /home/pi/Desktop/images/19052025/10/24/image_19052025_10_24_37_30598.jpg
MAIN: 2025-05-19 10:24:38,791 - INFO - duration: 1.5112000039989653
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:25:08,633 - INFO - taking picture
MAIN: 2025-05-19 10:25:08,635 - INFO - we take 470 photos in this while loop
MAIN: 2025-05-19 10:25:08,635 - INFO - /home/pi/Desktop/images/19052025/10/24/image_19052025_10_25_07_29402.jpg
MAIN: 2025-05-19 10:25:08,636 - INFO - duration: 1.953613456000312
MAIN: 2025-05-19 10:25:09,422 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/25'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:25:10,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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:25:38,598 - INFO - taking picture
MAIN: 2025-05-19 10:25:38,600 - INFO - we take 471 photos in this while loop
MAIN: 2025-05-19 10:25:38,600 - INFO - /home/pi/Desktop/images/19052025/10/25/image_19052025_10_25_37_30410.jpg
MAIN: 2025-05-19 10:25:38,600 - INFO - duration: 1.5078517570000258
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:26:09,108 - INFO - taking picture
MAIN: 2025-05-19 10:26:09,110 - INFO - we take 472 photos in this while loop
MAIN: 2025-05-19 10:26:09,110 - INFO - /home/pi/Desktop/images/19052025/10/25/image_19052025_10_26_07_29890.jpg
MAIN: 2025-05-19 10:26:09,110 - INFO - duration: 2.1270543140017253
MAIN: 2025-05-19 10:26:09,111 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/26'
MAIN: 2025-05-19 10:26:09,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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:26:38,954 - INFO - taking picture
MAIN: 2025-05-19 10:26:38,955 - INFO - we take 473 photos in this while loop
MAIN: 2025-05-19 10:26:38,956 - INFO - /home/pi/Desktop/images/19052025/10/26/image_19052025_10_26_38_30494.jpg
MAIN: 2025-05-19 10:26:38,956 - INFO - duration: 1.4780013390009117
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:27:08,473 - INFO - taking picture
MAIN: 2025-05-19 10:27:08,474 - INFO - we take 474 photos in this while loop
MAIN: 2025-05-19 10:27:08,475 - INFO - /home/pi/Desktop/images/19052025/10/26/image_19052025_10_27_07_29357.jpg
MAIN: 2025-05-19 10:27:08,475 - INFO - duration: 1.6394814519990177
MAIN: 2025-05-19 10:27:08,476 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/27'
MAIN: 2025-05-19 10:27:08,898 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:27:38,108 - INFO - taking picture
MAIN: 2025-05-19 10:27:38,122 - INFO - we take 475 photos in this while loop
MAIN: 2025-05-19 10:27:38,123 - INFO - /home/pi/Desktop/images/19052025/10/27/image_19052025_10_27_37_29800.jpg
MAIN: 2025-05-19 10:27:38,123 - INFO - duration: 1.487006930001371
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:28:09,128 - INFO - taking picture
MAIN: 2025-05-19 10:28:09,129 - INFO - we take 476 photos in this while loop
MAIN: 2025-05-19 10:28:09,130 - INFO - /home/pi/Desktop/images/19052025/10/27/image_19052025_10_28_07_30400.jpg
MAIN: 2025-05-19 10:28:09,131 - INFO - duration: 2.0942446170010953
MAIN: 2025-05-19 10:28:09,279 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/28'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:28:10,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:28:38,896 - INFO - taking picture
MAIN: 2025-05-19 10:28:38,897 - INFO - we take 477 photos in this while loop
MAIN: 2025-05-19 10:28:38,897 - INFO - /home/pi/Desktop/images/19052025/10/28/image_19052025_10_28_38_30520.jpg
MAIN: 2025-05-19 10:28:38,898 - INFO - duration: 1.3405314230003569
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:29:08,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 ! 
MAIN: 2025-05-19 10:29:08,302 - INFO - taking picture
MAIN: 2025-05-19 10:29:08,303 - INFO - we take 478 photos in this while loop
MAIN: 2025-05-19 10:29:08,304 - INFO - /home/pi/Desktop/images/19052025/10/28/image_19052025_10_29_07_29182.jpg
MAIN: 2025-05-19 10:29:08,304 - INFO - duration: 1.5642992579996644
MAIN: 2025-05-19 10:29:08,305 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/29'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:29:37,986 - INFO - taking picture
MAIN: 2025-05-19 10:29:37,987 - INFO - we take 479 photos in this while loop
MAIN: 2025-05-19 10:29:37,988 - INFO - /home/pi/Desktop/images/19052025/10/29/image_19052025_10_29_37_29773.jpg
MAIN: 2025-05-19 10:29:37,988 - INFO - duration: 1.474073960998794
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:30:09,757 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 10:30:09,827 - INFO - taking picture
MAIN: 2025-05-19 10:30:09,828 - INFO - we take 480 photos in this while loop
MAIN: 2025-05-19 10:30:09,829 - INFO - /home/pi/Desktop/images/19052025/10/29/image_19052025_10_30_08_31554.jpg
MAIN: 2025-05-19 10:30:09,830 - INFO - duration: 1.7614605089984252
MAIN: 2025-05-19 10:30:09,830 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/30'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:30:38,119 - INFO - taking picture
MAIN: 2025-05-19 10:30:38,120 - INFO - we take 481 photos in this while loop
MAIN: 2025-05-19 10:30:38,121 - INFO - /home/pi/Desktop/images/19052025/10/30/image_19052025_10_30_37_28577.jpg
MAIN: 2025-05-19 10:30:38,121 - INFO - duration: 1.4754327279988502
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:31:08,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 ! 
MAIN: 2025-05-19 10:31:09,166 - INFO - taking picture
MAIN: 2025-05-19 10:31:09,167 - INFO - we take 482 photos in this while loop
MAIN: 2025-05-19 10:31:09,167 - INFO - /home/pi/Desktop/images/19052025/10/30/image_19052025_10_31_08_30914.jpg
MAIN: 2025-05-19 10:31:09,168 - INFO - duration: 1.607929633999447
MAIN: 2025-05-19 10:31:09,169 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:31:38,993 - INFO - taking picture
MAIN: 2025-05-19 10:31:38,995 - INFO - we take 483 photos in this while loop
MAIN: 2025-05-19 10:31:38,995 - INFO - /home/pi/Desktop/images/19052025/10/31/image_19052025_10_31_38_29956.jpg
MAIN: 2025-05-19 10:31:38,996 - INFO - duration: 1.4789073249994544
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:32:09,178 - INFO - taking picture
MAIN: 2025-05-19 10:32:09,180 - INFO - we take 484 photos in this while loop
MAIN: 2025-05-19 10:32:09,180 - INFO - /home/pi/Desktop/images/19052025/10/31/image_19052025_10_32_08_29618.jpg
MAIN: 2025-05-19 10:32:09,181 - INFO - duration: 2.045505635000154
MAIN: 2025-05-19 10:32:09,292 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/32'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:32:10,348 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:32:38,910 - INFO - taking picture
MAIN: 2025-05-19 10:32:38,912 - INFO - we take 485 photos in this while loop
MAIN: 2025-05-19 10:32:38,912 - INFO - /home/pi/Desktop/images/19052025/10/32/image_19052025_10_32_38_30298.jpg
MAIN: 2025-05-19 10:32:38,912 - INFO - duration: 1.477831767002499
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:33:08,551 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 10:33:08,651 - INFO - taking picture
MAIN: 2025-05-19 10:33:08,652 - INFO - we take 486 photos in this while loop
MAIN: 2025-05-19 10:33:08,653 - INFO - /home/pi/Desktop/images/19052025/10/32/image_19052025_10_33_07_29683.jpg
MAIN: 2025-05-19 10:33:08,653 - INFO - duration: 1.5347223120006674
MAIN: 2025-05-19 10:33:08,654 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:33:38,641 - INFO - taking picture
MAIN: 2025-05-19 10:33:38,642 - INFO - we take 487 photos in this while loop
MAIN: 2025-05-19 10:33:38,643 - INFO - /home/pi/Desktop/images/19052025/10/33/image_19052025_10_33_37_30049.jpg
MAIN: 2025-05-19 10:33:38,643 - INFO - duration: 1.4748631359980209
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:34:08,337 - INFO - taking picture
MAIN: 2025-05-19 10:34:08,339 - INFO - we take 488 photos in this while loop
MAIN: 2025-05-19 10:34:08,339 - INFO - /home/pi/Desktop/images/19052025/10/33/image_19052025_10_34_07_29346.jpg
MAIN: 2025-05-19 10:34:08,340 - INFO - duration: 1.8254459030031285
MAIN: 2025-05-19 10:34:08,341 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/34'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:34:09,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:34:38,273 - INFO - taking picture
MAIN: 2025-05-19 10:34:38,275 - INFO - we take 489 photos in this while loop
MAIN: 2025-05-19 10:34:38,275 - INFO - /home/pi/Desktop/images/19052025/10/34/image_19052025_10_34_37_30284.jpg
MAIN: 2025-05-19 10:34:38,275 - INFO - duration: 1.4764014270003827
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:35:08,566 - INFO - taking picture
MAIN: 2025-05-19 10:35:08,568 - INFO - we take 490 photos in this while loop
MAIN: 2025-05-19 10:35:08,569 - INFO - /home/pi/Desktop/images/19052025/10/34/image_19052025_10_35_07_29547.jpg
MAIN: 2025-05-19 10:35:08,569 - INFO - duration: 2.2222377689977293
MAIN: 2025-05-19 10:35:08,668 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/35'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:35:09,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=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:35:38,466 - INFO - taking picture
MAIN: 2025-05-19 10:35:38,467 - INFO - we take 491 photos in this while loop
MAIN: 2025-05-19 10:35:38,467 - INFO - /home/pi/Desktop/images/19052025/10/35/image_19052025_10_35_37_30607.jpg
MAIN: 2025-05-19 10:35:38,468 - INFO - duration: 1.5126813120004954
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:36:08,586 - INFO - taking picture
MAIN: 2025-05-19 10:36:08,588 - INFO - we take 492 photos in this while loop
MAIN: 2025-05-19 10:36:08,588 - INFO - /home/pi/Desktop/images/19052025/10/35/image_19052025_10_36_07_29683.jpg
MAIN: 2025-05-19 10:36:08,589 - INFO - duration: 1.950603877001413
MAIN: 2025-05-19 10:36:08,591 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/36'
MAIN: 2025-05-19 10:36:09,589 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:36:38,582 - INFO - taking picture
MAIN: 2025-05-19 10:36:38,583 - INFO - we take 493 photos in this while loop
MAIN: 2025-05-19 10:36:38,584 - INFO - /home/pi/Desktop/images/19052025/10/36/image_19052025_10_36_37_30438.jpg
MAIN: 2025-05-19 10:36:38,584 - INFO - duration: 1.5067045010000584
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:37:08,449 - INFO - taking picture
MAIN: 2025-05-19 10:37:08,450 - INFO - we take 494 photos in this while loop
MAIN: 2025-05-19 10:37:08,451 - INFO - /home/pi/Desktop/images/19052025/10/36/image_19052025_10_37_07_29557.jpg
MAIN: 2025-05-19 10:37:08,451 - INFO - duration: 1.8162156830003369
MAIN: 2025-05-19 10:37:08,452 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/37'
MAIN: 2025-05-19 10:37:08,527 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=88 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:37:38,479 - INFO - taking picture
MAIN: 2025-05-19 10:37:38,480 - INFO - we take 495 photos in this while loop
MAIN: 2025-05-19 10:37:38,480 - INFO - /home/pi/Desktop/images/19052025/10/37/image_19052025_10_37_37_30339.jpg
MAIN: 2025-05-19 10:37:38,481 - INFO - duration: 1.5068995100009488
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 10:38:08,486 - INFO - taking picture
MAIN: 2025-05-19 10:38:08,487 - INFO - we take 496 photos in this while loop
MAIN: 2025-05-19 10:38:08,488 - INFO - /home/pi/Desktop/images/19052025/10/37/image_19052025_10_38_07_29471.jpg
MAIN: 2025-05-19 10:38:08,489 - INFO - duration: 2.0434696259981138
MAIN: 2025-05-19 10:38:08,490 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/38'
MAIN: 2025-05-19 10:38:09,189 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=82 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:38:38,314 - INFO - taking picture
MAIN: 2025-05-19 10:38:38,315 - INFO - we take 497 photos in this while loop
MAIN: 2025-05-19 10:38:38,315 - INFO - /home/pi/Desktop/images/19052025/10/38/image_19052025_10_38_37_30395.jpg
MAIN: 2025-05-19 10:38:38,316 - INFO - duration: 1.4755418249987997
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:39:07,891 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=82 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:39:08,989 - INFO - taking picture
MAIN: 2025-05-19 10:39:08,990 - INFO - we take 498 photos in this while loop
MAIN: 2025-05-19 10:39:08,990 - INFO - /home/pi/Desktop/images/19052025/10/38/image_19052025_10_39_08_30620.jpg
MAIN: 2025-05-19 10:39:08,991 - INFO - duration: 1.5305295059988566
MAIN: 2025-05-19 10:39:08,992 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/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=82 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:39:38,783 - INFO - taking picture
MAIN: 2025-05-19 10:39:38,784 - INFO - we take 499 photos in this while loop
MAIN: 2025-05-19 10:39:38,784 - INFO - /home/pi/Desktop/images/19052025/10/39/image_19052025_10_39_37_29929.jpg
MAIN: 2025-05-19 10:39:38,785 - INFO - duration: 1.394883230997948
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=82 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:40:09,088 - INFO - taking picture
MAIN: 2025-05-19 10:40:09,089 - INFO - we take 500 photos in this while loop
MAIN: 2025-05-19 10:40:09,090 - INFO - /home/pi/Desktop/images/19052025/10/39/image_19052025_10_40_07_29384.jpg
MAIN: 2025-05-19 10:40:09,090 - INFO - duration: 2.3154083469999023
MAIN: 2025-05-19 10:40:09,091 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/40'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:40:10,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:40:37,695 - INFO - taking picture
MAIN: 2025-05-19 10:40:37,696 - INFO - we take 501 photos in this while loop
MAIN: 2025-05-19 10:40:37,697 - INFO - /home/pi/Desktop/images/19052025/10/40/image_19052025_10_40_36_29413.jpg
MAIN: 2025-05-19 10:40:37,697 - INFO - duration: 1.5087638500008325
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 10:41:08,683 - INFO - taking picture
MAIN: 2025-05-19 10:41:08,684 - INFO - we take 502 photos in this while loop
MAIN: 2025-05-19 10:41:08,685 - INFO - /home/pi/Desktop/images/19052025/10/40/image_19052025_10_41_07_30916.jpg
MAIN: 2025-05-19 10:41:08,685 - INFO - duration: 1.5805611569994653
MAIN: 2025-05-19 10:41:08,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/41'
MAIN: 2025-05-19 10:41:08,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:41:38,591 - INFO - taking picture
MAIN: 2025-05-19 10:41:38,592 - INFO - we take 503 photos in this while loop
MAIN: 2025-05-19 10:41:38,592 - INFO - /home/pi/Desktop/images/19052025/10/41/image_19052025_10_41_37_30009.jpg
MAIN: 2025-05-19 10:41:38,592 - INFO - duration: 1.4777365800000553
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:42:08,696 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 10:42:08,762 - INFO - taking picture
MAIN: 2025-05-19 10:42:08,764 - INFO - we take 504 photos in this while loop
MAIN: 2025-05-19 10:42:08,765 - INFO - /home/pi/Desktop/images/19052025/10/41/image_19052025_10_42_07_29790.jpg
MAIN: 2025-05-19 10:42:08,765 - INFO - duration: 1.8598521019994223
MAIN: 2025-05-19 10:42:08,766 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:42:38,725 - INFO - taking picture
MAIN: 2025-05-19 10:42:38,726 - INFO - we take 505 photos in this while loop
MAIN: 2025-05-19 10:42:38,726 - INFO - /home/pi/Desktop/images/19052025/10/42/image_19052025_10_42_37_30341.jpg
MAIN: 2025-05-19 10:42:38,726 - INFO - duration: 1.4791650740007753
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 10:43:08,216 - INFO - taking picture
MAIN: 2025-05-19 10:43:08,217 - INFO - we take 506 photos in this while loop
MAIN: 2025-05-19 10:43:08,218 - INFO - /home/pi/Desktop/images/19052025/10/42/image_19052025_10_43_07_29238.jpg
MAIN: 2025-05-19 10:43:08,218 - INFO - duration: 1.7327371239989589
MAIN: 2025-05-19 10:43:08,219 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/43'
MAIN: 2025-05-19 10:43:09,115 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:43:38,140 - INFO - taking picture
MAIN: 2025-05-19 10:43:38,141 - INFO - we take 507 photos in this while loop
MAIN: 2025-05-19 10:43:38,141 - INFO - /home/pi/Desktop/images/19052025/10/43/image_19052025_10_43_37_30176.jpg
MAIN: 2025-05-19 10:43:38,142 - INFO - duration: 1.479806275001465
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:44:08,084 - INFO - taking picture
MAIN: 2025-05-19 10:44:08,085 - INFO - we take 508 photos in this while loop
MAIN: 2025-05-19 10:44:08,086 - INFO - /home/pi/Desktop/images/19052025/10/43/image_19052025_10_44_06_29452.jpg
MAIN: 2025-05-19 10:44:08,087 - INFO - duration: 1.9725871029986592
MAIN: 2025-05-19 10:44:08,271 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/44'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:44:09,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:44:38,032 - INFO - taking picture
MAIN: 2025-05-19 10:44:38,034 - INFO - we take 509 photos in this while loop
MAIN: 2025-05-19 10:44:38,034 - INFO - /home/pi/Desktop/images/19052025/10/44/image_19052025_10_44_37_30443.jpg
MAIN: 2025-05-19 10:44:38,035 - INFO - duration: 1.4764212279987987
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:45:09,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-05-19 10:45:09,441 - INFO - taking picture
MAIN: 2025-05-19 10:45:09,442 - INFO - we take 510 photos in this while loop
MAIN: 2025-05-19 10:45:09,443 - INFO - /home/pi/Desktop/images/19052025/10/44/image_19052025_10_45_08_31325.jpg
MAIN: 2025-05-19 10:45:09,443 - INFO - duration: 1.5599607679978362
MAIN: 2025-05-19 10:45:09,444 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/45'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:45:37,887 - INFO - taking picture
MAIN: 2025-05-19 10:45:37,888 - INFO - we take 511 photos in this while loop
MAIN: 2025-05-19 10:45:37,888 - INFO - /home/pi/Desktop/images/19052025/10/45/image_19052025_10_45_36_28526.jpg
MAIN: 2025-05-19 10:45:37,889 - INFO - duration: 1.4789058650021616
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:46:09,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-05-19 10:46:09,471 - INFO - taking picture
MAIN: 2025-05-19 10:46:09,472 - INFO - we take 512 photos in this while loop
MAIN: 2025-05-19 10:46:09,473 - INFO - /home/pi/Desktop/images/19052025/10/45/image_19052025_10_46_08_31105.jpg
MAIN: 2025-05-19 10:46:09,474 - INFO - duration: 1.9581605290004518
MAIN: 2025-05-19 10:46:09,475 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:46:37,876 - INFO - taking picture
MAIN: 2025-05-19 10:46:37,878 - INFO - we take 513 photos in this while loop
MAIN: 2025-05-19 10:46:37,878 - INFO - /home/pi/Desktop/images/19052025/10/46/image_19052025_10_46_36_28883.jpg
MAIN: 2025-05-19 10:46:37,878 - INFO - duration: 1.4789127490003011
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:47:08,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 ! 
MAIN: 2025-05-19 10:47:09,150 - INFO - taking picture
MAIN: 2025-05-19 10:47:09,151 - INFO - we take 514 photos in this while loop
MAIN: 2025-05-19 10:47:09,152 - INFO - /home/pi/Desktop/images/19052025/10/46/image_19052025_10_47_08_31111.jpg
MAIN: 2025-05-19 10:47:09,152 - INFO - duration: 1.6408620629990764
MAIN: 2025-05-19 10:47:09,153 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/47'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:47:37,686 - INFO - taking picture
MAIN: 2025-05-19 10:47:37,687 - INFO - we take 515 photos in this while loop
MAIN: 2025-05-19 10:47:37,687 - INFO - /home/pi/Desktop/images/19052025/10/47/image_19052025_10_47_36_28669.jpg
MAIN: 2025-05-19 10:47:37,688 - INFO - duration: 1.5070125100028235
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:48:08,184 - INFO - taking picture
MAIN: 2025-05-19 10:48:08,186 - INFO - we take 516 photos in this while loop
MAIN: 2025-05-19 10:48:08,186 - INFO - /home/pi/Desktop/images/19052025/10/47/image_19052025_10_48_07_29945.jpg
MAIN: 2025-05-19 10:48:08,187 - INFO - duration: 2.0608149740000954
MAIN: 2025-05-19 10:48:09,361 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/48'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 10:48:10,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:48:38,346 - INFO - taking picture
MAIN: 2025-05-19 10:48:38,347 - INFO - we take 517 photos in this while loop
MAIN: 2025-05-19 10:48:38,348 - INFO - /home/pi/Desktop/images/19052025/10/48/image_19052025_10_48_37_30706.jpg
MAIN: 2025-05-19 10:48:38,348 - INFO - duration: 1.515370659999462
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:49:08,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 ! 
MAIN: 2025-05-19 10:49:08,131 - INFO - taking picture
MAIN: 2025-05-19 10:49:08,132 - INFO - we take 518 photos in this while loop
MAIN: 2025-05-19 10:49:08,132 - INFO - /home/pi/Desktop/images/19052025/10/48/image_19052025_10_49_07_29544.jpg
MAIN: 2025-05-19 10:49:08,133 - INFO - duration: 1.7552849849998893
MAIN: 2025-05-19 10:49:08,134 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/49'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:49:38,231 - INFO - taking picture
MAIN: 2025-05-19 10:49:38,232 - INFO - we take 519 photos in this while loop
MAIN: 2025-05-19 10:49:38,233 - INFO - /home/pi/Desktop/images/19052025/10/49/image_19052025_10_49_37_30348.jpg
MAIN: 2025-05-19 10:49:38,233 - INFO - duration: 1.5073872590000974
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 10:50:09,156 - INFO - taking picture
MAIN: 2025-05-19 10:50:09,157 - INFO - we take 520 photos in this while loop
MAIN: 2025-05-19 10:50:09,158 - INFO - /home/pi/Desktop/images/19052025/10/49/image_19052025_10_50_08_30029.jpg
MAIN: 2025-05-19 10:50:09,158 - INFO - duration: 2.4028557040001033
MAIN: 2025-05-19 10:50:09,160 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/50'
MAIN: 2025-05-19 10:50:10,106 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:50:39,003 - INFO - taking picture
MAIN: 2025-05-19 10:50:39,004 - INFO - we take 521 photos in this while loop
MAIN: 2025-05-19 10:50:39,004 - INFO - /home/pi/Desktop/images/19052025/10/50/image_19052025_10_50_38_30768.jpg
MAIN: 2025-05-19 10:50:39,005 - INFO - duration: 1.4810689730002196
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 10:51:08,509 - INFO - taking picture
MAIN: 2025-05-19 10:51:08,510 - INFO - we take 522 photos in this while loop
MAIN: 2025-05-19 10:51:08,510 - INFO - /home/pi/Desktop/images/19052025/10/50/image_19052025_10_51_07_29451.jpg
MAIN: 2025-05-19 10:51:08,511 - INFO - duration: 1.535971747001895
MAIN: 2025-05-19 10:51:08,512 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/51'
MAIN: 2025-05-19 10:51:08,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:51:38,561 - INFO - taking picture
MAIN: 2025-05-19 10:51:38,562 - INFO - we take 523 photos in this while loop
MAIN: 2025-05-19 10:51:38,563 - INFO - /home/pi/Desktop/images/19052025/10/51/image_19052025_10_51_37_30080.jpg
MAIN: 2025-05-19 10:51:38,563 - INFO - duration: 1.507978521000041
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 10:52:08,939 - INFO - taking picture
MAIN: 2025-05-19 10:52:08,940 - INFO - we take 524 photos in this while loop
MAIN: 2025-05-19 10:52:08,941 - INFO - /home/pi/Desktop/images/19052025/10/51/image_19052025_10_52_07_29609.jpg
MAIN: 2025-05-19 10:52:08,941 - INFO - duration: 2.276659359002224
MAIN: 2025-05-19 10:52:08,943 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/52'
MAIN: 2025-05-19 10:52:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:52:39,006 - INFO - taking picture
MAIN: 2025-05-19 10:52:39,008 - INFO - we take 525 photos in this while loop
MAIN: 2025-05-19 10:52:39,008 - INFO - /home/pi/Desktop/images/19052025/10/52/image_19052025_10_52_38_30798.jpg
MAIN: 2025-05-19 10:52:39,008 - INFO - duration: 1.5452370839993819
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:53:08,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-05-19 10:53:08,584 - INFO - taking picture
MAIN: 2025-05-19 10:53:08,586 - INFO - we take 526 photos in this while loop
MAIN: 2025-05-19 10:53:08,586 - INFO - /home/pi/Desktop/images/19052025/10/52/image_19052025_10_53_07_29522.jpg
MAIN: 2025-05-19 10:53:08,586 - INFO - duration: 1.600875432999601
MAIN: 2025-05-19 10:53:08,587 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/53'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:53:38,766 - INFO - taking picture
MAIN: 2025-05-19 10:53:38,767 - INFO - we take 527 photos in this while loop
MAIN: 2025-05-19 10:53:38,767 - INFO - /home/pi/Desktop/images/19052025/10/53/image_19052025_10_53_37_30275.jpg
MAIN: 2025-05-19 10:53:38,768 - INFO - duration: 1.507272478997038
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 10:54:08,824 - INFO - taking picture
MAIN: 2025-05-19 10:54:08,825 - INFO - we take 528 photos in this while loop
MAIN: 2025-05-19 10:54:08,826 - INFO - /home/pi/Desktop/images/19052025/10/53/image_19052025_10_54_07_29634.jpg
MAIN: 2025-05-19 10:54:08,828 - INFO - duration: 1.9328786810001475
MAIN: 2025-05-19 10:54:08,829 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/54'
MAIN: 2025-05-19 10:54:09,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:54:38,933 - INFO - taking picture
MAIN: 2025-05-19 10:54:38,934 - INFO - we take 529 photos in this while loop
MAIN: 2025-05-19 10:54:38,935 - INFO - /home/pi/Desktop/images/19052025/10/54/image_19052025_10_54_38_30532.jpg
MAIN: 2025-05-19 10:54:38,935 - INFO - duration: 1.508231892999902
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 10:55:09,109 - INFO - taking picture
MAIN: 2025-05-19 10:55:09,110 - INFO - we take 530 photos in this while loop
MAIN: 2025-05-19 10:55:09,111 - INFO - /home/pi/Desktop/images/19052025/10/54/image_19052025_10_55_07_29638.jpg
MAIN: 2025-05-19 10:55:09,111 - INFO - duration: 2.0458562489984615
MAIN: 2025-05-19 10:55:09,113 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/55'
MAIN: 2025-05-19 10:55:09,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:55:38,945 - INFO - taking picture
MAIN: 2025-05-19 10:55:38,946 - INFO - we take 531 photos in this while loop
MAIN: 2025-05-19 10:55:38,946 - INFO - /home/pi/Desktop/images/19052025/10/55/image_19052025_10_55_38_30397.jpg
MAIN: 2025-05-19 10:55:38,946 - INFO - duration: 1.4836947539988614
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:56:09,044 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 10:56:09,130 - INFO - taking picture
MAIN: 2025-05-19 10:56:09,131 - INFO - we take 532 photos in this while loop
MAIN: 2025-05-19 10:56:09,132 - INFO - /home/pi/Desktop/images/19052025/10/55/image_19052025_10_56_08_30028.jpg
MAIN: 2025-05-19 10:56:09,133 - INFO - duration: 1.6411134070003754
MAIN: 2025-05-19 10:56:09,134 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/56'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:56:37,832 - INFO - taking picture
MAIN: 2025-05-19 10:56:37,833 - INFO - we take 533 photos in this while loop
MAIN: 2025-05-19 10:56:37,833 - INFO - /home/pi/Desktop/images/19052025/10/56/image_19052025_10_56_36_28806.jpg
MAIN: 2025-05-19 10:56:37,834 - INFO - duration: 1.5353966250004305
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:57:08,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 ! 
MAIN: 2025-05-19 10:57:09,005 - INFO - taking picture
MAIN: 2025-05-19 10:57:09,006 - INFO - we take 534 photos in this while loop
MAIN: 2025-05-19 10:57:09,006 - INFO - /home/pi/Desktop/images/19052025/10/56/image_19052025_10_57_08_31100.jpg
MAIN: 2025-05-19 10:57:09,007 - INFO - duration: 1.6076823700022942
MAIN: 2025-05-19 10:57:09,008 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/57'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:57:38,994 - INFO - taking picture
MAIN: 2025-05-19 10:57:38,995 - INFO - we take 535 photos in this while loop
MAIN: 2025-05-19 10:57:38,995 - INFO - /home/pi/Desktop/images/19052025/10/57/image_19052025_10_57_38_30090.jpg
MAIN: 2025-05-19 10:57:38,996 - INFO - duration: 1.5057824670002447
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 10:58:09,288 - INFO - taking picture
MAIN: 2025-05-19 10:58:09,289 - INFO - we take 536 photos in this while loop
MAIN: 2025-05-19 10:58:09,289 - INFO - /home/pi/Desktop/images/19052025/10/57/image_19052025_10_58_08_29867.jpg
MAIN: 2025-05-19 10:58:09,290 - INFO - duration: 1.933218570000463
MAIN: 2025-05-19 10:58:09,291 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/58'
MAIN: 2025-05-19 10:58:09,780 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:58:37,735 - INFO - taking picture
MAIN: 2025-05-19 10:58:37,737 - INFO - we take 537 photos in this while loop
MAIN: 2025-05-19 10:58:37,737 - INFO - /home/pi/Desktop/images/19052025/10/58/image_19052025_10_58_36_28904.jpg
MAIN: 2025-05-19 10:58:37,737 - INFO - duration: 1.4763203500006057
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 10:59:08,553 - INFO - taking picture
MAIN: 2025-05-19 10:59:08,554 - INFO - we take 538 photos in this while loop
MAIN: 2025-05-19 10:59:08,555 - INFO - /home/pi/Desktop/images/19052025/10/58/image_19052025_10_59_07_30728.jpg
MAIN: 2025-05-19 10:59:08,555 - INFO - duration: 1.5657636459982314
MAIN: 2025-05-19 10:59:08,556 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/10/59'
MAIN: 2025-05-19 10:59:08,647 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 10:59:38,515 - INFO - taking picture
MAIN: 2025-05-19 10:59:38,516 - INFO - we take 539 photos in this while loop
MAIN: 2025-05-19 10:59:38,516 - INFO - /home/pi/Desktop/images/19052025/10/59/image_19052025_10_59_37_30050.jpg
MAIN: 2025-05-19 10:59:38,516 - INFO - duration: 1.4760444270032167
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:00:08,679 - INFO - taking picture
MAIN: 2025-05-19 11:00:08,681 - INFO - we take 540 photos in this while loop
MAIN: 2025-05-19 11:00:08,681 - INFO - /home/pi/Desktop/images/19052025/10/59/image_19052025_11_00_07_29554.jpg
MAIN: 2025-05-19 11:00:08,682 - INFO - duration: 2.087125942998682
MAIN: 2025-05-19 11:00:08,683 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/00'
MAIN: 2025-05-19 11:00:09,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:00:38,698 - INFO - taking picture
MAIN: 2025-05-19 11:00:38,699 - INFO - we take 541 photos in this while loop
MAIN: 2025-05-19 11:00:38,699 - INFO - /home/pi/Desktop/images/19052025/11/00/image_19052025_11_00_37_30592.jpg
MAIN: 2025-05-19 11:00:38,700 - INFO - duration: 1.5127410019995295
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:01:08,283 - INFO - taking picture
MAIN: 2025-05-19 11:01:08,284 - INFO - we take 542 photos in this while loop
MAIN: 2025-05-19 11:01:08,285 - INFO - /home/pi/Desktop/images/19052025/11/00/image_19052025_11_01_07_29191.jpg
MAIN: 2025-05-19 11:01:08,285 - INFO - duration: 1.9066925070001162
MAIN: 2025-05-19 11:01:08,286 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/01'
MAIN: 2025-05-19 11:01:09,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:01:38,230 - INFO - taking picture
MAIN: 2025-05-19 11:01:38,231 - INFO - we take 543 photos in this while loop
MAIN: 2025-05-19 11:01:38,232 - INFO - /home/pi/Desktop/images/19052025/11/01/image_19052025_11_01_37_30375.jpg
MAIN: 2025-05-19 11:01:38,232 - INFO - duration: 1.478489315002662
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:02:08,108 - INFO - taking picture
MAIN: 2025-05-19 11:02:08,110 - INFO - we take 544 photos in this while loop
MAIN: 2025-05-19 11:02:08,111 - INFO - /home/pi/Desktop/images/19052025/11/01/image_19052025_11_02_07_29611.jpg
MAIN: 2025-05-19 11:02:08,111 - INFO - duration: 1.746473192000849
MAIN: 2025-05-19 11:02:08,113 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/02'
MAIN: 2025-05-19 11:02:08,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:02:38,269 - INFO - taking picture
MAIN: 2025-05-19 11:02:38,270 - INFO - we take 545 photos in this while loop
MAIN: 2025-05-19 11:02:38,270 - INFO - /home/pi/Desktop/images/19052025/11/02/image_19052025_11_02_37_30399.jpg
MAIN: 2025-05-19 11:02:38,271 - INFO - duration: 1.5065651680015435
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 11:03:08,347 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:03:09,266 - INFO - taking picture
MAIN: 2025-05-19 11:03:09,267 - INFO - we take 546 photos in this while loop
MAIN: 2025-05-19 11:03:09,267 - INFO - /home/pi/Desktop/images/19052025/11/02/image_19052025_11_03_08_31014.jpg
MAIN: 2025-05-19 11:03:09,268 - INFO - duration: 1.489279745001113
MAIN: 2025-05-19 11:03:09,269 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/03'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:03:37,614 - INFO - taking picture
MAIN: 2025-05-19 11:03:37,615 - INFO - we take 547 photos in this while loop
MAIN: 2025-05-19 11:03:37,615 - INFO - /home/pi/Desktop/images/19052025/11/03/image_19052025_11_03_36_28362.jpg
MAIN: 2025-05-19 11:03:37,616 - INFO - duration: 1.4754240610018314
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:04:08,960 - INFO - taking picture
MAIN: 2025-05-19 11:04:08,961 - INFO - we take 548 photos in this while loop
MAIN: 2025-05-19 11:04:08,961 - INFO - /home/pi/Desktop/images/19052025/11/03/image_19052025_11_04_07_30744.jpg
MAIN: 2025-05-19 11:04:08,962 - INFO - duration: 2.076980124998954
MAIN: 2025-05-19 11:04:08,963 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/04'
MAIN: 2025-05-19 11:04:09,613 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:04:39,035 - INFO - taking picture
MAIN: 2025-05-19 11:04:39,036 - INFO - we take 549 photos in this while loop
MAIN: 2025-05-19 11:04:39,037 - INFO - /home/pi/Desktop/images/19052025/11/04/image_19052025_11_04_38_30648.jpg
MAIN: 2025-05-19 11:04:39,037 - INFO - duration: 1.503554658000212
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:05:09,292 - INFO - taking picture
MAIN: 2025-05-19 11:05:09,293 - INFO - we take 550 photos in this while loop
MAIN: 2025-05-19 11:05:09,294 - INFO - /home/pi/Desktop/images/19052025/11/04/image_19052025_11_05_07_29526.jpg
MAIN: 2025-05-19 11:05:09,295 - INFO - duration: 2.2352869790011027
MAIN: 2025-05-19 11:05:09,370 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/05'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 11:05:10,437 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:05:37,901 - INFO - taking picture
MAIN: 2025-05-19 11:05:37,902 - INFO - we take 551 photos in this while loop
MAIN: 2025-05-19 11:05:37,902 - INFO - /home/pi/Desktop/images/19052025/11/05/image_19052025_11_05_36_29337.jpg
MAIN: 2025-05-19 11:05:37,903 - INFO - duration: 1.5047881810023682
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:06:08,844 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 11:06:09,555 - INFO - taking picture
MAIN: 2025-05-19 11:06:09,556 - INFO - we take 552 photos in this while loop
MAIN: 2025-05-19 11:06:09,557 - INFO - /home/pi/Desktop/images/19052025/11/05/image_19052025_11_06_08_31479.jpg
MAIN: 2025-05-19 11:06:09,557 - INFO - duration: 1.6799725969976862
MAIN: 2025-05-19 11:06:09,558 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:06:37,903 - INFO - taking picture
MAIN: 2025-05-19 11:06:37,904 - INFO - we take 553 photos in this while loop
MAIN: 2025-05-19 11:06:37,905 - INFO - /home/pi/Desktop/images/19052025/11/06/image_19052025_11_06_36_28541.jpg
MAIN: 2025-05-19 11:06:37,905 - INFO - duration: 1.4864857229986228
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:07:08,894 - INFO - taking picture
MAIN: 2025-05-19 11:07:08,895 - INFO - we take 554 photos in this while loop
MAIN: 2025-05-19 11:07:08,895 - INFO - /home/pi/Desktop/images/19052025/11/06/image_19052025_11_07_07_30790.jpg
MAIN: 2025-05-19 11:07:08,896 - INFO - duration: 1.6871883070016338
MAIN: 2025-05-19 11:07:08,897 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/07'
MAIN: 2025-05-19 11:07:09,016 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:07:38,992 - INFO - taking picture
MAIN: 2025-05-19 11:07:38,993 - INFO - we take 555 photos in this while loop
MAIN: 2025-05-19 11:07:38,994 - INFO - /home/pi/Desktop/images/19052025/11/07/image_19052025_11_07_38_30281.jpg
MAIN: 2025-05-19 11:07:38,995 - INFO - duration: 1.504817474000447
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:08:08,808 - INFO - taking picture
MAIN: 2025-05-19 11:08:08,809 - INFO - we take 556 photos in this while loop
MAIN: 2025-05-19 11:08:08,810 - INFO - /home/pi/Desktop/images/19052025/11/07/image_19052025_11_08_07_29575.jpg
MAIN: 2025-05-19 11:08:08,810 - INFO - duration: 1.7453203039985965
MAIN: 2025-05-19 11:08:08,811 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/08'
MAIN: 2025-05-19 11:08:08,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:08:38,798 - INFO - taking picture
MAIN: 2025-05-19 11:08:38,799 - INFO - we take 557 photos in this while loop
MAIN: 2025-05-19 11:08:38,799 - INFO - /home/pi/Desktop/images/19052025/11/08/image_19052025_11_08_37_30227.jpg
MAIN: 2025-05-19 11:08:38,800 - INFO - duration: 1.5069811579996895
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:09:08,239 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 11:09:08,699 - INFO - taking picture
MAIN: 2025-05-19 11:09:08,700 - INFO - we take 558 photos in this while loop
MAIN: 2025-05-19 11:09:08,700 - INFO - /home/pi/Desktop/images/19052025/11/08/image_19052025_11_09_07_29849.jpg
MAIN: 2025-05-19 11:09:08,701 - INFO - duration: 1.558264990002499
MAIN: 2025-05-19 11:09:08,702 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:09:38,742 - INFO - taking picture
MAIN: 2025-05-19 11:09:38,743 - INFO - we take 559 photos in this while loop
MAIN: 2025-05-19 11:09:38,744 - INFO - /home/pi/Desktop/images/19052025/11/09/image_19052025_11_09_37_30098.jpg
MAIN: 2025-05-19 11:09:38,744 - INFO - duration: 1.5031802109988348
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:10:09,752 - INFO - taking picture
MAIN: 2025-05-19 11:10:09,753 - INFO - we take 560 photos in this while loop
MAIN: 2025-05-19 11:10:09,754 - INFO - /home/pi/Desktop/images/19052025/11/09/image_19052025_11_10_08_30454.jpg
MAIN: 2025-05-19 11:10:09,756 - INFO - duration: 2.060853605999
MAIN: 2025-05-19 11:10:09,758 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/10'
MAIN: 2025-05-19 11:10:10,163 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:10:38,205 - INFO - taking picture
MAIN: 2025-05-19 11:10:38,206 - INFO - we take 561 photos in this while loop
MAIN: 2025-05-19 11:10:38,206 - INFO - /home/pi/Desktop/images/19052025/11/10/image_19052025_11_10_37_29036.jpg
MAIN: 2025-05-19 11:10:38,207 - INFO - duration: 1.4748230240002158
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:11:08,736 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 11:11:09,429 - INFO - taking picture
MAIN: 2025-05-19 11:11:09,430 - INFO - we take 562 photos in this while loop
MAIN: 2025-05-19 11:11:09,430 - INFO - /home/pi/Desktop/images/19052025/11/10/image_19052025_11_11_08_31110.jpg
MAIN: 2025-05-19 11:11:09,431 - INFO - duration: 1.5879735510025057
MAIN: 2025-05-19 11:11:09,431 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/11'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:11:37,758 - INFO - taking picture
MAIN: 2025-05-19 11:11:37,759 - INFO - we take 563 photos in this while loop
MAIN: 2025-05-19 11:11:37,760 - INFO - /home/pi/Desktop/images/19052025/11/11/image_19052025_11_11_36_28443.jpg
MAIN: 2025-05-19 11:11:37,760 - INFO - duration: 1.47382431799997
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:12:08,815 - INFO - taking picture
MAIN: 2025-05-19 11:12:08,815 - INFO - cam.read() return no image
MAIN: 2025-05-19 11:12:08,816 - INFO - we take 564 photos in this while loop
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 11:12:08,816 - INFO - /home/pi/Desktop/images/19052025/11/11/image_19052025_11_12_07_30961.jpg
MAIN: 2025-05-19 11:12:08,817 - INFO - duration: 1.5686482900018746
MAIN: 2025-05-19 11:12:08,817 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/12'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:12:38,733 - INFO - taking picture
MAIN: 2025-05-19 11:12:38,734 - INFO - we take 565 photos in this while loop
MAIN: 2025-05-19 11:12:38,734 - INFO - /home/pi/Desktop/images/19052025/11/12/image_19052025_11_12_37_29986.jpg
MAIN: 2025-05-19 11:12:38,735 - INFO - duration: 1.5005303939979058
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:13:08,117 - INFO - taking picture
MAIN: 2025-05-19 11:13:08,118 - INFO - we take 566 photos in this while loop
MAIN: 2025-05-19 11:13:08,118 - INFO - /home/pi/Desktop/images/19052025/11/12/image_19052025_11_13_07_29291.jpg
MAIN: 2025-05-19 11:13:08,119 - INFO - duration: 1.5928057730016008
MAIN: 2025-05-19 11:13:08,119 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/13'
MAIN: 2025-05-19 11:13:08,390 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:13:37,982 - INFO - taking picture
MAIN: 2025-05-19 11:13:37,983 - INFO - we take 567 photos in this while loop
MAIN: 2025-05-19 11:13:37,984 - INFO - /home/pi/Desktop/images/19052025/11/13/image_19052025_11_13_37_29972.jpg
MAIN: 2025-05-19 11:13:37,984 - INFO - duration: 1.485913413001981
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:14:09,309 - INFO - taking picture
MAIN: 2025-05-19 11:14:09,311 - INFO - we take 568 photos in this while loop
MAIN: 2025-05-19 11:14:09,311 - INFO - /home/pi/Desktop/images/19052025/11/13/image_19052025_11_14_08_31042.jpg
MAIN: 2025-05-19 11:14:09,311 - INFO - duration: 1.7711478359997272
MAIN: 2025-05-19 11:14:09,312 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/14'
MAIN: 2025-05-19 11:14:09,674 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:14:37,677 - INFO - taking picture
MAIN: 2025-05-19 11:14:37,678 - INFO - we take 569 photos in this while loop
MAIN: 2025-05-19 11:14:37,678 - INFO - /home/pi/Desktop/images/19052025/11/14/image_19052025_11_14_36_28636.jpg
MAIN: 2025-05-19 11:14:37,679 - INFO - duration: 1.5016476199998579
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:15:09,095 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 11:15:09,118 - INFO - taking picture
MAIN: 2025-05-19 11:15:09,120 - INFO - we take 570 photos in this while loop
MAIN: 2025-05-19 11:15:09,120 - INFO - /home/pi/Desktop/images/19052025/11/14/image_19052025_11_15_08_31168.jpg
MAIN: 2025-05-19 11:15:09,121 - INFO - duration: 1.7752301190012076
MAIN: 2025-05-19 11:15:09,122 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/15'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:15:38,951 - INFO - taking picture
MAIN: 2025-05-19 11:15:38,952 - INFO - we take 571 photos in this while loop
MAIN: 2025-05-19 11:15:38,953 - INFO - /home/pi/Desktop/images/19052025/11/15/image_19052025_11_15_38_30135.jpg
MAIN: 2025-05-19 11:15:38,953 - INFO - duration: 1.4724048120006046
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:16:08,920 - INFO - taking picture
MAIN: 2025-05-19 11:16:08,921 - INFO - we take 572 photos in this while loop
MAIN: 2025-05-19 11:16:08,922 - INFO - /home/pi/Desktop/images/19052025/11/15/image_19052025_11_16_07_29516.jpg
MAIN: 2025-05-19 11:16:08,922 - INFO - duration: 1.925230107997777
MAIN: 2025-05-19 11:16:08,923 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/16'
MAIN: 2025-05-19 11:16:09,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:16:38,761 - INFO - taking picture
MAIN: 2025-05-19 11:16:38,762 - INFO - we take 573 photos in this while loop
MAIN: 2025-05-19 11:16:38,763 - INFO - /home/pi/Desktop/images/19052025/11/16/image_19052025_11_16_37_30292.jpg
MAIN: 2025-05-19 11:16:38,763 - INFO - duration: 1.4734176199999638
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:17:08,062 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 11:17:08,233 - INFO - taking picture
MAIN: 2025-05-19 11:17:08,235 - INFO - we take 574 photos in this while loop
MAIN: 2025-05-19 11:17:08,236 - INFO - /home/pi/Desktop/images/19052025/11/16/image_19052025_11_17_07_29145.jpg
MAIN: 2025-05-19 11:17:08,236 - INFO - duration: 1.800861450999946
MAIN: 2025-05-19 11:17:08,238 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/17'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:17:38,197 - INFO - taking picture
MAIN: 2025-05-19 11:17:38,198 - INFO - we take 575 photos in this while loop
MAIN: 2025-05-19 11:17:38,198 - INFO - /home/pi/Desktop/images/19052025/11/17/image_19052025_11_17_37_30293.jpg
MAIN: 2025-05-19 11:17:38,199 - INFO - duration: 1.4700627729980624
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:18:08,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 ! 
MAIN: 2025-05-19 11:18:09,338 - INFO - taking picture
MAIN: 2025-05-19 11:18:09,339 - INFO - we take 576 photos in this while loop
MAIN: 2025-05-19 11:18:09,340 - INFO - /home/pi/Desktop/images/19052025/11/17/image_19052025_11_18_08_30968.jpg
MAIN: 2025-05-19 11:18:09,340 - INFO - duration: 1.6431214030017145
MAIN: 2025-05-19 11:18:09,341 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/18'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:18:37,866 - INFO - taking picture
MAIN: 2025-05-19 11:18:37,867 - INFO - we take 577 photos in this while loop
MAIN: 2025-05-19 11:18:37,867 - INFO - /home/pi/Desktop/images/19052025/11/18/image_19052025_11_18_36_28687.jpg
MAIN: 2025-05-19 11:18:37,868 - INFO - duration: 1.4831267740009935
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:19:08,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 ! 
MAIN: 2025-05-19 11:19:09,133 - INFO - taking picture
MAIN: 2025-05-19 11:19:09,135 - INFO - we take 578 photos in this while loop
MAIN: 2025-05-19 11:19:09,135 - INFO - /home/pi/Desktop/images/19052025/11/18/image_19052025_11_19_08_31178.jpg
MAIN: 2025-05-19 11:19:09,135 - INFO - duration: 1.572203248997539
MAIN: 2025-05-19 11:19:09,136 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/19'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:19:37,669 - INFO - taking picture
MAIN: 2025-05-19 11:19:37,670 - INFO - we take 579 photos in this while loop
MAIN: 2025-05-19 11:19:37,671 - INFO - /home/pi/Desktop/images/19052025/11/19/image_19052025_11_19_36_28596.jpg
MAIN: 2025-05-19 11:19:37,671 - INFO - duration: 1.5111875940019672
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:20:10,547 - INFO - taking picture
MAIN: 2025-05-19 11:20:10,548 - INFO - we take 580 photos in this while loop
MAIN: 2025-05-19 11:20:10,549 - INFO - /home/pi/Desktop/images/19052025/11/19/image_19052025_11_20_09_31930.jpg
MAIN: 2025-05-19 11:20:10,549 - INFO - duration: 2.458348140000453
MAIN: 2025-05-19 11:20:10,550 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/20'
MAIN: 2025-05-19 11:20:10,728 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:20:39,019 - INFO - taking picture
MAIN: 2025-05-19 11:20:39,020 - INFO - we take 581 photos in this while loop
MAIN: 2025-05-19 11:20:39,020 - INFO - /home/pi/Desktop/images/19052025/11/20/image_19052025_11_20_38_29442.jpg
MAIN: 2025-05-19 11:20:39,021 - INFO - duration: 1.48717104899697
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:21:07,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 ! 
MAIN: 2025-05-19 11:21:08,555 - INFO - taking picture
MAIN: 2025-05-19 11:21:08,556 - INFO - we take 582 photos in this while loop
MAIN: 2025-05-19 11:21:08,557 - INFO - /home/pi/Desktop/images/19052025/11/20/image_19052025_11_21_07_29428.jpg
MAIN: 2025-05-19 11:21:08,557 - INFO - duration: 1.5952163449983345
MAIN: 2025-05-19 11:21:08,558 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/21'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:21:38,575 - INFO - taking picture
MAIN: 2025-05-19 11:21:38,577 - INFO - we take 583 photos in this while loop
MAIN: 2025-05-19 11:21:38,577 - INFO - /home/pi/Desktop/images/19052025/11/21/image_19052025_11_21_37_30135.jpg
MAIN: 2025-05-19 11:21:38,577 - INFO - duration: 1.4800867970006948
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:22:08,522 - INFO - taking picture
MAIN: 2025-05-19 11:22:08,523 - INFO - we take 584 photos in this while loop
MAIN: 2025-05-19 11:22:08,525 - INFO - /home/pi/Desktop/images/19052025/11/21/image_19052025_11_22_07_29447.jpg
MAIN: 2025-05-19 11:22:08,525 - INFO - duration: 1.9805892259973916
MAIN: 2025-05-19 11:22:08,526 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/22'
MAIN: 2025-05-19 11:22:08,680 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:22:38,427 - INFO - taking picture
MAIN: 2025-05-19 11:22:38,428 - INFO - we take 585 photos in this while loop
MAIN: 2025-05-19 11:22:38,428 - INFO - /home/pi/Desktop/images/19052025/11/22/image_19052025_11_22_37_30414.jpg
MAIN: 2025-05-19 11:22:38,429 - INFO - duration: 1.4696218809986021
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:23:08,810 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 11:23:09,243 - INFO - taking picture
MAIN: 2025-05-19 11:23:09,244 - INFO - we take 586 photos in this while loop
MAIN: 2025-05-19 11:23:09,244 - INFO - /home/pi/Desktop/images/19052025/11/22/image_19052025_11_23_08_30729.jpg
MAIN: 2025-05-19 11:23:09,245 - INFO - duration: 1.5564697699992394
MAIN: 2025-05-19 11:23:09,245 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:23:37,711 - INFO - taking picture
MAIN: 2025-05-19 11:23:37,712 - INFO - we take 587 photos in this while loop
MAIN: 2025-05-19 11:23:37,713 - INFO - /home/pi/Desktop/images/19052025/11/23/image_19052025_11_23_36_28502.jpg
MAIN: 2025-05-19 11:23:37,713 - INFO - duration: 1.5228789259999758
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:24:09,268 - INFO - taking picture
MAIN: 2025-05-19 11:24:09,270 - INFO - we take 588 photos in this while loop
MAIN: 2025-05-19 11:24:09,271 - INFO - /home/pi/Desktop/images/19052025/11/23/image_19052025_11_24_08_31264.jpg
MAIN: 2025-05-19 11:24:09,271 - INFO - duration: 1.8162176990008447
MAIN: 2025-05-19 11:24:09,272 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/24'
MAIN: 2025-05-19 11:24:09,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:24:37,803 - INFO - taking picture
MAIN: 2025-05-19 11:24:37,804 - INFO - we take 589 photos in this while loop
MAIN: 2025-05-19 11:24:37,805 - INFO - /home/pi/Desktop/images/19052025/11/24/image_19052025_11_24_36_28850.jpg
MAIN: 2025-05-19 11:24:37,805 - INFO - duration: 1.4995671569995466
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:25:09,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 ! 
MAIN: 2025-05-19 11:25:09,431 - INFO - taking picture
MAIN: 2025-05-19 11:25:09,432 - INFO - we take 590 photos in this while loop
MAIN: 2025-05-19 11:25:09,433 - INFO - /home/pi/Desktop/images/19052025/11/24/image_19052025_11_25_08_31540.jpg
MAIN: 2025-05-19 11:25:09,433 - INFO - duration: 1.5868584819982061
MAIN: 2025-05-19 11:25:09,434 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:25:37,750 - INFO - taking picture
MAIN: 2025-05-19 11:25:37,751 - INFO - we take 591 photos in this while loop
MAIN: 2025-05-19 11:25:37,751 - INFO - /home/pi/Desktop/images/19052025/11/25/image_19052025_11_25_36_28436.jpg
MAIN: 2025-05-19 11:25:37,752 - INFO - duration: 1.469137951000448
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:26:09,208 - INFO - taking picture
MAIN: 2025-05-19 11:26:09,209 - INFO - we take 592 photos in this while loop
MAIN: 2025-05-19 11:26:09,210 - INFO - /home/pi/Desktop/images/19052025/11/25/image_19052025_11_26_08_31098.jpg
MAIN: 2025-05-19 11:26:09,211 - INFO - duration: 1.8297027529988554
MAIN: 2025-05-19 11:26:09,212 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/26'
MAIN: 2025-05-19 11:26:09,499 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:26:37,718 - INFO - taking picture
MAIN: 2025-05-19 11:26:37,719 - INFO - we take 593 photos in this while loop
MAIN: 2025-05-19 11:26:37,719 - INFO - /home/pi/Desktop/images/19052025/11/26/image_19052025_11_26_36_28841.jpg
MAIN: 2025-05-19 11:26:37,720 - INFO - duration: 1.4976773069975025
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:27:08,363 - INFO - taking picture
MAIN: 2025-05-19 11:27:08,365 - INFO - we take 594 photos in this while loop
MAIN: 2025-05-19 11:27:08,365 - INFO - /home/pi/Desktop/images/19052025/11/26/image_19052025_11_27_07_30567.jpg
MAIN: 2025-05-19 11:27:08,365 - INFO - duration: 1.5762930599994434
MAIN: 2025-05-19 11:27:08,366 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/27'
MAIN: 2025-05-19 11:27:08,398 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:27:38,170 - INFO - taking picture
MAIN: 2025-05-19 11:27:38,171 - INFO - we take 595 photos in this while loop
MAIN: 2025-05-19 11:27:38,171 - INFO - /home/pi/Desktop/images/19052025/11/27/image_19052025_11_27_37_29893.jpg
MAIN: 2025-05-19 11:27:38,172 - INFO - duration: 1.489188957002625
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:28:08,085 - INFO - taking picture
MAIN: 2025-05-19 11:28:08,087 - INFO - we take 596 photos in this while loop
MAIN: 2025-05-19 11:28:08,088 - INFO - /home/pi/Desktop/images/19052025/11/27/image_19052025_11_28_06_29442.jpg
MAIN: 2025-05-19 11:28:08,089 - INFO - duration: 1.9635123349980859
MAIN: 2025-05-19 11:28:08,090 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/28'
MAIN: 2025-05-19 11:28:09,049 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:28:37,980 - INFO - taking picture
MAIN: 2025-05-19 11:28:37,981 - INFO - we take 597 photos in this while loop
MAIN: 2025-05-19 11:28:37,981 - INFO - /home/pi/Desktop/images/19052025/11/28/image_19052025_11_28_37_30366.jpg
MAIN: 2025-05-19 11:28:37,982 - INFO - duration: 1.490803220000089
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:29:09,237 - INFO - taking picture
MAIN: 2025-05-19 11:29:09,238 - INFO - we take 598 photos in this while loop
MAIN: 2025-05-19 11:29:09,239 - INFO - /home/pi/Desktop/images/19052025/11/28/image_19052025_11_29_08_31029.jpg
MAIN: 2025-05-19 11:29:09,239 - INFO - duration: 1.7186128290013585
MAIN: 2025-05-19 11:29:09,240 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/29'
MAIN: 2025-05-19 11:29:09,713 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:29:37,729 - INFO - taking picture
MAIN: 2025-05-19 11:29:37,730 - INFO - we take 599 photos in this while loop
MAIN: 2025-05-19 11:29:37,730 - INFO - /home/pi/Desktop/images/19052025/11/29/image_19052025_11_29_36_28672.jpg
MAIN: 2025-05-19 11:29:37,731 - INFO - duration: 1.5373293129996455
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:30:10,032 - INFO - taking picture
MAIN: 2025-05-19 11:30:10,035 - INFO - we take 600 photos in this while loop
MAIN: 2025-05-19 11:30:10,036 - INFO - /home/pi/Desktop/images/19052025/11/29/image_19052025_11_30_08_31862.jpg
MAIN: 2025-05-19 11:30:10,036 - INFO - duration: 1.9806825570012734
MAIN: 2025-05-19 11:30:10,037 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/30'
MAIN: 2025-05-19 11:30:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:30:38,458 - INFO - taking picture
MAIN: 2025-05-19 11:30:38,459 - INFO - we take 601 photos in this while loop
MAIN: 2025-05-19 11:30:38,459 - INFO - /home/pi/Desktop/images/19052025/11/30/image_19052025_11_30_37_28931.jpg
MAIN: 2025-05-19 11:30:38,459 - INFO - duration: 1.4728712449978048
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:31:08,129 - INFO - taking picture
MAIN: 2025-05-19 11:31:08,130 - INFO - we take 602 photos in this while loop
MAIN: 2025-05-19 11:31:08,131 - INFO - /home/pi/Desktop/images/19052025/11/30/image_19052025_11_31_06_29218.jpg
MAIN: 2025-05-19 11:31:08,131 - INFO - duration: 1.925783386999683
MAIN: 2025-05-19 11:31:08,361 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/31'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 11:31:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:31:37,963 - INFO - taking picture
MAIN: 2025-05-19 11:31:37,964 - INFO - we take 603 photos in this while loop
MAIN: 2025-05-19 11:31:37,964 - INFO - /home/pi/Desktop/images/19052025/11/31/image_19052025_11_31_37_30292.jpg
MAIN: 2025-05-19 11:31:37,965 - INFO - duration: 1.467086360000394
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:32:09,035 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 11:32:09,037 - INFO - taking picture
MAIN: 2025-05-19 11:32:09,038 - INFO - we take 604 photos in this while loop
MAIN: 2025-05-19 11:32:09,039 - INFO - /home/pi/Desktop/images/19052025/11/31/image_19052025_11_32_08_30742.jpg
MAIN: 2025-05-19 11:32:09,039 - INFO - duration: 1.7992420429982303
MAIN: 2025-05-19 11:32:09,040 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/32'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:32:38,999 - INFO - taking picture
MAIN: 2025-05-19 11:32:39,000 - INFO - we take 605 photos in this while loop
MAIN: 2025-05-19 11:32:39,001 - INFO - /home/pi/Desktop/images/19052025/11/32/image_19052025_11_32_38_30261.jpg
MAIN: 2025-05-19 11:32:39,001 - INFO - duration: 1.499901631999819
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:33:08,322 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 11:33:08,415 - INFO - taking picture
MAIN: 2025-05-19 11:33:08,416 - INFO - we take 606 photos in this while loop
MAIN: 2025-05-19 11:33:08,417 - INFO - /home/pi/Desktop/images/19052025/11/32/image_19052025_11_33_07_29168.jpg
MAIN: 2025-05-19 11:33:08,418 - INFO - duration: 1.7477591409988236
MAIN: 2025-05-19 11:33:08,419 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/33'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:33:38,414 - INFO - taking picture
MAIN: 2025-05-19 11:33:38,415 - INFO - we take 607 photos in this while loop
MAIN: 2025-05-19 11:33:38,415 - INFO - /home/pi/Desktop/images/19052025/11/33/image_19052025_11_33_37_30237.jpg
MAIN: 2025-05-19 11:33:38,416 - INFO - duration: 1.5083315980009502
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:34:08,884 - INFO - taking picture
MAIN: 2025-05-19 11:34:08,885 - INFO - we take 608 photos in this while loop
MAIN: 2025-05-19 11:34:08,886 - INFO - /home/pi/Desktop/images/19052025/11/33/image_19052025_11_34_07_29557.jpg
MAIN: 2025-05-19 11:34:08,886 - INFO - duration: 2.42120141599662
MAIN: 2025-05-19 11:34:08,887 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/34'
MAIN: 2025-05-19 11:34:08,961 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:34:38,673 - INFO - taking picture
MAIN: 2025-05-19 11:34:38,675 - INFO - we take 609 photos in this while loop
MAIN: 2025-05-19 11:34:38,675 - INFO - /home/pi/Desktop/images/19052025/11/34/image_19052025_11_34_37_30737.jpg
MAIN: 2025-05-19 11:34:38,676 - INFO - duration: 1.473433813000156
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:35:08,504 - INFO - taking picture
MAIN: 2025-05-19 11:35:08,505 - INFO - we take 610 photos in this while loop
MAIN: 2025-05-19 11:35:08,506 - INFO - /home/pi/Desktop/images/19052025/11/34/image_19052025_11_35_07_29193.jpg
MAIN: 2025-05-19 11:35:08,507 - INFO - duration: 2.1106812589969195
MAIN: 2025-05-19 11:35:08,601 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/35'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 11:35:09,659 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:35:38,594 - INFO - taking picture
MAIN: 2025-05-19 11:35:38,595 - INFO - we take 611 photos in this while loop
MAIN: 2025-05-19 11:35:38,595 - INFO - /home/pi/Desktop/images/19052025/11/35/image_19052025_11_35_37_30679.jpg
MAIN: 2025-05-19 11:35:38,596 - INFO - duration: 1.5204814869975962
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:36:08,585 - INFO - taking picture
MAIN: 2025-05-19 11:36:08,586 - INFO - we take 612 photos in this while loop
MAIN: 2025-05-19 11:36:08,587 - INFO - /home/pi/Desktop/images/19052025/11/35/image_19052025_11_36_07_29640.jpg
MAIN: 2025-05-19 11:36:08,587 - INFO - duration: 1.871398086001136
MAIN: 2025-05-19 11:36:08,588 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/36'
MAIN: 2025-05-19 11:36:09,224 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:36:38,372 - INFO - taking picture
MAIN: 2025-05-19 11:36:38,373 - INFO - we take 613 photos in this while loop
MAIN: 2025-05-19 11:36:38,374 - INFO - /home/pi/Desktop/images/19052025/11/36/image_19052025_11_36_37_30197.jpg
MAIN: 2025-05-19 11:36:38,374 - INFO - duration: 1.461036733999208
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:37:09,005 - INFO - taking picture
MAIN: 2025-05-19 11:37:09,006 - INFO - we take 614 photos in this while loop
MAIN: 2025-05-19 11:37:09,006 - INFO - /home/pi/Desktop/images/19052025/11/36/image_19052025_11_37_08_30589.jpg
MAIN: 2025-05-19 11:37:09,007 - INFO - duration: 1.5040599970016046
MAIN: 2025-05-19 11:37:09,008 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/37'
MAIN: 2025-05-19 11:37:09,100 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:37:38,853 - INFO - taking picture
MAIN: 2025-05-19 11:37:38,855 - INFO - we take 615 photos in this while loop
MAIN: 2025-05-19 11:37:38,855 - INFO - /home/pi/Desktop/images/19052025/11/37/image_19052025_11_37_37_29874.jpg
MAIN: 2025-05-19 11:37:38,856 - INFO - duration: 1.47883129299953
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:38:09,098 - INFO - taking picture
MAIN: 2025-05-19 11:38:09,099 - INFO - we take 616 photos in this while loop
MAIN: 2025-05-19 11:38:09,100 - INFO - /home/pi/Desktop/images/19052025/11/37/image_19052025_11_38_07_29555.jpg
MAIN: 2025-05-19 11:38:09,101 - INFO - duration: 2.1680947999993805
MAIN: 2025-05-19 11:38:09,103 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/38'
MAIN: 2025-05-19 11:38:09,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:38:39,075 - INFO - taking picture
MAIN: 2025-05-19 11:38:39,076 - INFO - we take 617 photos in this while loop
MAIN: 2025-05-19 11:38:39,077 - INFO - /home/pi/Desktop/images/19052025/11/38/image_19052025_11_38_38_30636.jpg
MAIN: 2025-05-19 11:38:39,077 - INFO - duration: 1.5077768949995516
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:39:08,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 ! 
MAIN: 2025-05-19 11:39:08,358 - INFO - taking picture
MAIN: 2025-05-19 11:39:08,359 - INFO - we take 618 photos in this while loop
MAIN: 2025-05-19 11:39:08,360 - INFO - /home/pi/Desktop/images/19052025/11/38/image_19052025_11_39_07_29213.jpg
MAIN: 2025-05-19 11:39:08,360 - INFO - duration: 1.5772634860004473
MAIN: 2025-05-19 11:39:08,361 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/39'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:39:38,107 - INFO - taking picture
MAIN: 2025-05-19 11:39:38,108 - INFO - we take 619 photos in this while loop
MAIN: 2025-05-19 11:39:38,109 - INFO - /home/pi/Desktop/images/19052025/11/39/image_19052025_11_39_37_29846.jpg
MAIN: 2025-05-19 11:39:38,109 - INFO - duration: 1.480188810997788
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:40:10,112 - INFO - taking picture
MAIN: 2025-05-19 11:40:10,114 - INFO - we take 620 photos in this while loop
MAIN: 2025-05-19 11:40:10,115 - INFO - /home/pi/Desktop/images/19052025/11/39/image_19052025_11_40_08_31258.jpg
MAIN: 2025-05-19 11:40:10,115 - INFO - duration: 2.227708957001596
MAIN: 2025-05-19 11:40:10,117 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/40'
MAIN: 2025-05-19 11:40:10,152 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:40:38,374 - INFO - taking picture
MAIN: 2025-05-19 11:40:38,375 - INFO - we take 621 photos in this while loop
MAIN: 2025-05-19 11:40:38,376 - INFO - /home/pi/Desktop/images/19052025/11/40/image_19052025_11_40_37_29023.jpg
MAIN: 2025-05-19 11:40:38,376 - INFO - duration: 1.4649830700000166
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:41:08,762 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 11:41:09,336 - INFO - taking picture
MAIN: 2025-05-19 11:41:09,337 - INFO - we take 622 photos in this while loop
MAIN: 2025-05-19 11:41:09,338 - INFO - /home/pi/Desktop/images/19052025/11/40/image_19052025_11_41_08_30920.jpg
MAIN: 2025-05-19 11:41:09,338 - INFO - duration: 1.5065484709994053
MAIN: 2025-05-19 11:41:09,339 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/41'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:41:39,059 - INFO - taking picture
MAIN: 2025-05-19 11:41:39,060 - INFO - we take 623 photos in this while loop
MAIN: 2025-05-19 11:41:39,061 - INFO - /home/pi/Desktop/images/19052025/11/41/image_19052025_11_41_38_29767.jpg
MAIN: 2025-05-19 11:41:39,061 - INFO - duration: 1.462027849000151
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:42:09,019 - INFO - taking picture
MAIN: 2025-05-19 11:42:09,020 - INFO - we take 624 photos in this while loop
MAIN: 2025-05-19 11:42:09,021 - INFO - /home/pi/Desktop/images/19052025/11/41/image_19052025_11_42_07_29606.jpg
MAIN: 2025-05-19 11:42:09,021 - INFO - duration: 1.8159889089984063
MAIN: 2025-05-19 11:42:09,022 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/42'
MAIN: 2025-05-19 11:42:09,420 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:42:38,809 - INFO - taking picture
MAIN: 2025-05-19 11:42:38,810 - INFO - we take 625 photos in this while loop
MAIN: 2025-05-19 11:42:38,810 - INFO - /home/pi/Desktop/images/19052025/11/42/image_19052025_11_42_37_30141.jpg
MAIN: 2025-05-19 11:42:38,810 - INFO - duration: 1.4634582019971276
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:43:08,353 - INFO - taking picture
MAIN: 2025-05-19 11:43:08,354 - INFO - we take 626 photos in this while loop
MAIN: 2025-05-19 11:43:08,355 - INFO - /home/pi/Desktop/images/19052025/11/42/image_19052025_11_43_07_29390.jpg
MAIN: 2025-05-19 11:43:08,355 - INFO - duration: 1.6179738380014896
MAIN: 2025-05-19 11:43:08,356 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/43'
MAIN: 2025-05-19 11:43:08,421 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:43:38,080 - INFO - taking picture
MAIN: 2025-05-19 11:43:38,081 - INFO - we take 627 photos in this while loop
MAIN: 2025-05-19 11:43:38,081 - INFO - /home/pi/Desktop/images/19052025/11/43/image_19052025_11_43_37_29881.jpg
MAIN: 2025-05-19 11:43:38,082 - INFO - duration: 1.462609964000876
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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)[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 11:44:09,135 - INFO - taking picture
MAIN: 2025-05-19 11:44:09,136 - INFO - we take 628 photos in this while loop
MAIN: 2025-05-19 11:44:09,136 - INFO - /home/pi/Desktop/images/19052025/11/43/image_19052025_11_44_08_30963.jpg
MAIN: 2025-05-19 11:44:09,137 - INFO - duration: 1.5544258209993131
MAIN: 2025-05-19 11:44:09,138 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/44'
MAIN: 2025-05-19 11:44:09,346 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:44:39,015 - INFO - taking picture
MAIN: 2025-05-19 11:44:39,016 - INFO - we take 629 photos in this while loop
MAIN: 2025-05-19 11:44:39,016 - INFO - /home/pi/Desktop/images/19052025/11/44/image_19052025_11_44_38_29909.jpg
MAIN: 2025-05-19 11:44:39,017 - INFO - duration: 1.525152698999591
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:45:09,014 - INFO - taking picture
MAIN: 2025-05-19 11:45:09,015 - INFO - we take 630 photos in this while loop
MAIN: 2025-05-19 11:45:09,016 - INFO - /home/pi/Desktop/images/19052025/11/44/image_19052025_11_45_07_29593.jpg
MAIN: 2025-05-19 11:45:09,017 - INFO - duration: 1.9310422300004575
MAIN: 2025-05-19 11:45:09,018 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/45'
MAIN: 2025-05-19 11:45:09,248 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:45:38,730 - INFO - taking picture
MAIN: 2025-05-19 11:45:38,731 - INFO - we take 631 photos in this while loop
MAIN: 2025-05-19 11:45:38,731 - INFO - /home/pi/Desktop/images/19052025/11/45/image_19052025_11_45_37_30162.jpg
MAIN: 2025-05-19 11:45:38,731 - INFO - duration: 1.4833762950001983
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:46:08,668 - INFO - taking picture
MAIN: 2025-05-19 11:46:08,669 - INFO - we take 632 photos in this while loop
MAIN: 2025-05-19 11:46:08,670 - INFO - /home/pi/Desktop/images/19052025/11/45/image_19052025_11_46_07_29740.jpg
MAIN: 2025-05-19 11:46:08,671 - INFO - duration: 1.681631188999745
MAIN: 2025-05-19 11:46:08,672 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/46'
MAIN: 2025-05-19 11:46:08,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:46:38,673 - INFO - taking picture
MAIN: 2025-05-19 11:46:38,674 - INFO - we take 633 photos in this while loop
MAIN: 2025-05-19 11:46:38,675 - INFO - /home/pi/Desktop/images/19052025/11/46/image_19052025_11_46_37_30163.jpg
MAIN: 2025-05-19 11:46:38,675 - INFO - duration: 1.5220918510021875
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:47:08,251 - INFO - taking picture
MAIN: 2025-05-19 11:47:08,253 - INFO - we take 634 photos in this while loop
MAIN: 2025-05-19 11:47:08,253 - INFO - /home/pi/Desktop/images/19052025/11/46/image_19052025_11_47_07_29401.jpg
MAIN: 2025-05-19 11:47:08,253 - INFO - duration: 1.6988044060017273
MAIN: 2025-05-19 11:47:08,255 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/47'
MAIN: 2025-05-19 11:47:09,036 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:47:38,000 - INFO - taking picture
MAIN: 2025-05-19 11:47:38,001 - INFO - we take 635 photos in this while loop
MAIN: 2025-05-19 11:47:38,001 - INFO - /home/pi/Desktop/images/19052025/11/47/image_19052025_11_47_37_29977.jpg
MAIN: 2025-05-19 11:47:38,002 - INFO - duration: 1.4698781600018265
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:48:09,578 - INFO - taking picture
MAIN: 2025-05-19 11:48:09,579 - INFO - we take 636 photos in this while loop
MAIN: 2025-05-19 11:48:09,580 - INFO - /home/pi/Desktop/images/19052025/11/47/image_19052025_11_48_08_31186.jpg
MAIN: 2025-05-19 11:48:09,580 - INFO - duration: 1.8619110229992657
MAIN: 2025-05-19 11:48:09,581 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/48'
MAIN: 2025-05-19 11:48:09,771 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:48:38,071 - INFO - taking picture
MAIN: 2025-05-19 11:48:38,072 - INFO - we take 637 photos in this while loop
MAIN: 2025-05-19 11:48:38,072 - INFO - /home/pi/Desktop/images/19052025/11/48/image_19052025_11_48_37_28839.jpg
MAIN: 2025-05-19 11:48:38,072 - INFO - duration: 1.5142692890003673
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:49:08,112 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 11:49:08,836 - INFO - taking picture
MAIN: 2025-05-19 11:49:08,837 - INFO - we take 638 photos in this while loop
MAIN: 2025-05-19 11:49:08,837 - INFO - /home/pi/Desktop/images/19052025/11/48/image_19052025_11_49_07_30728.jpg
MAIN: 2025-05-19 11:49:08,838 - INFO - duration: 1.5515082349993463
MAIN: 2025-05-19 11:49:08,839 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/49'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:49:38,537 - INFO - taking picture
MAIN: 2025-05-19 11:49:38,538 - INFO - we take 639 photos in this while loop
MAIN: 2025-05-19 11:49:38,538 - INFO - /home/pi/Desktop/images/19052025/11/49/image_19052025_11_49_37_29790.jpg
MAIN: 2025-05-19 11:49:38,539 - INFO - duration: 1.4623997140006395
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:50:08,840 - INFO - taking picture
MAIN: 2025-05-19 11:50:08,842 - INFO - we take 640 photos in this while loop
MAIN: 2025-05-19 11:50:08,842 - INFO - /home/pi/Desktop/images/19052025/11/49/image_19052025_11_50_07_29431.jpg
MAIN: 2025-05-19 11:50:08,843 - INFO - duration: 2.334419112998148
MAIN: 2025-05-19 11:50:09,078 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/50'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 11:50:10,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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:50:38,710 - INFO - taking picture
MAIN: 2025-05-19 11:50:38,711 - INFO - we take 641 photos in this while loop
MAIN: 2025-05-19 11:50:38,712 - INFO - /home/pi/Desktop/images/19052025/11/50/image_19052025_11_50_37_30738.jpg
MAIN: 2025-05-19 11:50:38,712 - INFO - duration: 1.4650537710003846
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:51:08,013 - INFO - taking picture
MAIN: 2025-05-19 11:51:08,014 - INFO - we take 642 photos in this while loop
MAIN: 2025-05-19 11:51:08,014 - INFO - /home/pi/Desktop/images/19052025/11/50/image_19052025_11_51_07_29038.jpg
MAIN: 2025-05-19 11:51:08,015 - INFO - duration: 1.7293849999987287
MAIN: 2025-05-19 11:51:08,016 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/51'
MAIN: 2025-05-19 11:51:08,499 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:51:37,880 - INFO - taking picture
MAIN: 2025-05-19 11:51:37,881 - INFO - we take 643 photos in this while loop
MAIN: 2025-05-19 11:51:37,882 - INFO - /home/pi/Desktop/images/19052025/11/51/image_19052025_11_51_36_30103.jpg
MAIN: 2025-05-19 11:51:37,882 - INFO - duration: 1.4929978219988698
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:52:08,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 ! 
MAIN: 2025-05-19 11:52:09,061 - INFO - taking picture
MAIN: 2025-05-19 11:52:09,062 - INFO - we take 644 photos in this while loop
MAIN: 2025-05-19 11:52:09,063 - INFO - /home/pi/Desktop/images/19052025/11/51/image_19052025_11_52_08_30987.jpg
MAIN: 2025-05-19 11:52:09,063 - INFO - duration: 1.686704017000011
MAIN: 2025-05-19 11:52:09,064 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/52'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:52:39,021 - INFO - taking picture
MAIN: 2025-05-19 11:52:39,022 - INFO - we take 645 photos in this while loop
MAIN: 2025-05-19 11:52:39,022 - INFO - /home/pi/Desktop/images/19052025/11/52/image_19052025_11_52_38_30145.jpg
MAIN: 2025-05-19 11:52:39,023 - INFO - duration: 1.5010507329971006
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 11:53:08,178 - INFO - taking picture
MAIN: 2025-05-19 11:53:08,179 - INFO - we take 646 photos in this while loop
MAIN: 2025-05-19 11:53:08,180 - INFO - /home/pi/Desktop/images/19052025/11/52/image_19052025_11_53_07_29074.jpg
MAIN: 2025-05-19 11:53:08,180 - INFO - duration: 1.5836812819979968
MAIN: 2025-05-19 11:53:08,181 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/53'
MAIN: 2025-05-19 11:53:08,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 ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:53:37,906 - INFO - taking picture
MAIN: 2025-05-19 11:53:37,908 - INFO - we take 647 photos in this while loop
MAIN: 2025-05-19 11:53:37,908 - INFO - /home/pi/Desktop/images/19052025/11/53/image_19052025_11_53_37_29851.jpg
MAIN: 2025-05-19 11:53:37,908 - INFO - duration: 1.4601177209988236
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 11:54:09,486 - INFO - cam.read() return no image
MAIN: 2025-05-19 11:54:09,486 - INFO - taking picture
MAIN: 2025-05-19 11:54:09,487 - INFO - we take 648 photos in this while loop
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 11:54:09,488 - INFO - /home/pi/Desktop/images/19052025/11/53/image_19052025_11_54_08_31200.jpg
MAIN: 2025-05-19 11:54:09,489 - INFO - duration: 1.839674176000699
MAIN: 2025-05-19 11:54:09,490 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/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=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:54:37,803 - INFO - taking picture
MAIN: 2025-05-19 11:54:37,804 - INFO - we take 649 photos in this while loop
MAIN: 2025-05-19 11:54:37,805 - INFO - /home/pi/Desktop/images/19052025/11/54/image_19052025_11_54_36_28694.jpg
MAIN: 2025-05-19 11:54:37,805 - INFO - duration: 1.4619390299994848
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:55:08,831 - INFO - taking picture
MAIN: 2025-05-19 11:55:08,833 - INFO - we take 650 photos in this while loop
MAIN: 2025-05-19 11:55:08,833 - INFO - /home/pi/Desktop/images/19052025/11/54/image_19052025_11_55_07_30752.jpg
MAIN: 2025-05-19 11:55:08,834 - INFO - duration: 1.7385049870026705
MAIN: 2025-05-19 11:55:08,997 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/55'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 11:55:10,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=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:55:38,561 - INFO - taking picture
MAIN: 2025-05-19 11:55:38,562 - INFO - we take 651 photos in this while loop
MAIN: 2025-05-19 11:55:38,563 - INFO - /home/pi/Desktop/images/19052025/11/55/image_19052025_11_55_37_30002.jpg
MAIN: 2025-05-19 11:55:38,563 - INFO - duration: 1.465300356001535
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 11:56:08,504 - INFO - taking picture
MAIN: 2025-05-19 11:56:08,507 - INFO - we take 652 photos in this while loop
MAIN: 2025-05-19 11:56:08,510 - INFO - /home/pi/Desktop/images/19052025/11/55/image_19052025_11_56_07_29343.jpg
MAIN: 2025-05-19 11:56:08,511 - INFO - duration: 2.0695585870016657
MAIN: 2025-05-19 11:56:08,512 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/56'
MAIN: 2025-05-19 11:56:09,380 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:56:38,498 - INFO - taking picture
MAIN: 2025-05-19 11:56:38,499 - INFO - we take 653 photos in this while loop
MAIN: 2025-05-19 11:56:38,499 - INFO - /home/pi/Desktop/images/19052025/11/56/image_19052025_11_56_37_30578.jpg
MAIN: 2025-05-19 11:56:38,499 - INFO - duration: 1.4793240130020422
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 11:57:07,920 - INFO - taking picture
MAIN: 2025-05-19 11:57:07,922 - INFO - we take 654 photos in this while loop
MAIN: 2025-05-19 11:57:07,922 - INFO - /home/pi/Desktop/images/19052025/11/56/image_19052025_11_57_06_29128.jpg
MAIN: 2025-05-19 11:57:07,923 - INFO - duration: 1.773899836000055
MAIN: 2025-05-19 11:57:07,923 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/57'
MAIN: 2025-05-19 11:57:08,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:57:37,753 - INFO - taking picture
MAIN: 2025-05-19 11:57:37,754 - INFO - we take 655 photos in this while loop
MAIN: 2025-05-19 11:57:37,754 - INFO - /home/pi/Desktop/images/19052025/11/57/image_19052025_11_57_36_30107.jpg
MAIN: 2025-05-19 11:57:37,755 - INFO - duration: 1.4985477499976696
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 11:58:09,554 - INFO - taking picture
MAIN: 2025-05-19 11:58:09,555 - INFO - we take 656 photos in this while loop
MAIN: 2025-05-19 11:58:09,555 - INFO - /home/pi/Desktop/images/19052025/11/57/image_19052025_11_58_08_31243.jpg
MAIN: 2025-05-19 11:58:09,556 - INFO - duration: 2.0562248610003735
MAIN: 2025-05-19 11:58:09,556 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/58'
MAIN: 2025-05-19 11:58:09,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=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:58:37,747 - INFO - taking picture
MAIN: 2025-05-19 11:58:37,748 - INFO - we take 657 photos in this while loop
MAIN: 2025-05-19 11:58:37,749 - INFO - /home/pi/Desktop/images/19052025/11/58/image_19052025_11_58_36_28790.jpg
MAIN: 2025-05-19 11:58:37,749 - INFO - duration: 1.4593729640000674
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:59:08,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 ! 
MAIN: 2025-05-19 11:59:08,970 - INFO - taking picture
MAIN: 2025-05-19 11:59:08,971 - INFO - we take 658 photos in this while loop
MAIN: 2025-05-19 11:59:08,972 - INFO - /home/pi/Desktop/images/19052025/11/58/image_19052025_11_59_08_31098.jpg
MAIN: 2025-05-19 11:59:08,972 - INFO - duration: 1.5835553749966493
MAIN: 2025-05-19 11:59:08,973 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/11/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 11:59:38,651 - INFO - taking picture
MAIN: 2025-05-19 11:59:38,652 - INFO - we take 659 photos in this while loop
MAIN: 2025-05-19 11:59:38,652 - INFO - /home/pi/Desktop/images/19052025/11/59/image_19052025_11_59_37_29804.jpg
MAIN: 2025-05-19 11:59:38,653 - INFO - duration: 1.4595371870018425
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:00:09,663 - INFO - taking picture
MAIN: 2025-05-19 12:00:09,665 - INFO - we take 660 photos in this while loop
MAIN: 2025-05-19 12:00:09,665 - INFO - /home/pi/Desktop/images/19052025/11/59/image_19052025_12_00_07_29751.jpg
MAIN: 2025-05-19 12:00:09,666 - INFO - duration: 2.720571032001317
MAIN: 2025-05-19 12:00:09,912 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/00'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:00:10,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=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:00:37,915 - INFO - taking picture
MAIN: 2025-05-19 12:00:37,916 - INFO - we take 661 photos in this while loop
MAIN: 2025-05-19 12:00:37,916 - INFO - /home/pi/Desktop/images/19052025/12/00/image_19052025_12_00_37_29510.jpg
MAIN: 2025-05-19 12:00:37,917 - INFO - duration: 1.460571641997376
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:01:08,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-05-19 12:01:08,807 - INFO - taking picture
MAIN: 2025-05-19 12:01:08,808 - INFO - we take 662 photos in this while loop
MAIN: 2025-05-19 12:01:08,808 - INFO - /home/pi/Desktop/images/19052025/12/00/image_19052025_12_01_07_30850.jpg
MAIN: 2025-05-19 12:01:08,809 - INFO - duration: 1.501484727999923
MAIN: 2025-05-19 12:01:08,810 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/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=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:01:38,570 - INFO - taking picture
MAIN: 2025-05-19 12:01:38,571 - INFO - we take 663 photos in this while loop
MAIN: 2025-05-19 12:01:38,571 - INFO - /home/pi/Desktop/images/19052025/12/01/image_19052025_12_01_37_29770.jpg
MAIN: 2025-05-19 12:01:38,571 - INFO - duration: 1.4933234160016582
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:02:08,423 - INFO - taking picture
MAIN: 2025-05-19 12:02:08,425 - INFO - we take 664 photos in this while loop
MAIN: 2025-05-19 12:02:08,433 - INFO - /home/pi/Desktop/images/19052025/12/01/image_19052025_12_02_07_29449.jpg
MAIN: 2025-05-19 12:02:08,434 - INFO - duration: 1.906080289001693
MAIN: 2025-05-19 12:02:08,437 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/02'
MAIN: 2025-05-19 12:02:09,106 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:02:38,296 - INFO - taking picture
MAIN: 2025-05-19 12:02:38,297 - INFO - we take 665 photos in this while loop
MAIN: 2025-05-19 12:02:38,297 - INFO - /home/pi/Desktop/images/19052025/12/02/image_19052025_12_02_37_30288.jpg
MAIN: 2025-05-19 12:02:38,298 - INFO - duration: 1.4820146069978364
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:03:08,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 ! 
MAIN: 2025-05-19 12:03:09,293 - INFO - taking picture
MAIN: 2025-05-19 12:03:09,294 - INFO - we take 666 photos in this while loop
MAIN: 2025-05-19 12:03:09,294 - INFO - /home/pi/Desktop/images/19052025/12/02/image_19052025_12_03_08_30959.jpg
MAIN: 2025-05-19 12:03:09,295 - INFO - duration: 1.5191799890017137
MAIN: 2025-05-19 12:03:09,296 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/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=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:03:37,639 - INFO - taking picture
MAIN: 2025-05-19 12:03:37,640 - INFO - we take 667 photos in this while loop
MAIN: 2025-05-19 12:03:37,641 - INFO - /home/pi/Desktop/images/19052025/12/03/image_19052025_12_03_36_28382.jpg
MAIN: 2025-05-19 12:03:37,641 - INFO - duration: 1.4824980029989092
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:04:09,028 - INFO - taking picture
MAIN: 2025-05-19 12:04:09,029 - INFO - we take 668 photos in this while loop
MAIN: 2025-05-19 12:04:09,030 - INFO - /home/pi/Desktop/images/19052025/12/03/image_19052025_12_04_07_30996.jpg
MAIN: 2025-05-19 12:04:09,031 - INFO - duration: 1.8764470130008704
MAIN: 2025-05-19 12:04:09,033 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/04'
MAIN: 2025-05-19 12:04:09,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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:04:38,761 - INFO - taking picture
MAIN: 2025-05-19 12:04:38,762 - INFO - we take 669 photos in this while loop
MAIN: 2025-05-19 12:04:38,763 - INFO - /home/pi/Desktop/images/19052025/12/04/image_19052025_12_04_37_30153.jpg
MAIN: 2025-05-19 12:04:38,763 - INFO - duration: 1.45491676200254
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:05:08,798 - INFO - taking picture
MAIN: 2025-05-19 12:05:08,799 - INFO - we take 670 photos in this while loop
MAIN: 2025-05-19 12:05:08,800 - INFO - /home/pi/Desktop/images/19052025/12/04/image_19052025_12_05_07_29268.jpg
MAIN: 2025-05-19 12:05:08,801 - INFO - duration: 2.2239189030005946
MAIN: 2025-05-19 12:05:08,802 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/05'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:05:09,844 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:05:38,711 - INFO - taking picture
MAIN: 2025-05-19 12:05:38,712 - INFO - we take 671 photos in this while loop
MAIN: 2025-05-19 12:05:38,712 - INFO - /home/pi/Desktop/images/19052025/12/05/image_19052025_12_05_37_30650.jpg
MAIN: 2025-05-19 12:05:38,713 - INFO - duration: 1.4862216980000085
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:06:08,789 - INFO - taking picture
MAIN: 2025-05-19 12:06:08,790 - INFO - we take 672 photos in this while loop
MAIN: 2025-05-19 12:06:08,791 - INFO - /home/pi/Desktop/images/19052025/12/05/image_19052025_12_06_07_29468.jpg
MAIN: 2025-05-19 12:06:08,792 - INFO - duration: 2.0966004799993243
MAIN: 2025-05-19 12:06:08,793 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/06'
MAIN: 2025-05-19 12:06:09,297 - INFO - cam.read() return no image
Will output and 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=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:06:38,699 - INFO - taking picture
MAIN: 2025-05-19 12:06:38,700 - INFO - we take 673 photos in this while loop
MAIN: 2025-05-19 12:06:38,701 - INFO - /home/pi/Desktop/images/19052025/12/06/image_19052025_12_06_37_30521.jpg
MAIN: 2025-05-19 12:06:38,701 - INFO - duration: 1.484409548000258
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:07:08,306 - INFO - taking picture
MAIN: 2025-05-19 12:07:08,307 - INFO - we take 674 photos in this while loop
MAIN: 2025-05-19 12:07:08,308 - INFO - /home/pi/Desktop/images/19052025/12/06/image_19052025_12_07_07_29302.jpg
MAIN: 2025-05-19 12:07:08,308 - INFO - duration: 1.7891414139994595
MAIN: 2025-05-19 12:07:08,309 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/07'
MAIN: 2025-05-19 12:07:09,230 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:07:38,245 - INFO - taking picture
MAIN: 2025-05-19 12:07:38,246 - INFO - we take 675 photos in this while loop
MAIN: 2025-05-19 12:07:38,246 - INFO - /home/pi/Desktop/images/19052025/12/07/image_19052025_12_07_37_30237.jpg
MAIN: 2025-05-19 12:07:38,247 - INFO - duration: 1.4901552720002655
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:08:08,293 - INFO - taking picture
MAIN: 2025-05-19 12:08:08,295 - INFO - we take 676 photos in this while loop
MAIN: 2025-05-19 12:08:08,295 - INFO - /home/pi/Desktop/images/19052025/12/07/image_19052025_12_08_07_29638.jpg
MAIN: 2025-05-19 12:08:08,295 - INFO - duration: 1.9003085039985308
MAIN: 2025-05-19 12:08:08,296 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/08'
MAIN: 2025-05-19 12:08:08,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=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:08:37,999 - INFO - taking picture
MAIN: 2025-05-19 12:08:38,000 - INFO - we take 677 photos in this while loop
MAIN: 2025-05-19 12:08:38,000 - INFO - /home/pi/Desktop/images/19052025/12/08/image_19052025_12_08_37_30149.jpg
MAIN: 2025-05-19 12:08:38,000 - INFO - duration: 1.4561575570005516
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:09:08,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 ! 
MAIN: 2025-05-19 12:09:08,640 - INFO - taking picture
MAIN: 2025-05-19 12:09:08,641 - INFO - we take 678 photos in this while loop
MAIN: 2025-05-19 12:09:08,642 - INFO - /home/pi/Desktop/images/19052025/12/08/image_19052025_12_09_07_30594.jpg
MAIN: 2025-05-19 12:09:08,642 - INFO - duration: 1.5032439989990962
MAIN: 2025-05-19 12:09:08,643 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/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=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:09:38,374 - INFO - taking picture
MAIN: 2025-05-19 12:09:38,375 - INFO - we take 679 photos in this while loop
MAIN: 2025-05-19 12:09:38,376 - INFO - /home/pi/Desktop/images/19052025/12/09/image_19052025_12_09_37_29782.jpg
MAIN: 2025-05-19 12:09:38,376 - INFO - duration: 1.454549334001058
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:10:08,921 - INFO - taking picture
MAIN: 2025-05-19 12:10:08,922 - INFO - we take 680 photos in this while loop
MAIN: 2025-05-19 12:10:08,923 - INFO - /home/pi/Desktop/images/19052025/12/09/image_19052025_12_10_07_29443.jpg
MAIN: 2025-05-19 12:10:08,923 - INFO - duration: 2.558122276001086
MAIN: 2025-05-19 12:10:09,704 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/10'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:10:10,799 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:10:38,955 - INFO - taking picture
MAIN: 2025-05-19 12:10:38,956 - INFO - we take 681 photos in this while loop
MAIN: 2025-05-19 12:10:38,956 - INFO - /home/pi/Desktop/images/19052025/12/10/image_19052025_12_10_38_31108.jpg
MAIN: 2025-05-19 12:10:38,957 - INFO - duration: 1.4834473179980705
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:11:08,241 - INFO - taking picture
MAIN: 2025-05-19 12:11:08,242 - INFO - we take 682 photos in this while loop
MAIN: 2025-05-19 12:11:08,243 - INFO - /home/pi/Desktop/images/19052025/12/10/image_19052025_12_11_07_29071.jpg
MAIN: 2025-05-19 12:11:08,243 - INFO - duration: 1.6982016449983348
MAIN: 2025-05-19 12:11:08,245 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/11'
MAIN: 2025-05-19 12:11:08,462 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:11:37,997 - INFO - taking picture
MAIN: 2025-05-19 12:11:37,999 - INFO - we take 683 photos in this while loop
MAIN: 2025-05-19 12:11:37,999 - INFO - /home/pi/Desktop/images/19052025/12/11/image_19052025_12_11_37_29992.jpg
MAIN: 2025-05-19 12:11:37,999 - INFO - duration: 1.4614499870003783
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:12:09,088 - INFO - taking picture
MAIN: 2025-05-19 12:12:09,089 - INFO - we take 684 photos in this while loop
MAIN: 2025-05-19 12:12:09,089 - INFO - /home/pi/Desktop/images/19052025/12/11/image_19052025_12_12_08_30898.jpg
MAIN: 2025-05-19 12:12:09,090 - INFO - duration: 1.6537349350001023
MAIN: 2025-05-19 12:12:09,091 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/12'
MAIN: 2025-05-19 12:12:09,281 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:12:38,941 - INFO - taking picture
MAIN: 2025-05-19 12:12:38,942 - INFO - we take 685 photos in this while loop
MAIN: 2025-05-19 12:12:38,942 - INFO - /home/pi/Desktop/images/19052025/12/12/image_19052025_12_12_38_30011.jpg
MAIN: 2025-05-19 12:12:38,943 - INFO - duration: 1.4951516759974766
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:13:08,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-05-19 12:13:08,388 - INFO - taking picture
MAIN: 2025-05-19 12:13:08,389 - INFO - we take 686 photos in this while loop
MAIN: 2025-05-19 12:13:08,390 - INFO - /home/pi/Desktop/images/19052025/12/12/image_19052025_12_13_07_29321.jpg
MAIN: 2025-05-19 12:13:08,391 - INFO - duration: 1.6224730760004604
MAIN: 2025-05-19 12:13:08,392 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/13'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:13:38,210 - INFO - taking picture
MAIN: 2025-05-19 12:13:38,211 - INFO - we take 687 photos in this while loop
MAIN: 2025-05-19 12:13:38,211 - INFO - /home/pi/Desktop/images/19052025/12/13/image_19052025_12_13_37_29987.jpg
MAIN: 2025-05-19 12:13:38,212 - INFO - duration: 1.4554453430027934
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:14:09,455 - INFO - taking picture
MAIN: 2025-05-19 12:14:09,456 - INFO - we take 688 photos in this while loop
MAIN: 2025-05-19 12:14:09,456 - INFO - /home/pi/Desktop/images/19052025/12/13/image_19052025_12_14_08_31065.jpg
MAIN: 2025-05-19 12:14:09,457 - INFO - duration: 1.6355390869975963
MAIN: 2025-05-19 12:14:09,458 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/14'
MAIN: 2025-05-19 12:14:09,651 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:14:37,597 - INFO - taking picture
MAIN: 2025-05-19 12:14:37,598 - INFO - we take 689 photos in this while loop
MAIN: 2025-05-19 12:14:37,599 - INFO - /home/pi/Desktop/images/19052025/12/14/image_19052025_12_14_36_28325.jpg
MAIN: 2025-05-19 12:14:37,599 - INFO - duration: 1.4522616190006374
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:15:09,172 - INFO - taking picture
MAIN: 2025-05-19 12:15:09,173 - INFO - we take 690 photos in this while loop
MAIN: 2025-05-19 12:15:09,173 - INFO - /home/pi/Desktop/images/19052025/12/14/image_19052025_12_15_08_31429.jpg
MAIN: 2025-05-19 12:15:09,174 - INFO - duration: 1.5978389030024118
MAIN: 2025-05-19 12:15:09,175 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/15'
MAIN: 2025-05-19 12:15:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:15:38,948 - INFO - taking picture
MAIN: 2025-05-19 12:15:38,949 - INFO - we take 691 photos in this while loop
MAIN: 2025-05-19 12:15:38,950 - INFO - /home/pi/Desktop/images/19052025/12/15/image_19052025_12_15_38_29923.jpg
MAIN: 2025-05-19 12:15:38,950 - INFO - duration: 1.4513208149983257
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:16:08,644 - INFO - taking picture
MAIN: 2025-05-19 12:16:08,645 - INFO - we take 692 photos in this while loop
MAIN: 2025-05-19 12:16:08,646 - INFO - /home/pi/Desktop/images/19052025/12/15/image_19052025_12_16_07_29126.jpg
MAIN: 2025-05-19 12:16:08,646 - INFO - duration: 2.020501074999629
MAIN: 2025-05-19 12:16:08,647 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/16'
MAIN: 2025-05-19 12:16:09,247 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:16:38,272 - INFO - taking picture
MAIN: 2025-05-19 12:16:38,273 - INFO - we take 693 photos in this while loop
MAIN: 2025-05-19 12:16:38,273 - INFO - /home/pi/Desktop/images/19052025/12/16/image_19052025_12_16_37_30196.jpg
MAIN: 2025-05-19 12:16:38,274 - INFO - duration: 1.4514997539990873
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:17:08,600 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 12:17:09,285 - INFO - taking picture
MAIN: 2025-05-19 12:17:09,286 - INFO - we take 694 photos in this while loop
MAIN: 2025-05-19 12:17:09,286 - INFO - /home/pi/Desktop/images/19052025/12/16/image_19052025_12_17_08_30939.jpg
MAIN: 2025-05-19 12:17:09,287 - INFO - duration: 1.5251250039982551
MAIN: 2025-05-19 12:17:09,287 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/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=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:17:38,968 - INFO - taking picture
MAIN: 2025-05-19 12:17:38,970 - INFO - we take 695 photos in this while loop
MAIN: 2025-05-19 12:17:38,970 - INFO - /home/pi/Desktop/images/19052025/12/17/image_19052025_12_17_38_29727.jpg
MAIN: 2025-05-19 12:17:38,970 - INFO - duration: 1.4815420269987953
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:18:08,942 - INFO - taking picture
MAIN: 2025-05-19 12:18:08,943 - INFO - we take 696 photos in this while loop
MAIN: 2025-05-19 12:18:08,944 - INFO - /home/pi/Desktop/images/19052025/12/17/image_19052025_12_18_07_29606.jpg
MAIN: 2025-05-19 12:18:08,946 - INFO - duration: 1.8498577440004738
MAIN: 2025-05-19 12:18:08,947 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/18'
MAIN: 2025-05-19 12:18:09,765 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:18:38,885 - INFO - taking picture
MAIN: 2025-05-19 12:18:38,886 - INFO - we take 697 photos in this while loop
MAIN: 2025-05-19 12:18:38,886 - INFO - /home/pi/Desktop/images/19052025/12/18/image_19052025_12_18_37_30311.jpg
MAIN: 2025-05-19 12:18:38,887 - INFO - duration: 1.4798676350001188
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:19:08,190 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 12:19:08,334 - INFO - taking picture
MAIN: 2025-05-19 12:19:08,336 - INFO - we take 698 photos in this while loop
MAIN: 2025-05-19 12:19:08,336 - INFO - /home/pi/Desktop/images/19052025/12/18/image_19052025_12_19_07_29344.jpg
MAIN: 2025-05-19 12:19:08,336 - INFO - duration: 1.584872470000846
MAIN: 2025-05-19 12:19:08,337 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/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=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:19:38,176 - INFO - taking picture
MAIN: 2025-05-19 12:19:38,177 - INFO - we take 699 photos in this while loop
MAIN: 2025-05-19 12:19:38,177 - INFO - /home/pi/Desktop/images/19052025/12/19/image_19052025_12_19_37_29945.jpg
MAIN: 2025-05-19 12:19:38,178 - INFO - duration: 1.4808874660011497
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:20:08,542 - INFO - taking picture
MAIN: 2025-05-19 12:20:08,544 - INFO - we take 700 photos in this while loop
MAIN: 2025-05-19 12:20:08,545 - INFO - /home/pi/Desktop/images/19052025/12/19/image_19052025_12_20_07_29714.jpg
MAIN: 2025-05-19 12:20:08,545 - INFO - duration: 2.1338995240002987
MAIN: 2025-05-19 12:20:09,003 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/20'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:20:10,063 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:20:38,315 - INFO - taking picture
MAIN: 2025-05-19 12:20:38,316 - INFO - we take 701 photos in this while loop
MAIN: 2025-05-19 12:20:38,316 - INFO - /home/pi/Desktop/images/19052025/12/20/image_19052025_12_20_37_30428.jpg
MAIN: 2025-05-19 12:20:38,317 - INFO - duration: 1.4764306300021417
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:21:08,993 - INFO - taking picture
MAIN: 2025-05-19 12:21:08,994 - INFO - we take 702 photos in this while loop
MAIN: 2025-05-19 12:21:08,995 - INFO - /home/pi/Desktop/images/19052025/12/20/image_19052025_12_21_08_30573.jpg
MAIN: 2025-05-19 12:21:08,995 - INFO - duration: 1.5815233800021815
MAIN: 2025-05-19 12:21:09,002 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 12:21:09,005 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/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=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:21:38,857 - INFO - taking picture
MAIN: 2025-05-19 12:21:38,858 - INFO - we take 703 photos in this while loop
MAIN: 2025-05-19 12:21:38,859 - INFO - /home/pi/Desktop/images/19052025/12/21/image_19052025_12_21_37_29962.jpg
MAIN: 2025-05-19 12:21:38,859 - INFO - duration: 1.4823355139997147
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:22:08,599 - INFO - taking picture
MAIN: 2025-05-19 12:22:08,600 - INFO - we take 704 photos in this while loop
MAIN: 2025-05-19 12:22:08,601 - INFO - /home/pi/Desktop/images/19052025/12/21/image_19052025_12_22_07_29298.jpg
MAIN: 2025-05-19 12:22:08,602 - INFO - duration: 1.926830697000696
MAIN: 2025-05-19 12:22:08,603 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/22'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:22:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=14 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:22:38,264 - INFO - taking picture
MAIN: 2025-05-19 12:22:38,265 - INFO - we take 705 photos in this while loop
MAIN: 2025-05-19 12:22:38,266 - INFO - /home/pi/Desktop/images/19052025/12/22/image_19052025_12_22_37_30138.jpg
MAIN: 2025-05-19 12:22:38,266 - INFO - duration: 1.4526381089999632
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:23:08,810 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 12:23:08,848 - INFO - taking picture
MAIN: 2025-05-19 12:23:08,849 - INFO - we take 706 photos in this while loop
MAIN: 2025-05-19 12:23:08,850 - INFO - /home/pi/Desktop/images/19052025/12/22/image_19052025_12_23_07_30472.jpg
MAIN: 2025-05-19 12:23:08,850 - INFO - duration: 1.5646282030029397
MAIN: 2025-05-19 12:23:08,851 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/23'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:23:38,370 - INFO - taking picture
MAIN: 2025-05-19 12:23:38,371 - INFO - we take 707 photos in this while loop
MAIN: 2025-05-19 12:23:38,372 - INFO - /home/pi/Desktop/images/19052025/12/23/image_19052025_12_23_37_29632.jpg
MAIN: 2025-05-19 12:23:38,372 - INFO - duration: 1.4538396110001486
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:24:09,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-05-19 12:24:09,506 - INFO - taking picture
MAIN: 2025-05-19 12:24:09,507 - INFO - we take 708 photos in this while loop
MAIN: 2025-05-19 12:24:09,507 - INFO - /home/pi/Desktop/images/19052025/12/23/image_19052025_12_24_08_30882.jpg
MAIN: 2025-05-19 12:24:09,508 - INFO - duration: 1.707354905000102
MAIN: 2025-05-19 12:24:09,509 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/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=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:24:38,771 - INFO - taking picture
MAIN: 2025-05-19 12:24:38,772 - INFO - we take 709 photos in this while loop
MAIN: 2025-05-19 12:24:38,773 - INFO - /home/pi/Desktop/images/19052025/12/24/image_19052025_12_24_37_29522.jpg
MAIN: 2025-05-19 12:24:38,773 - INFO - duration: 1.4503248629989685
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:25:09,273 - INFO - taking picture
MAIN: 2025-05-19 12:25:09,274 - INFO - we take 710 photos in this while loop
MAIN: 2025-05-19 12:25:09,274 - INFO - /home/pi/Desktop/images/19052025/12/24/image_19052025_12_25_07_29241.jpg
MAIN: 2025-05-19 12:25:09,275 - INFO - duration: 2.71029374200225
MAIN: 2025-05-19 12:25:09,332 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/25'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:25:10,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=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:25:38,927 - INFO - taking picture
MAIN: 2025-05-19 12:25:38,928 - INFO - we take 711 photos in this while loop
MAIN: 2025-05-19 12:25:38,928 - INFO - /home/pi/Desktop/images/19052025/12/25/image_19052025_12_25_38_30884.jpg
MAIN: 2025-05-19 12:25:38,929 - INFO - duration: 1.4798999070007994
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:26:09,018 - INFO - taking picture
MAIN: 2025-05-19 12:26:09,019 - INFO - we take 712 photos in this while loop
MAIN: 2025-05-19 12:26:09,019 - INFO - /home/pi/Desktop/images/19052025/12/25/image_19052025_12_26_08_29907.jpg
MAIN: 2025-05-19 12:26:09,020 - INFO - duration: 1.6631377560006513
MAIN: 2025-05-19 12:26:09,021 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/26'
MAIN: 2025-05-19 12:26:09,063 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:26:38,718 - INFO - taking picture
MAIN: 2025-05-19 12:26:38,719 - INFO - we take 713 photos in this while loop
MAIN: 2025-05-19 12:26:38,719 - INFO - /home/pi/Desktop/images/19052025/12/26/image_19052025_12_26_37_29878.jpg
MAIN: 2025-05-19 12:26:38,720 - INFO - duration: 1.484448336999776
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 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-05-19 12:27:08,075 - INFO - taking picture
MAIN: 2025-05-19 12:27:08,077 - INFO - we take 714 photos in this while loop
MAIN: 2025-05-19 12:27:08,077 - INFO - /home/pi/Desktop/images/19052025/12/26/image_19052025_12_27_07_29130.jpg
MAIN: 2025-05-19 12:27:08,078 - INFO - duration: 1.7119003499974497
MAIN: 2025-05-19 12:27:08,078 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/27'
MAIN: 2025-05-19 12:27:08,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=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:27:37,683 - INFO - taking picture
MAIN: 2025-05-19 12:27:37,684 - INFO - we take 715 photos in this while loop
MAIN: 2025-05-19 12:27:37,685 - INFO - /home/pi/Desktop/images/19052025/12/27/image_19052025_12_27_36_29846.jpg
MAIN: 2025-05-19 12:27:37,685 - INFO - duration: 1.4734405210001569
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:28:08,543 - INFO - taking picture
MAIN: 2025-05-19 12:28:08,544 - INFO - we take 716 photos in this while loop
MAIN: 2025-05-19 12:28:08,545 - INFO - /home/pi/Desktop/images/19052025/12/27/image_19052025_12_28_07_30599.jpg
MAIN: 2025-05-19 12:28:08,546 - INFO - duration: 1.7347623729983752
MAIN: 2025-05-19 12:28:08,890 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/28'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:28:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:28:38,331 - INFO - taking picture
MAIN: 2025-05-19 12:28:38,332 - INFO - we take 717 photos in this while loop
MAIN: 2025-05-19 12:28:38,332 - INFO - /home/pi/Desktop/images/19052025/12/28/image_19052025_12_28_37_30048.jpg
MAIN: 2025-05-19 12:28:38,333 - INFO - duration: 1.473408597001253
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 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-05-19 12:29:07,670 - INFO - taking picture
MAIN: 2025-05-19 12:29:07,671 - INFO - we take 718 photos in this while loop
MAIN: 2025-05-19 12:29:07,672 - INFO - /home/pi/Desktop/images/19052025/12/28/image_19052025_12_29_06_29240.jpg
MAIN: 2025-05-19 12:29:07,672 - INFO - duration: 1.571981176999543
MAIN: 2025-05-19 12:29:07,673 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/29'
MAIN: 2025-05-19 12:29:07,871 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:29:38,557 - INFO - taking picture
MAIN: 2025-05-19 12:29:38,558 - INFO - we take 719 photos in this while loop
MAIN: 2025-05-19 12:29:38,559 - INFO - /home/pi/Desktop/images/19052025/12/29/image_19052025_12_29_37_30987.jpg
MAIN: 2025-05-19 12:29:38,559 - INFO - duration: 1.4716604919995007
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:30:08,839 - INFO - taking picture
MAIN: 2025-05-19 12:30:08,841 - INFO - we take 720 photos in this while loop
MAIN: 2025-05-19 12:30:08,841 - INFO - /home/pi/Desktop/images/19052025/12/29/image_19052025_12_30_07_29387.jpg
MAIN: 2025-05-19 12:30:08,842 - INFO - duration: 2.3675416679980117
MAIN: 2025-05-19 12:30:09,015 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/30'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:30:10,074 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=89 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:30:38,719 - INFO - taking picture
MAIN: 2025-05-19 12:30:38,720 - INFO - we take 721 photos in this while loop
MAIN: 2025-05-19 12:30:38,720 - INFO - /home/pi/Desktop/images/19052025/12/30/image_19052025_12_30_37_30764.jpg
MAIN: 2025-05-19 12:30:38,721 - INFO - duration: 1.4820136779999302
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=87 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:31:08,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 ! 
MAIN: 2025-05-19 12:31:08,784 - INFO - taking picture
MAIN: 2025-05-19 12:31:08,785 - INFO - we take 722 photos in this while loop
MAIN: 2025-05-19 12:31:08,786 - INFO - /home/pi/Desktop/images/19052025/12/30/image_19052025_12_31_07_30030.jpg
MAIN: 2025-05-19 12:31:08,786 - INFO - duration: 1.517538156997034
MAIN: 2025-05-19 12:31:08,787 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/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=87 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:31:38,208 - INFO - taking picture
MAIN: 2025-05-19 12:31:38,209 - INFO - we take 723 photos in this while loop
MAIN: 2025-05-19 12:31:38,209 - INFO - /home/pi/Desktop/images/19052025/12/31/image_19052025_12_31_37_29496.jpg
MAIN: 2025-05-19 12:31:38,210 - INFO - duration: 1.4444934519997332
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=87 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-05-19 12:32:09,305 - INFO - taking picture
MAIN: 2025-05-19 12:32:09,306 - INFO - we take 724 photos in this while loop
MAIN: 2025-05-19 12:32:09,307 - INFO - /home/pi/Desktop/images/19052025/12/31/image_19052025_12_32_08_30732.jpg
MAIN: 2025-05-19 12:32:09,307 - INFO - duration: 1.808945426997525
MAIN: 2025-05-19 12:32:09,308 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/32'
MAIN: 2025-05-19 12:32:10,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=87 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:32:38,702 - INFO - taking picture
MAIN: 2025-05-19 12:32:38,703 - INFO - we take 725 photos in this while loop
MAIN: 2025-05-19 12:32:38,704 - INFO - /home/pi/Desktop/images/19052025/12/32/image_19052025_12_32_37_29761.jpg
MAIN: 2025-05-19 12:32:38,704 - INFO - duration: 1.4440876410008059
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:33:08,217 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=87 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:33:09,148 - INFO - taking picture
MAIN: 2025-05-19 12:33:09,149 - INFO - we take 726 photos in this while loop
MAIN: 2025-05-19 12:33:09,149 - INFO - /home/pi/Desktop/images/19052025/12/32/image_19052025_12_33_08_30404.jpg
MAIN: 2025-05-19 12:33:09,149 - INFO - duration: 1.484421064000344
MAIN: 2025-05-19 12:33:09,150 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/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=87 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:33:38,660 - INFO - taking picture
MAIN: 2025-05-19 12:33:38,661 - INFO - we take 727 photos in this while loop
MAIN: 2025-05-19 12:33:38,662 - INFO - /home/pi/Desktop/images/19052025/12/33/image_19052025_12_33_37_29554.jpg
MAIN: 2025-05-19 12:33:38,662 - INFO - duration: 1.4426076999989164
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=87 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-05-19 12:34:08,151 - INFO - taking picture
MAIN: 2025-05-19 12:34:08,152 - INFO - we take 728 photos in this while loop
MAIN: 2025-05-19 12:34:08,152 - INFO - /home/pi/Desktop/images/19052025/12/33/image_19052025_12_34_07_29105.jpg
MAIN: 2025-05-19 12:34:08,153 - INFO - duration: 1.8280500809996738
MAIN: 2025-05-19 12:34:08,154 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/34'
MAIN: 2025-05-19 12:34:08,756 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=87 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:34:38,761 - INFO - taking picture
MAIN: 2025-05-19 12:34:38,762 - INFO - we take 729 photos in this while loop
MAIN: 2025-05-19 12:34:38,762 - INFO - /home/pi/Desktop/images/19052025/12/34/image_19052025_12_34_36_30008.jpg
MAIN: 2025-05-19 12:34:38,763 - INFO - duration: 2.429563863999647
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=87 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:35:08,454 - INFO - taking picture
MAIN: 2025-05-19 12:35:08,456 - INFO - we take 730 photos in this while loop
MAIN: 2025-05-19 12:35:08,456 - INFO - /home/pi/Desktop/images/19052025/12/34/image_19052025_12_35_07_29766.jpg
MAIN: 2025-05-19 12:35:08,457 - INFO - duration: 2.3574027410031704
MAIN: 2025-05-19 12:35:08,670 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/35'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:35:09,728 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=87 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:35:38,041 - INFO - taking picture
MAIN: 2025-05-19 12:35:38,042 - INFO - we take 731 photos in this while loop
MAIN: 2025-05-19 12:35:38,043 - INFO - /home/pi/Desktop/images/19052025/12/35/image_19052025_12_35_37_30472.jpg
MAIN: 2025-05-19 12:35:38,043 - INFO - duration: 1.471482979002758
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=87 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-05-19 12:36:09,179 - INFO - taking picture
MAIN: 2025-05-19 12:36:09,180 - INFO - we take 732 photos in this while loop
MAIN: 2025-05-19 12:36:09,181 - INFO - /home/pi/Desktop/images/19052025/12/35/image_19052025_12_36_08_30568.jpg
MAIN: 2025-05-19 12:36:09,182 - INFO - duration: 2.0410917150002206
MAIN: 2025-05-19 12:36:09,183 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/36'
MAIN: 2025-05-19 12:36:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=87 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:36:38,479 - INFO - taking picture
MAIN: 2025-05-19 12:36:38,480 - INFO - we take 733 photos in this while loop
MAIN: 2025-05-19 12:36:38,480 - INFO - /home/pi/Desktop/images/19052025/12/36/image_19052025_12_36_37_29868.jpg
MAIN: 2025-05-19 12:36:38,481 - INFO - duration: 1.4715628640005889
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=87 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:37:08,451 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 12:37:08,894 - INFO - taking picture
MAIN: 2025-05-19 12:37:08,895 - INFO - we take 734 photos in this while loop
MAIN: 2025-05-19 12:37:08,896 - INFO - /home/pi/Desktop/images/19052025/12/36/image_19052025_12_37_07_30314.jpg
MAIN: 2025-05-19 12:37:08,896 - INFO - duration: 1.5724630299991986
MAIN: 2025-05-19 12:37:08,897 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/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=87 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:37:38,283 - INFO - taking picture
MAIN: 2025-05-19 12:37:38,285 - INFO - we take 735 photos in this while loop
MAIN: 2025-05-19 12:37:38,285 - INFO - /home/pi/Desktop/images/19052025/12/37/image_19052025_12_37_37_29626.jpg
MAIN: 2025-05-19 12:37:38,286 - INFO - duration: 1.3355091299999913
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=87 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-05-19 12:38:09,425 - INFO - taking picture
MAIN: 2025-05-19 12:38:09,426 - INFO - we take 736 photos in this while loop
MAIN: 2025-05-19 12:38:09,427 - INFO - /home/pi/Desktop/images/19052025/12/37/image_19052025_12_38_08_30907.jpg
MAIN: 2025-05-19 12:38:09,427 - INFO - duration: 1.5701636640005745
MAIN: 2025-05-19 12:38:09,428 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/38'
MAIN: 2025-05-19 12:38:09,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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=87 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:38:38,857 - INFO - taking picture
MAIN: 2025-05-19 12:38:38,858 - INFO - we take 737 photos in this while loop
MAIN: 2025-05-19 12:38:38,859 - INFO - /home/pi/Desktop/images/19052025/12/38/image_19052025_12_38_37_29657.jpg
MAIN: 2025-05-19 12:38:38,859 - INFO - duration: 1.3450564880004094
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 12:39:07,931 - INFO - taking picture
MAIN: 2025-05-19 12:39:07,932 - INFO - we take 738 photos in this while loop
MAIN: 2025-05-19 12:39:07,933 - INFO - /home/pi/Desktop/images/19052025/12/38/image_19052025_12_39_06_28689.jpg
MAIN: 2025-05-19 12:39:07,933 - INFO - duration: 1.7296157450000464
MAIN: 2025-05-19 12:39:07,934 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/39'
MAIN: 2025-05-19 12:39:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:39:37,609 - INFO - taking picture
MAIN: 2025-05-19 12:39:37,610 - INFO - we take 739 photos in this while loop
MAIN: 2025-05-19 12:39:37,610 - INFO - /home/pi/Desktop/images/19052025/12/39/image_19052025_12_39_36_29913.jpg
MAIN: 2025-05-19 12:39:37,611 - INFO - duration: 1.493162899998424
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:40:09,484 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 12:40:09,690 - INFO - taking picture
MAIN: 2025-05-19 12:40:09,692 - INFO - we take 740 photos in this while loop
MAIN: 2025-05-19 12:40:09,692 - INFO - /home/pi/Desktop/images/19052025/12/39/image_19052025_12_40_08_31649.jpg
MAIN: 2025-05-19 12:40:09,693 - INFO - duration: 1.9264279039998655
MAIN: 2025-05-19 12:40:09,694 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/40'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:40:37,934 - INFO - taking picture
MAIN: 2025-05-19 12:40:37,935 - INFO - we take 741 photos in this while loop
MAIN: 2025-05-19 12:40:37,936 - INFO - /home/pi/Desktop/images/19052025/12/40/image_19052025_12_40_37_28696.jpg
MAIN: 2025-05-19 12:40:37,936 - INFO - duration: 1.4725447679993522
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:41:08,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-05-19 12:41:08,735 - INFO - taking picture
MAIN: 2025-05-19 12:41:08,737 - INFO - we take 742 photos in this while loop
MAIN: 2025-05-19 12:41:08,737 - INFO - /home/pi/Desktop/images/19052025/12/40/image_19052025_12_41_07_30705.jpg
MAIN: 2025-05-19 12:41:08,737 - INFO - duration: 1.5678879939987382
MAIN: 2025-05-19 12:41:08,738 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:41:38,161 - INFO - taking picture
MAIN: 2025-05-19 12:41:38,162 - INFO - we take 743 photos in this while loop
MAIN: 2025-05-19 12:41:38,162 - INFO - /home/pi/Desktop/images/19052025/12/41/image_19052025_12_41_37_29524.jpg
MAIN: 2025-05-19 12:41:38,163 - INFO - duration: 1.4690265179997368
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 12:42:08,718 - INFO - taking picture
MAIN: 2025-05-19 12:42:08,719 - INFO - we take 744 photos in this while loop
MAIN: 2025-05-19 12:42:08,720 - INFO - /home/pi/Desktop/images/19052025/12/41/image_19052025_12_42_07_30071.jpg
MAIN: 2025-05-19 12:42:08,720 - INFO - duration: 1.9552312689993414
MAIN: 2025-05-19 12:42:08,721 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/42'
MAIN: 2025-05-19 12:42:09,049 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:42:38,426 - INFO - taking picture
MAIN: 2025-05-19 12:42:38,428 - INFO - we take 745 photos in this while loop
MAIN: 2025-05-19 12:42:38,428 - INFO - /home/pi/Desktop/images/19052025/12/42/image_19052025_12_42_37_30150.jpg
MAIN: 2025-05-19 12:42:38,428 - INFO - duration: 1.5130273950017
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:43:07,960 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:43:09,073 - INFO - taking picture
MAIN: 2025-05-19 12:43:09,074 - INFO - we take 746 photos in this while loop
MAIN: 2025-05-19 12:43:09,074 - INFO - /home/pi/Desktop/images/19052025/12/42/image_19052025_12_43_08_30665.jpg
MAIN: 2025-05-19 12:43:09,075 - INFO - duration: 1.4939317509997636
MAIN: 2025-05-19 12:43:09,075 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:43:38,647 - INFO - taking picture
MAIN: 2025-05-19 12:43:38,648 - INFO - we take 747 photos in this while loop
MAIN: 2025-05-19 12:43:38,648 - INFO - /home/pi/Desktop/images/19052025/12/43/image_19052025_12_43_37_29620.jpg
MAIN: 2025-05-19 12:43:38,649 - INFO - duration: 1.4470795749984973
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 12:44:08,235 - INFO - taking picture
MAIN: 2025-05-19 12:44:08,236 - INFO - we take 748 photos in this while loop
MAIN: 2025-05-19 12:44:08,237 - INFO - /home/pi/Desktop/images/19052025/12/43/image_19052025_12_44_07_29165.jpg
MAIN: 2025-05-19 12:44:08,237 - INFO - duration: 1.8701391619979404
MAIN: 2025-05-19 12:44:08,239 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/44'
MAIN: 2025-05-19 12:44:09,145 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=21 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:44:37,934 - INFO - taking picture
MAIN: 2025-05-19 12:44:37,935 - INFO - we take 749 photos in this while loop
MAIN: 2025-05-19 12:44:37,936 - INFO - /home/pi/Desktop/images/19052025/12/44/image_19052025_12_44_37_30107.jpg
MAIN: 2025-05-19 12:44:37,936 - INFO - duration: 1.4613887760024227
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 12:45:08,830 - INFO - taking picture
MAIN: 2025-05-19 12:45:08,831 - INFO - we take 750 photos in this while loop
MAIN: 2025-05-19 12:45:08,832 - INFO - /home/pi/Desktop/images/19052025/12/44/image_19052025_12_45_07_29966.jpg
MAIN: 2025-05-19 12:45:08,833 - INFO - duration: 2.3908966220005823
MAIN: 2025-05-19 12:45:08,834 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/45'
MAIN: 2025-05-19 12:45:09,527 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:45:38,348 - INFO - taking picture
MAIN: 2025-05-19 12:45:38,349 - INFO - we take 751 photos in this while loop
MAIN: 2025-05-19 12:45:38,350 - INFO - /home/pi/Desktop/images/19052025/12/45/image_19052025_12_45_37_30455.jpg
MAIN: 2025-05-19 12:45:38,350 - INFO - duration: 1.4525387459980266
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 12:46:09,526 - INFO - taking picture
MAIN: 2025-05-19 12:46:09,528 - INFO - we take 752 photos in this while loop
MAIN: 2025-05-19 12:46:09,528 - INFO - /home/pi/Desktop/images/19052025/12/45/image_19052025_12_46_08_30772.jpg
MAIN: 2025-05-19 12:46:09,529 - INFO - duration: 1.8587673449983413
MAIN: 2025-05-19 12:46:09,530 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/46'
MAIN: 2025-05-19 12:46:10,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:46:37,752 - INFO - taking picture
MAIN: 2025-05-19 12:46:37,753 - INFO - we take 753 photos in this while loop
MAIN: 2025-05-19 12:46:37,753 - INFO - /home/pi/Desktop/images/19052025/12/46/image_19052025_12_46_36_28627.jpg
MAIN: 2025-05-19 12:46:37,754 - INFO - duration: 1.4561339960018813
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:47:08,276 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 12:47:08,532 - INFO - taking picture
MAIN: 2025-05-19 12:47:08,534 - INFO - we take 754 photos in this while loop
MAIN: 2025-05-19 12:47:08,534 - INFO - /home/pi/Desktop/images/19052025/12/46/image_19052025_12_47_07_30637.jpg
MAIN: 2025-05-19 12:47:08,535 - INFO - duration: 1.5992337190000399
MAIN: 2025-05-19 12:47:08,536 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/47'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:47:38,328 - INFO - taking picture
MAIN: 2025-05-19 12:47:38,329 - INFO - we take 755 photos in this while loop
MAIN: 2025-05-19 12:47:38,330 - INFO - /home/pi/Desktop/images/19052025/12/47/image_19052025_12_47_37_29911.jpg
MAIN: 2025-05-19 12:47:38,330 - INFO - duration: 1.4828873430014937
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:48:08,254 - INFO - taking picture
MAIN: 2025-05-19 12:48:08,256 - INFO - we take 756 photos in this while loop
MAIN: 2025-05-19 12:48:08,257 - INFO - /home/pi/Desktop/images/19052025/12/47/image_19052025_12_48_07_29327.jpg
MAIN: 2025-05-19 12:48:08,257 - INFO - duration: 2.082614872000704
MAIN: 2025-05-19 12:48:08,406 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/48'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:48:09,481 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:48:38,067 - INFO - taking picture
MAIN: 2025-05-19 12:48:38,068 - INFO - we take 757 photos in this while loop
MAIN: 2025-05-19 12:48:38,068 - INFO - /home/pi/Desktop/images/19052025/12/48/image_19052025_12_48_37_30442.jpg
MAIN: 2025-05-19 12:48:38,068 - INFO - duration: 1.4511224220004806
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 12:49:08,734 - INFO - taking picture
MAIN: 2025-05-19 12:49:08,735 - INFO - we take 758 photos in this while loop
MAIN: 2025-05-19 12:49:08,736 - INFO - /home/pi/Desktop/images/19052025/12/48/image_19052025_12_49_07_30501.jpg
MAIN: 2025-05-19 12:49:08,736 - INFO - duration: 1.617192158002581
MAIN: 2025-05-19 12:49:08,737 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/49'
MAIN: 2025-05-19 12:49:08,889 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:49:38,323 - INFO - taking picture
MAIN: 2025-05-19 12:49:38,325 - INFO - we take 759 photos in this while loop
MAIN: 2025-05-19 12:49:38,325 - INFO - /home/pi/Desktop/images/19052025/12/49/image_19052025_12_49_37_29752.jpg
MAIN: 2025-05-19 12:49:38,326 - INFO - duration: 1.454227742000512
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 12:50:10,017 - INFO - taking picture
MAIN: 2025-05-19 12:50:10,018 - INFO - we take 760 photos in this while loop
MAIN: 2025-05-19 12:50:10,019 - INFO - /home/pi/Desktop/images/19052025/12/49/image_19052025_12_50_08_31063.jpg
MAIN: 2025-05-19 12:50:10,020 - INFO - duration: 2.0850810930023727
MAIN: 2025-05-19 12:50:10,021 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/50'
MAIN: 2025-05-19 12:50:10,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:50:38,156 - INFO - taking picture
MAIN: 2025-05-19 12:50:38,157 - INFO - we take 761 photos in this while loop
MAIN: 2025-05-19 12:50:38,157 - INFO - /home/pi/Desktop/images/19052025/12/50/image_19052025_12_50_37_28747.jpg
MAIN: 2025-05-19 12:50:38,158 - INFO - duration: 1.4753803189996688
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:51:08,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 ! 
MAIN: 2025-05-19 12:51:08,838 - INFO - taking picture
MAIN: 2025-05-19 12:51:08,839 - INFO - we take 762 photos in this while loop
MAIN: 2025-05-19 12:51:08,839 - INFO - /home/pi/Desktop/images/19052025/12/50/image_19052025_12_51_07_30626.jpg
MAIN: 2025-05-19 12:51:08,840 - INFO - duration: 1.531428048001544
MAIN: 2025-05-19 12:51:08,841 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/51'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:51:38,350 - INFO - taking picture
MAIN: 2025-05-19 12:51:38,351 - INFO - we take 763 photos in this while loop
MAIN: 2025-05-19 12:51:38,352 - INFO - /home/pi/Desktop/images/19052025/12/51/image_19052025_12_51_37_29598.jpg
MAIN: 2025-05-19 12:51:38,352 - INFO - duration: 1.4451356780009519
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:52:07,976 - INFO - taking picture
MAIN: 2025-05-19 12:52:07,977 - INFO - we take 764 photos in this while loop
MAIN: 2025-05-19 12:52:07,978 - INFO - /home/pi/Desktop/images/19052025/12/51/image_19052025_12_52_06_29297.jpg
MAIN: 2025-05-19 12:52:07,979 - INFO - duration: 1.7738090610000654
MAIN: 2025-05-19 12:52:08,249 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/52'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 12:52:09,316 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:52:37,645 - INFO - taking picture
MAIN: 2025-05-19 12:52:37,646 - INFO - we take 765 photos in this while loop
MAIN: 2025-05-19 12:52:37,647 - INFO - /home/pi/Desktop/images/19052025/12/52/image_19052025_12_52_36_29968.jpg
MAIN: 2025-05-19 12:52:37,647 - INFO - duration: 1.4735301969994907
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 12:53:07,893 - INFO - taking picture
MAIN: 2025-05-19 12:53:07,894 - INFO - we take 766 photos in this while loop
MAIN: 2025-05-19 12:53:07,895 - INFO - /home/pi/Desktop/images/19052025/12/52/image_19052025_12_53_06_30133.jpg
MAIN: 2025-05-19 12:53:07,895 - INFO - duration: 1.588272077999136
MAIN: 2025-05-19 12:53:07,896 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/53'
MAIN: 2025-05-19 12:53:08,390 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:53:38,930 - INFO - taking picture
MAIN: 2025-05-19 12:53:38,932 - INFO - we take 767 photos in this while loop
MAIN: 2025-05-19 12:53:38,932 - INFO - /home/pi/Desktop/images/19052025/12/53/image_19052025_12_53_38_31155.jpg
MAIN: 2025-05-19 12:53:38,932 - INFO - duration: 1.4698449560019071
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 12:54:08,550 - INFO - taking picture
MAIN: 2025-05-19 12:54:08,552 - INFO - we take 768 photos in this while loop
MAIN: 2025-05-19 12:54:08,552 - INFO - /home/pi/Desktop/images/19052025/12/53/image_19052025_12_54_07_29424.jpg
MAIN: 2025-05-19 12:54:08,553 - INFO - duration: 1.666267930999311
MAIN: 2025-05-19 12:54:08,554 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/54'
MAIN: 2025-05-19 12:54:09,123 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:54:38,136 - INFO - taking picture
MAIN: 2025-05-19 12:54:38,137 - INFO - we take 769 photos in this while loop
MAIN: 2025-05-19 12:54:38,137 - INFO - /home/pi/Desktop/images/19052025/12/54/image_19052025_12_54_37_29795.jpg
MAIN: 2025-05-19 12:54:38,138 - INFO - duration: 1.4554915349981457
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:55:09,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-05-19 12:55:09,598 - INFO - taking picture
MAIN: 2025-05-19 12:55:09,599 - INFO - we take 770 photos in this while loop
MAIN: 2025-05-19 12:55:09,600 - INFO - /home/pi/Desktop/images/19052025/12/54/image_19052025_12_55_08_30863.jpg
MAIN: 2025-05-19 12:55:09,600 - INFO - duration: 2.0545900180004537
MAIN: 2025-05-19 12:55:09,602 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/55'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:55:37,977 - INFO - taking picture
MAIN: 2025-05-19 12:55:37,978 - INFO - we take 771 photos in this while loop
MAIN: 2025-05-19 12:55:37,978 - INFO - /home/pi/Desktop/images/19052025/12/55/image_19052025_12_55_37_28936.jpg
MAIN: 2025-05-19 12:55:37,979 - INFO - duration: 1.4960384639998665
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 12:56:09,158 - INFO - taking picture
MAIN: 2025-05-19 12:56:09,159 - INFO - we take 772 photos in this while loop
MAIN: 2025-05-19 12:56:09,159 - INFO - /home/pi/Desktop/images/19052025/12/55/image_19052025_12_56_08_30941.jpg
MAIN: 2025-05-19 12:56:09,160 - INFO - duration: 1.7360053169977618
MAIN: 2025-05-19 12:56:09,161 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/56'
MAIN: 2025-05-19 12:56:09,260 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:56:38,626 - INFO - taking picture
MAIN: 2025-05-19 12:56:38,627 - INFO - we take 773 photos in this while loop
MAIN: 2025-05-19 12:56:38,627 - INFO - /home/pi/Desktop/images/19052025/12/56/image_19052025_12_56_37_29740.jpg
MAIN: 2025-05-19 12:56:38,628 - INFO - duration: 1.4629944119988068
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:57:08,758 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 12:57:09,130 - INFO - taking picture
MAIN: 2025-05-19 12:57:09,131 - INFO - we take 774 photos in this while loop
MAIN: 2025-05-19 12:57:09,131 - INFO - /home/pi/Desktop/images/19052025/12/56/image_19052025_12_57_08_30249.jpg
MAIN: 2025-05-19 12:57:09,132 - INFO - duration: 1.7176744490025158
MAIN: 2025-05-19 12:57:09,132 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/57'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:57:38,575 - INFO - taking picture
MAIN: 2025-05-19 12:57:38,576 - INFO - we take 775 photos in this while loop
MAIN: 2025-05-19 12:57:38,576 - INFO - /home/pi/Desktop/images/19052025/12/57/image_19052025_12_57_37_29701.jpg
MAIN: 2025-05-19 12:57:38,577 - INFO - duration: 1.4617933520021325
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:58:08,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 ! 
MAIN: 2025-05-19 12:58:09,314 - INFO - taking picture
MAIN: 2025-05-19 12:58:09,315 - INFO - we take 776 photos in this while loop
MAIN: 2025-05-19 12:58:09,315 - INFO - /home/pi/Desktop/images/19052025/12/57/image_19052025_12_58_08_30429.jpg
MAIN: 2025-05-19 12:58:09,316 - INFO - duration: 1.7709673770004883
MAIN: 2025-05-19 12:58:09,317 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:58:38,973 - INFO - taking picture
MAIN: 2025-05-19 12:58:38,974 - INFO - we take 777 photos in this while loop
MAIN: 2025-05-19 12:58:38,975 - INFO - /home/pi/Desktop/images/19052025/12/58/image_19052025_12_58_38_29980.jpg
MAIN: 2025-05-19 12:58:38,975 - INFO - duration: 1.449594473997422
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:59:08,750 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 12:59:08,952 - INFO - taking picture
MAIN: 2025-05-19 12:59:08,954 - INFO - we take 778 photos in this while loop
MAIN: 2025-05-19 12:59:08,954 - INFO - /home/pi/Desktop/images/19052025/12/58/image_19052025_12_59_08_29855.jpg
MAIN: 2025-05-19 12:59:08,955 - INFO - duration: 1.5732096409992664
MAIN: 2025-05-19 12:59:08,956 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/12/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 12:59:38,585 - INFO - taking picture
MAIN: 2025-05-19 12:59:38,586 - INFO - we take 779 photos in this while loop
MAIN: 2025-05-19 12:59:38,586 - INFO - /home/pi/Desktop/images/19052025/12/59/image_19052025_12_59_37_29727.jpg
MAIN: 2025-05-19 12:59:38,587 - INFO - duration: 1.4776891640030954
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:00:08,600 - INFO - taking picture
MAIN: 2025-05-19 13:00:08,609 - INFO - we take 780 photos in this while loop
MAIN: 2025-05-19 13:00:08,610 - INFO - /home/pi/Desktop/images/19052025/12/59/image_19052025_13_00_07_29186.jpg
MAIN: 2025-05-19 13:00:08,613 - INFO - duration: 2.3175562389988045
MAIN: 2025-05-19 13:00:08,777 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/00'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 13:00:09,838 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:00:38,178 - INFO - taking picture
MAIN: 2025-05-19 13:00:38,179 - INFO - we take 781 photos in this while loop
MAIN: 2025-05-19 13:00:38,180 - INFO - /home/pi/Desktop/images/19052025/13/00/image_19052025_13_00_37_30440.jpg
MAIN: 2025-05-19 13:00:38,180 - INFO - duration: 1.44443194500127
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:01:08,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 ! 
MAIN: 2025-05-19 13:01:08,513 - INFO - taking picture
MAIN: 2025-05-19 13:01:08,514 - INFO - we take 782 photos in this while loop
MAIN: 2025-05-19 13:01:08,515 - INFO - /home/pi/Desktop/images/19052025/13/00/image_19052025_13_01_07_30222.jpg
MAIN: 2025-05-19 13:01:08,515 - INFO - duration: 1.5570561149979767
MAIN: 2025-05-19 13:01:08,516 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:01:37,894 - INFO - taking picture
MAIN: 2025-05-19 13:01:37,895 - INFO - we take 783 photos in this while loop
MAIN: 2025-05-19 13:01:37,895 - INFO - /home/pi/Desktop/images/19052025/13/01/image_19052025_13_01_36_29450.jpg
MAIN: 2025-05-19 13:01:37,896 - INFO - duration: 1.4872405499991146
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:02:08,988 - INFO - taking picture
MAIN: 2025-05-19 13:02:08,989 - INFO - we take 784 photos in this while loop
MAIN: 2025-05-19 13:02:08,989 - INFO - /home/pi/Desktop/images/19052025/13/01/image_19052025_13_02_08_31052.jpg
MAIN: 2025-05-19 13:02:08,990 - INFO - duration: 1.5292350469972007
MAIN: 2025-05-19 13:02:08,991 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/02'
MAIN: 2025-05-19 13:02:09,157 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:02:38,411 - INFO - taking picture
MAIN: 2025-05-19 13:02:38,412 - INFO - we take 785 photos in this while loop
MAIN: 2025-05-19 13:02:38,412 - INFO - /home/pi/Desktop/images/19052025/13/02/image_19052025_13_02_37_29510.jpg
MAIN: 2025-05-19 13:02:38,413 - INFO - duration: 1.4415790630009724
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:03:08,930 - INFO - taking picture
MAIN: 2025-05-19 13:03:08,931 - INFO - we take 786 photos in this while loop
MAIN: 2025-05-19 13:03:08,932 - INFO - /home/pi/Desktop/images/19052025/13/02/image_19052025_13_03_08_30445.jpg
MAIN: 2025-05-19 13:03:08,932 - INFO - duration: 1.5155711900006281
MAIN: 2025-05-19 13:03:08,933 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/03'
MAIN: 2025-05-19 13:03:08,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:03:38,412 - INFO - taking picture
MAIN: 2025-05-19 13:03:38,413 - INFO - we take 787 photos in this while loop
MAIN: 2025-05-19 13:03:38,413 - INFO - /home/pi/Desktop/images/19052025/13/03/image_19052025_13_03_37_29555.jpg
MAIN: 2025-05-19 13:03:38,414 - INFO - duration: 1.4412389760000224
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:04:08,163 - INFO - taking picture
MAIN: 2025-05-19 13:04:08,169 - INFO - we take 788 photos in this while loop
MAIN: 2025-05-19 13:04:08,170 - INFO - /home/pi/Desktop/images/19052025/13/03/image_19052025_13_04_06_29134.jpg
MAIN: 2025-05-19 13:04:08,170 - INFO - duration: 2.063677557001938
MAIN: 2025-05-19 13:04:08,227 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/04'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 13:04:09,281 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:04:39,020 - INFO - taking picture
MAIN: 2025-05-19 13:04:39,021 - INFO - we take 789 photos in this while loop
MAIN: 2025-05-19 13:04:39,021 - INFO - /home/pi/Desktop/images/19052025/13/04/image_19052025_13_04_38_31471.jpg
MAIN: 2025-05-19 13:04:39,022 - INFO - duration: 1.4439665059981053
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:05:08,501 - INFO - taking picture
MAIN: 2025-05-19 13:05:08,503 - INFO - we take 790 photos in this while loop
MAIN: 2025-05-19 13:05:08,504 - INFO - /home/pi/Desktop/images/19052025/13/04/image_19052025_13_05_07_29007.jpg
MAIN: 2025-05-19 13:05:08,514 - INFO - duration: 1.9282128209997609
MAIN: 2025-05-19 13:05:08,667 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/05'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 13:05:09,748 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:05:38,350 - INFO - taking picture
MAIN: 2025-05-19 13:05:38,351 - INFO - we take 791 photos in this while loop
MAIN: 2025-05-19 13:05:38,352 - INFO - /home/pi/Desktop/images/19052025/13/05/image_19052025_13_05_37_30286.jpg
MAIN: 2025-05-19 13:05:38,352 - INFO - duration: 1.4802302620009868
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:06:09,399 - INFO - cam.read() return no image
MAIN: 2025-05-19 13:06:09,400 - INFO - taking picture
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 13:06:09,401 - INFO - we take 792 photos in this while loop
MAIN: 2025-05-19 13:06:09,402 - INFO - /home/pi/Desktop/images/19052025/13/05/image_19052025_13_06_08_30846.jpg
MAIN: 2025-05-19 13:06:09,402 - INFO - duration: 1.6837471329999971
MAIN: 2025-05-19 13:06:09,403 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:06:39,004 - INFO - taking picture
MAIN: 2025-05-19 13:06:39,005 - INFO - we take 793 photos in this while loop
MAIN: 2025-05-19 13:06:39,006 - INFO - /home/pi/Desktop/images/19052025/13/06/image_19052025_13_06_38_29810.jpg
MAIN: 2025-05-19 13:06:39,006 - INFO - duration: 1.476543838998623
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:07:07,854 - INFO - taking picture
MAIN: 2025-05-19 13:07:07,855 - INFO - we take 794 photos in this while loop
MAIN: 2025-05-19 13:07:07,855 - INFO - /home/pi/Desktop/images/19052025/13/06/image_19052025_13_07_06_28747.jpg
MAIN: 2025-05-19 13:07:07,856 - INFO - duration: 1.5786179030001222
MAIN: 2025-05-19 13:07:07,857 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/07'
MAIN: 2025-05-19 13:07:08,456 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:07:38,890 - INFO - taking picture
MAIN: 2025-05-19 13:07:38,891 - INFO - we take 795 photos in this while loop
MAIN: 2025-05-19 13:07:38,891 - INFO - /home/pi/Desktop/images/19052025/13/07/image_19052025_13_07_37_31125.jpg
MAIN: 2025-05-19 13:07:38,892 - INFO - duration: 1.4884232039985363
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:08:08,476 - INFO - taking picture
MAIN: 2025-05-19 13:08:08,478 - INFO - we take 796 photos in this while loop
MAIN: 2025-05-19 13:08:08,478 - INFO - /home/pi/Desktop/images/19052025/13/07/image_19052025_13_08_07_29228.jpg
MAIN: 2025-05-19 13:08:08,478 - INFO - duration: 1.8469585640013975
MAIN: 2025-05-19 13:08:08,479 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/08'
MAIN: 2025-05-19 13:08:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:08:38,213 - INFO - taking picture
MAIN: 2025-05-19 13:08:38,214 - INFO - we take 797 photos in this while loop
MAIN: 2025-05-19 13:08:38,215 - INFO - /home/pi/Desktop/images/19052025/13/08/image_19052025_13_08_37_30096.jpg
MAIN: 2025-05-19 13:08:38,215 - INFO - duration: 1.4876600060015335
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:09:08,472 - INFO - taking picture
MAIN: 2025-05-19 13:09:08,474 - INFO - we take 798 photos in this while loop
MAIN: 2025-05-19 13:09:08,474 - INFO - /home/pi/Desktop/images/19052025/13/08/image_19052025_13_09_07_30021.jpg
MAIN: 2025-05-19 13:09:08,475 - INFO - duration: 1.726192781003192
MAIN: 2025-05-19 13:09:08,476 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/09'
MAIN: 2025-05-19 13:09:08,997 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:09:37,962 - INFO - taking picture
MAIN: 2025-05-19 13:09:37,963 - INFO - we take 799 photos in this while loop
MAIN: 2025-05-19 13:09:37,964 - INFO - /home/pi/Desktop/images/19052025/13/09/image_19052025_13_09_37_29765.jpg
MAIN: 2025-05-19 13:09:37,964 - INFO - duration: 1.4502063969994197
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:10:10,147 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 13:10:10,151 - INFO - taking picture
MAIN: 2025-05-19 13:10:10,152 - INFO - we take 800 photos in this while loop
MAIN: 2025-05-19 13:10:10,153 - INFO - /home/pi/Desktop/images/19052025/13/09/image_19052025_13_10_08_31180.jpg
MAIN: 2025-05-19 13:10:10,154 - INFO - duration: 2.4585607859989977
MAIN: 2025-05-19 13:10:10,155 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/10'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:10:38,335 - INFO - taking picture
MAIN: 2025-05-19 13:10:38,336 - INFO - we take 801 photos in this while loop
MAIN: 2025-05-19 13:10:38,337 - INFO - /home/pi/Desktop/images/19052025/13/10/image_19052025_13_10_37_29177.jpg
MAIN: 2025-05-19 13:10:38,337 - INFO - duration: 1.464346224001929
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:11:08,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 ! 
MAIN: 2025-05-19 13:11:08,950 - INFO - taking picture
MAIN: 2025-05-19 13:11:08,952 - INFO - we take 802 photos in this while loop
MAIN: 2025-05-19 13:11:08,952 - INFO - /home/pi/Desktop/images/19052025/13/10/image_19052025_13_11_08_30596.jpg
MAIN: 2025-05-19 13:11:08,952 - INFO - duration: 1.4826410220011894
MAIN: 2025-05-19 13:11:08,953 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:11:38,541 - INFO - taking picture
MAIN: 2025-05-19 13:11:38,542 - INFO - we take 803 photos in this while loop
MAIN: 2025-05-19 13:11:38,542 - INFO - /home/pi/Desktop/images/19052025/13/11/image_19052025_13_11_37_29616.jpg
MAIN: 2025-05-19 13:11:38,543 - INFO - duration: 1.4558933910011547
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:12:08,628 - INFO - taking picture
MAIN: 2025-05-19 13:12:08,630 - INFO - we take 804 photos in this while loop
MAIN: 2025-05-19 13:12:08,630 - INFO - /home/pi/Desktop/images/19052025/13/11/image_19052025_13_12_07_29417.jpg
MAIN: 2025-05-19 13:12:08,631 - INFO - duration: 2.1268007990001934
MAIN: 2025-05-19 13:12:08,690 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/12'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 13:12:09,750 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:12:38,135 - INFO - taking picture
MAIN: 2025-05-19 13:12:38,136 - INFO - we take 805 photos in this while loop
MAIN: 2025-05-19 13:12:38,137 - INFO - /home/pi/Desktop/images/19052025/13/12/image_19052025_13_12_37_30178.jpg
MAIN: 2025-05-19 13:12:38,137 - INFO - duration: 1.4546146000029694
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:13:08,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-05-19 13:13:08,492 - INFO - taking picture
MAIN: 2025-05-19 13:13:08,494 - INFO - we take 806 photos in this while loop
MAIN: 2025-05-19 13:13:08,494 - INFO - /home/pi/Desktop/images/19052025/13/12/image_19052025_13_13_07_30288.jpg
MAIN: 2025-05-19 13:13:08,495 - INFO - duration: 1.5237856169987936
MAIN: 2025-05-19 13:13:08,495 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:13:38,060 - INFO - taking picture
MAIN: 2025-05-19 13:13:38,062 - INFO - we take 807 photos in this while loop
MAIN: 2025-05-19 13:13:38,062 - INFO - /home/pi/Desktop/images/19052025/13/13/image_19052025_13_13_37_29650.jpg
MAIN: 2025-05-19 13:13:38,062 - INFO - duration: 1.44111017600153
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:14:09,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 ! 
MAIN: 2025-05-19 13:14:09,367 - INFO - taking picture
MAIN: 2025-05-19 13:14:09,368 - INFO - we take 808 photos in this while loop
MAIN: 2025-05-19 13:14:09,369 - INFO - /home/pi/Desktop/images/19052025/13/13/image_19052025_13_14_08_31046.jpg
MAIN: 2025-05-19 13:14:09,369 - INFO - duration: 1.70077899700118
MAIN: 2025-05-19 13:14:09,370 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/14'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:14:38,870 - INFO - taking picture
MAIN: 2025-05-19 13:14:38,871 - INFO - we take 809 photos in this while loop
MAIN: 2025-05-19 13:14:38,872 - INFO - /home/pi/Desktop/images/19052025/13/14/image_19052025_13_14_37_29760.jpg
MAIN: 2025-05-19 13:14:38,872 - INFO - duration: 1.4432790689970716
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:15:08,618 - INFO - taking picture
MAIN: 2025-05-19 13:15:08,619 - INFO - we take 810 photos in this while loop
MAIN: 2025-05-19 13:15:08,619 - INFO - /home/pi/Desktop/images/19052025/13/14/image_19052025_13_15_07_29326.jpg
MAIN: 2025-05-19 13:15:08,620 - INFO - duration: 1.864388740999857
MAIN: 2025-05-19 13:15:08,653 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/15'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 13:15:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:15:38,105 - INFO - taking picture
MAIN: 2025-05-19 13:15:38,106 - INFO - we take 811 photos in this while loop
MAIN: 2025-05-19 13:15:38,106 - INFO - /home/pi/Desktop/images/19052025/13/15/image_19052025_13_15_37_29854.jpg
MAIN: 2025-05-19 13:15:38,107 - INFO - duration: 1.4965661670030386
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:16:09,565 - INFO - taking picture
MAIN: 2025-05-19 13:16:09,566 - INFO - we take 812 photos in this while loop
MAIN: 2025-05-19 13:16:09,567 - INFO - /home/pi/Desktop/images/19052025/13/15/image_19052025_13_16_08_31047.jpg
MAIN: 2025-05-19 13:16:09,568 - INFO - duration: 1.910074925999652
MAIN: 2025-05-19 13:16:09,570 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/16'
MAIN: 2025-05-19 13:16:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:16:37,868 - INFO - taking picture
MAIN: 2025-05-19 13:16:37,869 - INFO - we take 813 photos in this while loop
MAIN: 2025-05-19 13:16:37,870 - INFO - /home/pi/Desktop/images/19052025/13/16/image_19052025_13_16_36_28719.jpg
MAIN: 2025-05-19 13:16:37,870 - INFO - duration: 1.493244784000126
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:17:08,537 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 13:17:08,727 - INFO - taking picture
MAIN: 2025-05-19 13:17:08,728 - INFO - we take 814 photos in this while loop
MAIN: 2025-05-19 13:17:08,728 - INFO - /home/pi/Desktop/images/19052025/13/16/image_19052025_13_17_07_30769.jpg
MAIN: 2025-05-19 13:17:08,729 - INFO - duration: 1.582437982000556
MAIN: 2025-05-19 13:17:08,730 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/17'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:17:38,192 - INFO - taking picture
MAIN: 2025-05-19 13:17:38,193 - INFO - we take 815 photos in this while loop
MAIN: 2025-05-19 13:17:38,194 - INFO - /home/pi/Desktop/images/19052025/13/17/image_19052025_13_17_37_29606.jpg
MAIN: 2025-05-19 13:17:38,194 - INFO - duration: 1.44160397199812
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:18:09,027 - INFO - taking picture
MAIN: 2025-05-19 13:18:09,028 - INFO - we take 816 photos in this while loop
MAIN: 2025-05-19 13:18:09,029 - INFO - /home/pi/Desktop/images/19052025/13/17/image_19052025_13_18_08_30627.jpg
MAIN: 2025-05-19 13:18:09,029 - INFO - duration: 1.649221581999882
MAIN: 2025-05-19 13:18:09,030 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/18'
MAIN: 2025-05-19 13:18:09,408 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:18:38,387 - INFO - taking picture
MAIN: 2025-05-19 13:18:38,388 - INFO - we take 817 photos in this while loop
MAIN: 2025-05-19 13:18:38,389 - INFO - /home/pi/Desktop/images/19052025/13/18/image_19052025_13_18_37_29566.jpg
MAIN: 2025-05-19 13:18:38,389 - INFO - duration: 1.4423967379989335
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:19:08,520 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 13:19:08,617 - INFO - taking picture
MAIN: 2025-05-19 13:19:08,618 - INFO - we take 818 photos in this while loop
MAIN: 2025-05-19 13:19:08,619 - INFO - /home/pi/Desktop/images/19052025/13/18/image_19052025_13_19_07_30093.jpg
MAIN: 2025-05-19 13:19:08,619 - INFO - duration: 1.5784089410008164
MAIN: 2025-05-19 13:19:08,620 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/19'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:19:38,117 - INFO - taking picture
MAIN: 2025-05-19 13:19:38,118 - INFO - we take 819 photos in this while loop
MAIN: 2025-05-19 13:19:38,119 - INFO - /home/pi/Desktop/images/19052025/13/19/image_19052025_13_19_37_29636.jpg
MAIN: 2025-05-19 13:19:38,119 - INFO - duration: 1.4420843400002923
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:20:09,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 ! 
MAIN: 2025-05-19 13:20:10,161 - INFO - taking picture
MAIN: 2025-05-19 13:20:10,162 - INFO - we take 820 photos in this while loop
MAIN: 2025-05-19 13:20:10,162 - INFO - /home/pi/Desktop/images/19052025/13/19/image_19052025_13_20_08_31158.jpg
MAIN: 2025-05-19 13:20:10,162 - INFO - duration: 2.3266022940006224
MAIN: 2025-05-19 13:20:10,163 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/20'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:20:38,027 - INFO - taking picture
MAIN: 2025-05-19 13:20:38,028 - INFO - we take 821 photos in this while loop
MAIN: 2025-05-19 13:20:38,029 - INFO - /home/pi/Desktop/images/19052025/13/20/image_19052025_13_20_37_28747.jpg
MAIN: 2025-05-19 13:20:38,029 - INFO - duration: 1.446223082002689
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:21:08,627 - INFO - taking picture
MAIN: 2025-05-19 13:21:08,628 - INFO - we take 822 photos in this while loop
MAIN: 2025-05-19 13:21:08,629 - INFO - /home/pi/Desktop/images/19052025/13/20/image_19052025_13_21_07_30473.jpg
MAIN: 2025-05-19 13:21:08,629 - INFO - duration: 1.5734342469986586
MAIN: 2025-05-19 13:21:08,630 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/21'
MAIN: 2025-05-19 13:21:08,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:21:38,071 - INFO - taking picture
MAIN: 2025-05-19 13:21:38,072 - INFO - we take 823 photos in this while loop
MAIN: 2025-05-19 13:21:38,072 - INFO - /home/pi/Desktop/images/19052025/13/21/image_19052025_13_21_37_29574.jpg
MAIN: 2025-05-19 13:21:38,072 - INFO - duration: 1.4417355700024928
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:22:09,756 - INFO - taking picture
MAIN: 2025-05-19 13:22:09,757 - INFO - we take 824 photos in this while loop
MAIN: 2025-05-19 13:22:09,758 - INFO - /home/pi/Desktop/images/19052025/13/21/image_19052025_13_22_08_31201.jpg
MAIN: 2025-05-19 13:22:09,758 - INFO - duration: 1.92554361600196
MAIN: 2025-05-19 13:22:09,759 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/22'
MAIN: 2025-05-19 13:22:10,032 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:22:37,806 - INFO - taking picture
MAIN: 2025-05-19 13:22:37,807 - INFO - we take 825 photos in this while loop
MAIN: 2025-05-19 13:22:37,808 - INFO - /home/pi/Desktop/images/19052025/13/22/image_19052025_13_22_36_28500.jpg
MAIN: 2025-05-19 13:22:37,808 - INFO - duration: 1.4744880020007258
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:23:08,351 - INFO - taking picture
MAIN: 2025-05-19 13:23:08,352 - INFO - we take 826 photos in this while loop
MAIN: 2025-05-19 13:23:08,353 - INFO - /home/pi/Desktop/images/19052025/13/22/image_19052025_13_23_07_30459.jpg
MAIN: 2025-05-19 13:23:08,354 - INFO - duration: 1.5608335949982575
MAIN: 2025-05-19 13:23:08,355 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/23'
MAIN: 2025-05-19 13:23:08,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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:23:37,959 - INFO - taking picture
MAIN: 2025-05-19 13:23:37,960 - INFO - we take 827 photos in this while loop
MAIN: 2025-05-19 13:23:37,960 - INFO - /home/pi/Desktop/images/19052025/13/23/image_19052025_13_23_37_29699.jpg
MAIN: 2025-05-19 13:23:37,961 - INFO - duration: 1.4680967839994992
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:24:09,102 - INFO - taking picture
MAIN: 2025-05-19 13:24:09,103 - INFO - we take 828 photos in this while loop
MAIN: 2025-05-19 13:24:09,104 - INFO - /home/pi/Desktop/images/19052025/13/23/image_19052025_13_24_07_30783.jpg
MAIN: 2025-05-19 13:24:09,105 - INFO - duration: 1.8284863500011852
MAIN: 2025-05-19 13:24:09,106 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/24'
MAIN: 2025-05-19 13:24:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:24:38,434 - INFO - taking picture
MAIN: 2025-05-19 13:24:38,435 - INFO - we take 829 photos in this while loop
MAIN: 2025-05-19 13:24:38,436 - INFO - /home/pi/Desktop/images/19052025/13/24/image_19052025_13_24_37_29715.jpg
MAIN: 2025-05-19 13:24:38,436 - INFO - duration: 1.444169676000456
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:25:09,611 - INFO - taking picture
MAIN: 2025-05-19 13:25:09,613 - INFO - we take 830 photos in this while loop
MAIN: 2025-05-19 13:25:09,613 - INFO - /home/pi/Desktop/images/19052025/13/24/image_19052025_13_25_08_30613.jpg
MAIN: 2025-05-19 13:25:09,614 - INFO - duration: 2.008490668002196
MAIN: 2025-05-19 13:25:09,615 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/25'
MAIN: 2025-05-19 13:25:10,051 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:25:37,715 - INFO - taking picture
MAIN: 2025-05-19 13:25:37,716 - INFO - we take 831 photos in this while loop
MAIN: 2025-05-19 13:25:37,717 - INFO - /home/pi/Desktop/images/19052025/13/25/image_19052025_13_25_36_28661.jpg
MAIN: 2025-05-19 13:25:37,717 - INFO - duration: 1.4499123050009075
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:26:08,493 - INFO - taking picture
MAIN: 2025-05-19 13:26:08,494 - INFO - we take 832 photos in this while loop
MAIN: 2025-05-19 13:26:08,495 - INFO - /home/pi/Desktop/images/19052025/13/25/image_19052025_13_26_07_30547.jpg
MAIN: 2025-05-19 13:26:08,495 - INFO - duration: 1.6803087959997356
MAIN: 2025-05-19 13:26:08,496 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/26'
MAIN: 2025-05-19 13:26:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:26:38,168 - INFO - taking picture
MAIN: 2025-05-19 13:26:38,169 - INFO - we take 833 photos in this while loop
MAIN: 2025-05-19 13:26:38,170 - INFO - /home/pi/Desktop/images/19052025/13/26/image_19052025_13_26_37_29884.jpg
MAIN: 2025-05-19 13:26:38,170 - INFO - duration: 1.4712325379987305
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:27:08,510 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 13:27:08,863 - INFO - taking picture
MAIN: 2025-05-19 13:27:08,864 - INFO - we take 834 photos in this while loop
MAIN: 2025-05-19 13:27:08,864 - INFO - /home/pi/Desktop/images/19052025/13/26/image_19052025_13_27_07_30562.jpg
MAIN: 2025-05-19 13:27:08,864 - INFO - duration: 1.6033988119997957
MAIN: 2025-05-19 13:27:08,865 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/27'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:27:38,157 - INFO - taking picture
MAIN: 2025-05-19 13:27:38,158 - INFO - we take 835 photos in this while loop
MAIN: 2025-05-19 13:27:38,158 - INFO - /home/pi/Desktop/images/19052025/13/27/image_19052025_13_27_37_29426.jpg
MAIN: 2025-05-19 13:27:38,159 - INFO - duration: 1.4707579749992874
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:28:09,021 - INFO - taking picture
MAIN: 2025-05-19 13:28:09,022 - INFO - we take 836 photos in this while loop
MAIN: 2025-05-19 13:28:09,023 - INFO - /home/pi/Desktop/images/19052025/13/27/image_19052025_13_28_07_30487.jpg
MAIN: 2025-05-19 13:28:09,023 - INFO - duration: 1.8481362579987035
MAIN: 2025-05-19 13:28:09,025 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/28'
MAIN: 2025-05-19 13:28:09,510 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:28:38,513 - INFO - taking picture
MAIN: 2025-05-19 13:28:38,514 - INFO - we take 837 photos in this while loop
MAIN: 2025-05-19 13:28:38,514 - INFO - /home/pi/Desktop/images/19052025/13/28/image_19052025_13_28_37_29895.jpg
MAIN: 2025-05-19 13:28:38,515 - INFO - duration: 1.4441544479996082
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:29:08,300 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 13:29:08,790 - INFO - taking picture
MAIN: 2025-05-19 13:29:08,791 - INFO - we take 838 photos in this while loop
MAIN: 2025-05-19 13:29:08,791 - INFO - /home/pi/Desktop/images/19052025/13/28/image_19052025_13_29_07_30207.jpg
MAIN: 2025-05-19 13:29:08,792 - INFO - duration: 1.5139970700001868
MAIN: 2025-05-19 13:29:08,793 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:29:38,244 - INFO - taking picture
MAIN: 2025-05-19 13:29:38,245 - INFO - we take 839 photos in this while loop
MAIN: 2025-05-19 13:29:38,245 - INFO - /home/pi/Desktop/images/19052025/13/29/image_19052025_13_29_37_29525.jpg
MAIN: 2025-05-19 13:29:38,246 - INFO - duration: 1.4421339939981408
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:30:10,221 - INFO - taking picture
MAIN: 2025-05-19 13:30:10,223 - INFO - we take 840 photos in this while loop
MAIN: 2025-05-19 13:30:10,223 - INFO - /home/pi/Desktop/images/19052025/13/29/image_19052025_13_30_08_31260.jpg
MAIN: 2025-05-19 13:30:10,224 - INFO - duration: 2.1597476429997187
MAIN: 2025-05-19 13:30:10,225 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/30'
MAIN: 2025-05-19 13:30:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:30:38,276 - INFO - taking picture
MAIN: 2025-05-19 13:30:38,277 - INFO - we take 841 photos in this while loop
MAIN: 2025-05-19 13:30:38,277 - INFO - /home/pi/Desktop/images/19052025/13/30/image_19052025_13_30_37_28741.jpg
MAIN: 2025-05-19 13:30:38,278 - INFO - duration: 1.4720716690026165
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:31:08,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 ! 
MAIN: 2025-05-19 13:31:09,364 - INFO - taking picture
MAIN: 2025-05-19 13:31:09,365 - INFO - we take 842 photos in this while loop
MAIN: 2025-05-19 13:31:09,365 - INFO - /home/pi/Desktop/images/19052025/13/30/image_19052025_13_31_07_30414.jpg
MAIN: 2025-05-19 13:31:09,366 - INFO - duration: 2.14620531699984
MAIN: 2025-05-19 13:31:09,367 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:31:39,043 - INFO - taking picture
MAIN: 2025-05-19 13:31:39,044 - INFO - we take 843 photos in this while loop
MAIN: 2025-05-19 13:31:39,045 - INFO - /home/pi/Desktop/images/19052025/13/31/image_19052025_13_31_38_30346.jpg
MAIN: 2025-05-19 13:31:39,045 - INFO - duration: 1.4796650690004753
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:32:08,808 - INFO - taking picture
MAIN: 2025-05-19 13:32:08,810 - INFO - we take 844 photos in this while loop
MAIN: 2025-05-19 13:32:08,810 - INFO - /home/pi/Desktop/images/19052025/13/31/image_19052025_13_32_07_29159.jpg
MAIN: 2025-05-19 13:32:08,811 - INFO - duration: 2.0857253760004824
MAIN: 2025-05-19 13:32:08,812 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/32'
MAIN: 2025-05-19 13:32:09,541 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:32:38,208 - INFO - taking picture
MAIN: 2025-05-19 13:32:38,210 - INFO - we take 845 photos in this while loop
MAIN: 2025-05-19 13:32:38,210 - INFO - /home/pi/Desktop/images/19052025/13/32/image_19052025_13_32_37_30035.jpg
MAIN: 2025-05-19 13:32:38,210 - INFO - duration: 1.44956189700315
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 13:33:07,705 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:33:09,157 - INFO - taking picture
MAIN: 2025-05-19 13:33:09,158 - INFO - we take 846 photos in this while loop
MAIN: 2025-05-19 13:33:09,159 - INFO - /home/pi/Desktop/images/19052025/13/32/image_19052025_13_33_08_30510.jpg
MAIN: 2025-05-19 13:33:09,160 - INFO - duration: 1.8886025989995687
MAIN: 2025-05-19 13:33:09,161 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/33'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:33:38,520 - INFO - taking picture
MAIN: 2025-05-19 13:33:38,522 - INFO - we take 847 photos in this while loop
MAIN: 2025-05-19 13:33:38,522 - INFO - /home/pi/Desktop/images/19052025/13/33/image_19052025_13_33_37_29806.jpg
MAIN: 2025-05-19 13:33:38,522 - INFO - duration: 1.4451426359992183
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:34:09,327 - INFO - taking picture
MAIN: 2025-05-19 13:34:09,328 - INFO - we take 848 photos in this while loop
MAIN: 2025-05-19 13:34:09,329 - INFO - /home/pi/Desktop/images/19052025/13/33/image_19052025_13_34_08_30727.jpg
MAIN: 2025-05-19 13:34:09,329 - INFO - duration: 1.5246785910021572
MAIN: 2025-05-19 13:34:09,331 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/34'
MAIN: 2025-05-19 13:34:09,482 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:34:39,053 - INFO - taking picture
MAIN: 2025-05-19 13:34:39,054 - INFO - we take 849 photos in this while loop
MAIN: 2025-05-19 13:34:39,054 - INFO - /home/pi/Desktop/images/19052025/13/34/image_19052025_13_34_38_29776.jpg
MAIN: 2025-05-19 13:34:39,055 - INFO - duration: 1.4733563469999353
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:35:08,992 - INFO - taking picture
MAIN: 2025-05-19 13:35:08,993 - INFO - we take 850 photos in this while loop
MAIN: 2025-05-19 13:35:08,994 - INFO - /home/pi/Desktop/images/19052025/13/34/image_19052025_13_35_07_29093.jpg
MAIN: 2025-05-19 13:35:08,995 - INFO - duration: 2.319785353000043
MAIN: 2025-05-19 13:35:08,996 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/35'
MAIN: 2025-05-19 13:35:09,452 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:35:38,622 - INFO - taking picture
MAIN: 2025-05-19 13:35:38,623 - INFO - we take 851 photos in this while loop
MAIN: 2025-05-19 13:35:38,623 - INFO - /home/pi/Desktop/images/19052025/13/35/image_19052025_13_35_37_30505.jpg
MAIN: 2025-05-19 13:35:38,624 - INFO - duration: 1.4429569219973928
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:36:08,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-05-19 13:36:09,479 - INFO - taking picture
MAIN: 2025-05-19 13:36:09,480 - INFO - we take 852 photos in this while loop
MAIN: 2025-05-19 13:36:09,481 - INFO - /home/pi/Desktop/images/19052025/13/35/image_19052025_13_36_08_30670.jpg
MAIN: 2025-05-19 13:36:09,481 - INFO - duration: 1.6299392520013498
MAIN: 2025-05-19 13:36:09,482 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/36'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:36:38,982 - INFO - taking picture
MAIN: 2025-05-19 13:36:38,983 - INFO - we take 853 photos in this while loop
MAIN: 2025-05-19 13:36:38,984 - INFO - /home/pi/Desktop/images/19052025/13/36/image_19052025_13_36_38_29690.jpg
MAIN: 2025-05-19 13:36:38,984 - INFO - duration: 1.4426794600003632
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:37:07,940 - INFO - taking picture
MAIN: 2025-05-19 13:37:07,941 - INFO - we take 854 photos in this while loop
MAIN: 2025-05-19 13:37:07,942 - INFO - /home/pi/Desktop/images/19052025/13/36/image_19052025_13_37_06_28694.jpg
MAIN: 2025-05-19 13:37:07,942 - INFO - duration: 1.7062590130008175
MAIN: 2025-05-19 13:37:07,943 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/37'
MAIN: 2025-05-19 13:37:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:37:38,922 - INFO - taking picture
MAIN: 2025-05-19 13:37:38,924 - INFO - we take 855 photos in this while loop
MAIN: 2025-05-19 13:37:38,924 - INFO - /home/pi/Desktop/images/19052025/13/37/image_19052025_13_37_38_31243.jpg
MAIN: 2025-05-19 13:37:38,924 - INFO - duration: 1.444547307000903
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:38:08,717 - INFO - taking picture
MAIN: 2025-05-19 13:38:08,718 - INFO - we take 856 photos in this while loop
MAIN: 2025-05-19 13:38:08,718 - INFO - /home/pi/Desktop/images/19052025/13/37/image_19052025_13_38_07_29174.jpg
MAIN: 2025-05-19 13:38:08,719 - INFO - duration: 2.0639086139999563
MAIN: 2025-05-19 13:38:08,720 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/38'
MAIN: 2025-05-19 13:38:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:38:38,234 - INFO - taking picture
MAIN: 2025-05-19 13:38:38,235 - INFO - we take 857 photos in this while loop
MAIN: 2025-05-19 13:38:38,235 - INFO - /home/pi/Desktop/images/19052025/13/38/image_19052025_13_38_37_30134.jpg
MAIN: 2025-05-19 13:38:38,236 - INFO - duration: 1.4472646990034264
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:39:08,726 - INFO - taking picture
MAIN: 2025-05-19 13:39:08,728 - INFO - we take 858 photos in this while loop
MAIN: 2025-05-19 13:39:08,728 - INFO - /home/pi/Desktop/images/19052025/13/38/image_19052025_13_39_07_30356.jpg
MAIN: 2025-05-19 13:39:08,729 - INFO - duration: 1.5834843870034092
MAIN: 2025-05-19 13:39:08,730 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/39'
MAIN: 2025-05-19 13:39:09,053 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:39:38,332 - INFO - taking picture
MAIN: 2025-05-19 13:39:38,333 - INFO - we take 859 photos in this while loop
MAIN: 2025-05-19 13:39:38,334 - INFO - /home/pi/Desktop/images/19052025/13/39/image_19052025_13_39_37_29734.jpg
MAIN: 2025-05-19 13:39:38,334 - INFO - duration: 1.4540790769970044
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:40:08,818 - INFO - taking picture
MAIN: 2025-05-19 13:40:08,820 - INFO - we take 860 photos in this while loop
MAIN: 2025-05-19 13:40:08,820 - INFO - /home/pi/Desktop/images/19052025/13/39/image_19052025_13_40_07_29554.jpg
MAIN: 2025-05-19 13:40:08,821 - INFO - duration: 2.386471026002255
MAIN: 2025-05-19 13:40:08,823 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/40'
MAIN: 2025-05-19 13:40:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:40:38,153 - INFO - taking picture
MAIN: 2025-05-19 13:40:38,154 - INFO - we take 861 photos in this while loop
MAIN: 2025-05-19 13:40:38,155 - INFO - /home/pi/Desktop/images/19052025/13/40/image_19052025_13_40_37_30412.jpg
MAIN: 2025-05-19 13:40:38,155 - INFO - duration: 1.3080504190002102
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:41:08,239 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 13:41:08,741 - INFO - taking picture
MAIN: 2025-05-19 13:41:08,742 - INFO - we take 862 photos in this while loop
MAIN: 2025-05-19 13:41:08,742 - INFO - /home/pi/Desktop/images/19052025/13/40/image_19052025_13_41_07_30248.jpg
MAIN: 2025-05-19 13:41:08,743 - INFO - duration: 1.6476347040006658
MAIN: 2025-05-19 13:41:08,744 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/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=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:41:38,361 - INFO - taking picture
MAIN: 2025-05-19 13:41:38,362 - INFO - we take 863 photos in this while loop
MAIN: 2025-05-19 13:41:38,362 - INFO - /home/pi/Desktop/images/19052025/13/41/image_19052025_13_41_37_29795.jpg
MAIN: 2025-05-19 13:41:38,363 - INFO - duration: 1.471986411997932
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:42:09,250 - INFO - taking picture
MAIN: 2025-05-19 13:42:09,251 - INFO - we take 864 photos in this while loop
MAIN: 2025-05-19 13:42:09,252 - INFO - /home/pi/Desktop/images/19052025/13/41/image_19052025_13_42_08_30664.jpg
MAIN: 2025-05-19 13:42:09,252 - INFO - duration: 1.6975116430039634
MAIN: 2025-05-19 13:42:09,253 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/42'
MAIN: 2025-05-19 13:42:09,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:42:38,354 - INFO - taking picture
MAIN: 2025-05-19 13:42:38,355 - INFO - we take 865 photos in this while loop
MAIN: 2025-05-19 13:42:38,356 - INFO - /home/pi/Desktop/images/19052025/13/42/image_19052025_13_42_37_29357.jpg
MAIN: 2025-05-19 13:42:38,356 - INFO - duration: 1.4443590060036513
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 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-05-19 13:43:08,901 - INFO - taking picture
MAIN: 2025-05-19 13:43:08,902 - INFO - we take 866 photos in this while loop
MAIN: 2025-05-19 13:43:08,903 - INFO - /home/pi/Desktop/images/19052025/13/42/image_19052025_13_43_07_30453.jpg
MAIN: 2025-05-19 13:43:08,903 - INFO - duration: 1.5378848039981676
MAIN: 2025-05-19 13:43:08,904 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/43'
MAIN: 2025-05-19 13:43:09,002 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 13:43:38,256 - INFO - taking picture
MAIN: 2025-05-19 13:43:38,257 - INFO - we take 867 photos in this while loop
MAIN: 2025-05-19 13:43:38,258 - INFO - /home/pi/Desktop/images/19052025/13/43/image_19052025_13_43_37_29449.jpg
MAIN: 2025-05-19 13:43:38,258 - INFO - duration: 1.443548578004993
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:44:09,090 - INFO - taking picture
MAIN: 2025-05-19 13:44:09,091 - INFO - we take 868 photos in this while loop
MAIN: 2025-05-19 13:44:09,092 - INFO - /home/pi/Desktop/images/19052025/13/43/image_19052025_13_44_08_30770.jpg
MAIN: 2025-05-19 13:44:09,092 - INFO - duration: 1.506762331999198
MAIN: 2025-05-19 13:44:09,093 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/44'
MAIN: 2025-05-19 13:44:09,442 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:44:38,644 - INFO - taking picture
MAIN: 2025-05-19 13:44:38,646 - INFO - we take 869 photos in this while loop
MAIN: 2025-05-19 13:44:38,646 - INFO - /home/pi/Desktop/images/19052025/13/44/image_19052025_13_44_37_29624.jpg
MAIN: 2025-05-19 13:44:38,646 - INFO - duration: 1.4366938429957372
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:45:08,283 - INFO - taking picture
MAIN: 2025-05-19 13:45:08,284 - INFO - we take 870 photos in this while loop
MAIN: 2025-05-19 13:45:08,285 - INFO - /home/pi/Desktop/images/19052025/13/44/image_19052025_13_45_07_29075.jpg
MAIN: 2025-05-19 13:45:08,286 - INFO - duration: 2.001160179999715
MAIN: 2025-05-19 13:45:08,512 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/45'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 13:45:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:45:37,683 - INFO - taking picture
MAIN: 2025-05-19 13:45:37,684 - INFO - we take 871 photos in this while loop
MAIN: 2025-05-19 13:45:37,685 - INFO - /home/pi/Desktop/images/19052025/13/45/image_19052025_13_45_36_29962.jpg
MAIN: 2025-05-19 13:45:37,685 - INFO - duration: 1.4375670730005368
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:46:08,812 - INFO - taking picture
MAIN: 2025-05-19 13:46:08,813 - INFO - we take 872 photos in this while loop
MAIN: 2025-05-19 13:46:08,814 - INFO - /home/pi/Desktop/images/19052025/13/45/image_19052025_13_46_07_30721.jpg
MAIN: 2025-05-19 13:46:08,815 - INFO - duration: 1.84591633999662
MAIN: 2025-05-19 13:46:08,816 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/46'
MAIN: 2025-05-19 13:46:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:46:38,123 - INFO - taking picture
MAIN: 2025-05-19 13:46:38,125 - INFO - we take 873 photos in this while loop
MAIN: 2025-05-19 13:46:38,125 - INFO - /home/pi/Desktop/images/19052025/13/46/image_19052025_13_46_37_29670.jpg
MAIN: 2025-05-19 13:46:38,125 - INFO - duration: 1.4860954550022143
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:47:08,332 - INFO - taking picture
MAIN: 2025-05-19 13:47:08,334 - INFO - we take 874 photos in this while loop
MAIN: 2025-05-19 13:47:08,334 - INFO - /home/pi/Desktop/images/19052025/13/46/image_19052025_13_47_07_30121.jpg
MAIN: 2025-05-19 13:47:08,335 - INFO - duration: 1.5745810299995355
MAIN: 2025-05-19 13:47:08,336 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/47'
MAIN: 2025-05-19 13:47:08,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:47:37,590 - INFO - taking picture
MAIN: 2025-05-19 13:47:37,591 - INFO - we take 875 photos in this while loop
MAIN: 2025-05-19 13:47:37,591 - INFO - /home/pi/Desktop/images/19052025/13/47/image_19052025_13_47_36_29389.jpg
MAIN: 2025-05-19 13:47:37,592 - INFO - duration: 1.4419948979993933
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:48:08,052 - INFO - taking picture
MAIN: 2025-05-19 13:48:08,053 - INFO - we take 876 photos in this while loop
MAIN: 2025-05-19 13:48:08,054 - INFO - /home/pi/Desktop/images/19052025/13/47/image_19052025_13_48_07_30208.jpg
MAIN: 2025-05-19 13:48:08,054 - INFO - duration: 1.6958776579995174
MAIN: 2025-05-19 13:48:08,055 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/48'
MAIN: 2025-05-19 13:48:08,510 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:48:38,938 - INFO - taking picture
MAIN: 2025-05-19 13:48:38,939 - INFO - we take 877 photos in this while loop
MAIN: 2025-05-19 13:48:38,939 - INFO - /home/pi/Desktop/images/19052025/13/48/image_19052025_13_48_38_31119.jpg
MAIN: 2025-05-19 13:48:38,940 - INFO - duration: 1.461333993000153
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:49:07,742 - INFO - taking picture
MAIN: 2025-05-19 13:49:07,743 - INFO - we take 878 photos in this while loop
MAIN: 2025-05-19 13:49:07,743 - INFO - /home/pi/Desktop/images/19052025/13/48/image_19052025_13_49_06_28647.jpg
MAIN: 2025-05-19 13:49:07,744 - INFO - duration: 1.6183350369974505
MAIN: 2025-05-19 13:49:07,745 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/49'
MAIN: 2025-05-19 13:49:08,314 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:49:38,530 - INFO - taking picture
MAIN: 2025-05-19 13:49:38,531 - INFO - we take 879 photos in this while loop
MAIN: 2025-05-19 13:49:38,531 - INFO - /home/pi/Desktop/images/19052025/13/49/image_19052025_13_49_37_30951.jpg
MAIN: 2025-05-19 13:49:38,532 - INFO - duration: 1.4550229629967362
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:50:09,423 - INFO - taking picture
MAIN: 2025-05-19 13:50:09,424 - INFO - we take 880 photos in this while loop
MAIN: 2025-05-19 13:50:09,425 - INFO - /home/pi/Desktop/images/19052025/13/49/image_19052025_13_50_07_29317.jpg
MAIN: 2025-05-19 13:50:09,426 - INFO - duration: 3.0317051869933493
MAIN: 2025-05-19 13:50:10,174 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/50'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 13:50:11,239 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:50:38,815 - INFO - taking picture
MAIN: 2025-05-19 13:50:38,816 - INFO - we take 881 photos in this while loop
MAIN: 2025-05-19 13:50:38,817 - INFO - /home/pi/Desktop/images/19052025/13/50/image_19052025_13_50_37_30974.jpg
MAIN: 2025-05-19 13:50:38,817 - INFO - duration: 1.4482767410008819
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-05-19 13:51:08,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 ! 
MAIN: 2025-05-19 13:51:08,860 - INFO - taking picture
MAIN: 2025-05-19 13:51:08,861 - INFO - we take 882 photos in this while loop
MAIN: 2025-05-19 13:51:08,861 - INFO - /home/pi/Desktop/images/19052025/13/50/image_19052025_13_51_07_30035.jpg
MAIN: 2025-05-19 13:51:08,861 - INFO - duration: 1.4568529990065144
MAIN: 2025-05-19 13:51:08,862 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/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=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-05-19 13:51:38,408 - INFO - taking picture
MAIN: 2025-05-19 13:51:38,409 - INFO - we take 883 photos in this while loop
MAIN: 2025-05-19 13:51:38,410 - INFO - /home/pi/Desktop/images/19052025/13/51/image_19052025_13_51_37_29509.jpg
MAIN: 2025-05-19 13:51:38,410 - INFO - duration: 1.4964407049992587
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:52:08,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 ! 
MAIN: 2025-05-19 13:52:09,347 - INFO - taking picture
MAIN: 2025-05-19 13:52:09,348 - INFO - we take 884 photos in this while loop
MAIN: 2025-05-19 13:52:09,348 - INFO - /home/pi/Desktop/images/19052025/13/51/image_19052025_13_52_08_30782.jpg
MAIN: 2025-05-19 13:52:09,349 - INFO - duration: 1.652078810002422
MAIN: 2025-05-19 13:52:09,349 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/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-05-19 13:52:38,843 - INFO - taking picture
MAIN: 2025-05-19 13:52:38,845 - INFO - we take 885 photos in this while loop
MAIN: 2025-05-19 13:52:38,845 - INFO - /home/pi/Desktop/images/19052025/13/52/image_19052025_13_52_37_29696.jpg
MAIN: 2025-05-19 13:52:38,845 - INFO - duration: 1.453007013995375
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:53:08,446 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 13:53:09,133 - INFO - taking picture
MAIN: 2025-05-19 13:53:09,134 - INFO - we take 886 photos in this while loop
MAIN: 2025-05-19 13:53:09,135 - INFO - /home/pi/Desktop/images/19052025/13/52/image_19052025_13_53_08_30274.jpg
MAIN: 2025-05-19 13:53:09,135 - INFO - duration: 1.46864599899709
MAIN: 2025-05-19 13:53:09,136 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/53'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 13:53:38,691 - INFO - taking picture
MAIN: 2025-05-19 13:53:38,692 - INFO - we take 887 photos in this while loop
MAIN: 2025-05-19 13:53:38,692 - INFO - /home/pi/Desktop/images/19052025/13/53/image_19052025_13_53_37_29552.jpg
MAIN: 2025-05-19 13:53:38,693 - INFO - duration: 1.4733811199985212
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:54:08,229 - INFO - taking picture
MAIN: 2025-05-19 13:54:08,230 - INFO - we take 888 photos in this while loop
MAIN: 2025-05-19 13:54:08,231 - INFO - /home/pi/Desktop/images/19052025/13/53/image_19052025_13_54_06_28976.jpg
MAIN: 2025-05-19 13:54:08,232 - INFO - duration: 2.0362841419992037
MAIN: 2025-05-19 13:54:08,233 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/54'
MAIN: 2025-05-19 13:54:09,217 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:54:37,887 - INFO - taking picture
MAIN: 2025-05-19 13:54:37,888 - INFO - we take 889 photos in this while loop
MAIN: 2025-05-19 13:54:37,888 - INFO - /home/pi/Desktop/images/19052025/13/54/image_19052025_13_54_36_30186.jpg
MAIN: 2025-05-19 13:54:37,889 - INFO - duration: 1.5064467569973203
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:55:09,543 - INFO - taking picture
MAIN: 2025-05-19 13:55:09,544 - INFO - we take 890 photos in this while loop
MAIN: 2025-05-19 13:55:09,545 - INFO - /home/pi/Desktop/images/19052025/13/54/image_19052025_13_55_08_30842.jpg
MAIN: 2025-05-19 13:55:09,546 - INFO - duration: 2.32070480499533
MAIN: 2025-05-19 13:55:09,546 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/55'
MAIN: 2025-05-19 13:55:09,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:55:38,960 - INFO - taking picture
MAIN: 2025-05-19 13:55:38,961 - INFO - we take 891 photos in this while loop
MAIN: 2025-05-19 13:55:38,961 - INFO - /home/pi/Desktop/images/19052025/13/55/image_19052025_13_55_38_30297.jpg
MAIN: 2025-05-19 13:55:38,962 - INFO - duration: 1.4397212549956748
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:56:08,560 - INFO - taking picture
MAIN: 2025-05-19 13:56:08,561 - INFO - we take 892 photos in this while loop
MAIN: 2025-05-19 13:56:08,561 - INFO - /home/pi/Desktop/images/19052025/13/55/image_19052025_13_56_07_29207.jpg
MAIN: 2025-05-19 13:56:08,561 - INFO - duration: 1.8319066670010216
MAIN: 2025-05-19 13:56:08,562 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/56'
MAIN: 2025-05-19 13:56:08,704 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:56:38,279 - INFO - taking picture
MAIN: 2025-05-19 13:56:38,280 - INFO - we take 893 photos in this while loop
MAIN: 2025-05-19 13:56:38,280 - INFO - /home/pi/Desktop/images/19052025/13/56/image_19052025_13_56_37_30063.jpg
MAIN: 2025-05-19 13:56:38,281 - INFO - duration: 1.487983847000578
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:57:08,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-05-19 13:57:08,908 - INFO - taking picture
MAIN: 2025-05-19 13:57:08,909 - INFO - we take 894 photos in this while loop
MAIN: 2025-05-19 13:57:08,910 - INFO - /home/pi/Desktop/images/19052025/13/56/image_19052025_13_57_07_30605.jpg
MAIN: 2025-05-19 13:57:08,910 - INFO - duration: 1.5123063430000911
MAIN: 2025-05-19 13:57:08,911 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/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=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-05-19 13:57:38,313 - INFO - taking picture
MAIN: 2025-05-19 13:57:38,314 - INFO - we take 895 photos in this while loop
MAIN: 2025-05-19 13:57:38,314 - INFO - /home/pi/Desktop/images/19052025/13/57/image_19052025_13_57_37_29430.jpg
MAIN: 2025-05-19 13:57:38,315 - INFO - duration: 1.486277333999169
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:58:09,390 - INFO - taking picture
MAIN: 2025-05-19 13:58:09,392 - INFO - we take 896 photos in this while loop
MAIN: 2025-05-19 13:58:09,392 - INFO - /home/pi/Desktop/images/19052025/13/57/image_19052025_13_58_08_30651.jpg
MAIN: 2025-05-19 13:58:09,392 - INFO - duration: 1.9128105140043772
MAIN: 2025-05-19 13:58:09,393 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/13/58'
MAIN: 2025-05-19 13:58:09,838 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:58:38,759 - INFO - taking picture
MAIN: 2025-05-19 13:58:38,760 - INFO - we take 897 photos in this while loop
MAIN: 2025-05-19 13:58:38,760 - INFO - /home/pi/Desktop/images/19052025/13/58/image_19052025_13_58_37_29804.jpg
MAIN: 2025-05-19 13:58:38,761 - INFO - duration: 1.4764686830021674
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:59:08,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-05-19 13:59:09,017 - INFO - taking picture
MAIN: 2025-05-19 13:59:09,018 - INFO - we take 898 photos in this while loop
MAIN: 2025-05-19 13:59:09,018 - INFO - /home/pi/Desktop/images/19052025/13/58/image_19052025_13_59_08_30279.jpg
MAIN: 2025-05-19 13:59:09,018 - INFO - duration: 1.454699891997734
MAIN: 2025-05-19 13:59:09,019 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 13:59:38,263 - INFO - taking picture
MAIN: 2025-05-19 13:59:38,264 - INFO - we take 899 photos in this while loop
MAIN: 2025-05-19 13:59:38,265 - INFO - /home/pi/Desktop/images/19052025/13/59/image_19052025_13_59_37_29214.jpg
MAIN: 2025-05-19 13:59:38,265 - INFO - duration: 1.4873492760016234
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:00:09,060 - INFO - taking picture
MAIN: 2025-05-19 14:00:09,061 - INFO - we take 900 photos in this while loop
MAIN: 2025-05-19 14:00:09,061 - INFO - /home/pi/Desktop/images/19052025/13/59/image_19052025_14_00_07_29381.jpg
MAIN: 2025-05-19 14:00:09,062 - INFO - duration: 2.902460012002848
MAIN: 2025-05-19 14:00:09,622 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/00'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 14:00:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:00:38,718 - INFO - taking picture
MAIN: 2025-05-19 14:00:38,719 - INFO - we take 901 photos in this while loop
MAIN: 2025-05-19 14:00:38,719 - INFO - /home/pi/Desktop/images/19052025/14/00/image_19052025_14_00_37_31094.jpg
MAIN: 2025-05-19 14:00:38,720 - INFO - duration: 1.4653750520010362
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:01:08,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-05-19 14:01:09,057 - INFO - taking picture
MAIN: 2025-05-19 14:01:09,058 - INFO - we take 902 photos in this while loop
MAIN: 2025-05-19 14:01:09,059 - INFO - /home/pi/Desktop/images/19052025/14/00/image_19052025_14_01_08_30293.jpg
MAIN: 2025-05-19 14:01:09,059 - INFO - duration: 1.5109846039995318
MAIN: 2025-05-19 14:01:09,060 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:01:38,301 - INFO - taking picture
MAIN: 2025-05-19 14:01:38,302 - INFO - we take 903 photos in this while loop
MAIN: 2025-05-19 14:01:38,302 - INFO - /home/pi/Desktop/images/19052025/14/01/image_19052025_14_01_37_29311.jpg
MAIN: 2025-05-19 14:01:38,303 - INFO - duration: 1.4432583860034356
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:02:08,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-05-19 14:02:08,947 - INFO - taking picture
MAIN: 2025-05-19 14:02:08,948 - INFO - we take 904 photos in this while loop
MAIN: 2025-05-19 14:02:08,948 - INFO - /home/pi/Desktop/images/19052025/14/01/image_19052025_14_02_07_30386.jpg
MAIN: 2025-05-19 14:02:08,949 - INFO - duration: 1.7027165000035893
MAIN: 2025-05-19 14:02:08,950 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/02'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:02:38,474 - INFO - taking picture
MAIN: 2025-05-19 14:02:38,475 - INFO - we take 905 photos in this while loop
MAIN: 2025-05-19 14:02:38,475 - INFO - /home/pi/Desktop/images/19052025/14/02/image_19052025_14_02_37_29789.jpg
MAIN: 2025-05-19 14:02:38,476 - INFO - duration: 1.4396642390056513
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:03:07,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-05-19 14:03:08,685 - INFO - taking picture
MAIN: 2025-05-19 14:03:08,686 - INFO - we take 906 photos in this while loop
MAIN: 2025-05-19 14:03:08,687 - INFO - /home/pi/Desktop/images/19052025/14/02/image_19052025_14_03_07_30152.jpg
MAIN: 2025-05-19 14:03:08,687 - INFO - duration: 1.4988768769981107
MAIN: 2025-05-19 14:03:08,688 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:03:38,133 - INFO - taking picture
MAIN: 2025-05-19 14:03:38,134 - INFO - we take 907 photos in this while loop
MAIN: 2025-05-19 14:03:38,134 - INFO - /home/pi/Desktop/images/19052025/14/03/image_19052025_14_03_37_29503.jpg
MAIN: 2025-05-19 14:03:38,135 - INFO - duration: 1.443504007998854
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:04:08,695 - INFO - taking picture
MAIN: 2025-05-19 14:04:08,696 - INFO - we take 908 photos in this while loop
MAIN: 2025-05-19 14:04:08,697 - INFO - /home/pi/Desktop/images/19052025/14/03/image_19052025_14_04_07_30101.jpg
MAIN: 2025-05-19 14:04:08,698 - INFO - duration: 1.9044225869947695
MAIN: 2025-05-19 14:04:08,699 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/04'
MAIN: 2025-05-19 14:04:08,957 - INFO - cam.read() return no image
Will output and 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=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-05-19 14:04:38,258 - INFO - taking picture
MAIN: 2025-05-19 14:04:38,259 - INFO - we take 909 photos in this while loop
MAIN: 2025-05-19 14:04:38,259 - INFO - /home/pi/Desktop/images/19052025/14/04/image_19052025_14_04_37_30000.jpg
MAIN: 2025-05-19 14:04:38,260 - INFO - duration: 1.465655357002106
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:05:09,269 - INFO - taking picture
MAIN: 2025-05-19 14:05:09,270 - INFO - we take 910 photos in this while loop
MAIN: 2025-05-19 14:05:09,271 - INFO - /home/pi/Desktop/images/19052025/14/04/image_19052025_14_05_08_30266.jpg
MAIN: 2025-05-19 14:05:09,272 - INFO - duration: 2.2112726900013513
MAIN: 2025-05-19 14:05:09,274 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/05'
MAIN: 2025-05-19 14:05:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:05:38,660 - INFO - taking picture
MAIN: 2025-05-19 14:05:38,661 - INFO - we take 911 photos in this while loop
MAIN: 2025-05-19 14:05:38,662 - INFO - /home/pi/Desktop/images/19052025/14/05/image_19052025_14_05_37_30165.jpg
MAIN: 2025-05-19 14:05:38,662 - INFO - duration: 1.4357882819967926
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:06:08,679 - INFO - taking picture
MAIN: 2025-05-19 14:06:08,680 - INFO - we take 912 photos in this while loop
MAIN: 2025-05-19 14:06:08,681 - INFO - /home/pi/Desktop/images/19052025/14/05/image_19052025_14_06_07_28918.jpg
MAIN: 2025-05-19 14:06:08,681 - INFO - duration: 2.536289363997639
MAIN: 2025-05-19 14:06:08,682 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/06'
MAIN: 2025-05-19 14:06:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:06:38,017 - INFO - taking picture
MAIN: 2025-05-19 14:06:38,018 - INFO - we take 913 photos in this while loop
MAIN: 2025-05-19 14:06:38,018 - INFO - /home/pi/Desktop/images/19052025/14/06/image_19052025_14_06_37_30437.jpg
MAIN: 2025-05-19 14:06:38,019 - INFO - duration: 1.4366714939969825
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:07:08,138 - INFO - taking picture
MAIN: 2025-05-19 14:07:08,139 - INFO - we take 914 photos in this while loop
MAIN: 2025-05-19 14:07:08,140 - INFO - /home/pi/Desktop/images/19052025/14/06/image_19052025_14_07_07_29770.jpg
MAIN: 2025-05-19 14:07:08,140 - INFO - duration: 1.7873545059992466
MAIN: 2025-05-19 14:07:08,141 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/07'
MAIN: 2025-05-19 14:07:08,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:07:38,874 - INFO - taking picture
MAIN: 2025-05-19 14:07:38,874 - INFO - we take 915 photos in this while loop
MAIN: 2025-05-19 14:07:38,874 - INFO - /home/pi/Desktop/images/19052025/14/07/image_19052025_14_07_38_31195.jpg
MAIN: 2025-05-19 14:07:38,875 - INFO - duration: 1.3262926979950862
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:08:08,422 - INFO - taking picture
MAIN: 2025-05-19 14:08:08,423 - INFO - we take 916 photos in this while loop
MAIN: 2025-05-19 14:08:08,423 - INFO - /home/pi/Desktop/images/19052025/14/07/image_19052025_14_08_07_28666.jpg
MAIN: 2025-05-19 14:08:08,424 - INFO - duration: 2.2085445359989535
MAIN: 2025-05-19 14:08:08,659 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/08'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 14:08:09,717 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:08:37,867 - INFO - taking picture
MAIN: 2025-05-19 14:08:37,868 - INFO - we take 917 photos in this while loop
MAIN: 2025-05-19 14:08:37,869 - INFO - /home/pi/Desktop/images/19052025/14/08/image_19052025_14_08_36_30209.jpg
MAIN: 2025-05-19 14:08:37,869 - INFO - duration: 1.4439668859995436
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:09:08,379 - INFO - taking picture
MAIN: 2025-05-19 14:09:08,380 - INFO - we take 918 photos in this while loop
MAIN: 2025-05-19 14:09:08,380 - INFO - /home/pi/Desktop/images/19052025/14/08/image_19052025_14_09_07_30303.jpg
MAIN: 2025-05-19 14:09:08,381 - INFO - duration: 1.6519256750034401
MAIN: 2025-05-19 14:09:08,382 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/09'
MAIN: 2025-05-19 14:09:08,574 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 14:09:38,043 - INFO - taking picture
MAIN: 2025-05-19 14:09:38,044 - INFO - we take 919 photos in this while loop
MAIN: 2025-05-19 14:09:38,045 - INFO - /home/pi/Desktop/images/19052025/14/09/image_19052025_14_09_37_29855.jpg
MAIN: 2025-05-19 14:09:38,045 - INFO - duration: 1.4613438640008098
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:10:09,607 - INFO - taking picture
MAIN: 2025-05-19 14:10:09,611 - INFO - we take 920 photos in this while loop
MAIN: 2025-05-19 14:10:09,612 - INFO - /home/pi/Desktop/images/19052025/14/09/image_19052025_14_10_08_30301.jpg
MAIN: 2025-05-19 14:10:09,615 - INFO - duration: 2.7299930459994357
MAIN: 2025-05-19 14:10:09,902 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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-05-19 14:10:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:10:38,765 - INFO - taking picture
MAIN: 2025-05-19 14:10:38,767 - INFO - we take 921 photos in this while loop
MAIN: 2025-05-19 14:10:38,767 - INFO - /home/pi/Desktop/images/19052025/14/10/image_19052025_14_10_38_30582.jpg
MAIN: 2025-05-19 14:10:38,767 - INFO - duration: 1.2998016540004755
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 14:11:07,743 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:11:08,887 - INFO - taking picture
MAIN: 2025-05-19 14:11:08,888 - INFO - we take 922 photos in this while loop
MAIN: 2025-05-19 14:11:08,889 - INFO - /home/pi/Desktop/images/19052025/14/10/image_19052025_14_11_08_29970.jpg
MAIN: 2025-05-19 14:11:08,889 - INFO - duration: 1.4512033190039801
MAIN: 2025-05-19 14:11:08,890 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:11:38,323 - INFO - taking picture
MAIN: 2025-05-19 14:11:38,324 - INFO - we take 923 photos in this while loop
MAIN: 2025-05-19 14:11:38,324 - INFO - /home/pi/Desktop/images/19052025/14/11/image_19052025_14_11_37_29452.jpg
MAIN: 2025-05-19 14:11:38,325 - INFO - duration: 1.434197729002335
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:12:08,953 - INFO - taking picture
MAIN: 2025-05-19 14:12:08,954 - INFO - we take 924 photos in this while loop
MAIN: 2025-05-19 14:12:08,955 - INFO - /home/pi/Desktop/images/19052025/14/11/image_19052025_14_12_07_30346.jpg
MAIN: 2025-05-19 14:12:08,955 - INFO - duration: 1.7185371939995093
MAIN: 2025-05-19 14:12:08,956 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/12'
MAIN: 2025-05-19 14:12:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:12:38,538 - INFO - taking picture
MAIN: 2025-05-19 14:12:38,539 - INFO - we take 925 photos in this while loop
MAIN: 2025-05-19 14:12:38,539 - INFO - /home/pi/Desktop/images/19052025/14/12/image_19052025_14_12_37_29838.jpg
MAIN: 2025-05-19 14:12:38,540 - INFO - duration: 1.4641876889945706
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:13:08,838 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 14:13:09,310 - INFO - taking picture
MAIN: 2025-05-19 14:13:09,311 - INFO - we take 926 photos in this while loop
MAIN: 2025-05-19 14:13:09,312 - INFO - /home/pi/Desktop/images/19052025/14/12/image_19052025_14_13_08_30716.jpg
MAIN: 2025-05-19 14:13:09,312 - INFO - duration: 1.5199444430036237
MAIN: 2025-05-19 14:13:09,313 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:13:38,653 - INFO - taking picture
MAIN: 2025-05-19 14:13:38,654 - INFO - we take 927 photos in this while loop
MAIN: 2025-05-19 14:13:38,654 - INFO - /home/pi/Desktop/images/19052025/14/13/image_19052025_14_13_37_29427.jpg
MAIN: 2025-05-19 14:13:38,655 - INFO - duration: 1.4347800559989992
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:14:08,028 - INFO - taking picture
MAIN: 2025-05-19 14:14:08,030 - INFO - we take 928 photos in this while loop
MAIN: 2025-05-19 14:14:08,030 - INFO - /home/pi/Desktop/images/19052025/14/13/image_19052025_14_14_06_28896.jpg
MAIN: 2025-05-19 14:14:08,032 - INFO - duration: 1.9151476760016521
MAIN: 2025-05-19 14:14:08,035 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/14'
MAIN: 2025-05-19 14:14:08,769 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:14:37,665 - INFO - taking picture
MAIN: 2025-05-19 14:14:37,667 - INFO - we take 929 photos in this while loop
MAIN: 2025-05-19 14:14:37,667 - INFO - /home/pi/Desktop/images/19052025/14/14/image_19052025_14_14_36_30075.jpg
MAIN: 2025-05-19 14:14:37,667 - INFO - duration: 1.475897577998694
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:15:08,753 - INFO - taking picture
MAIN: 2025-05-19 14:15:08,755 - INFO - we take 930 photos in this while loop
MAIN: 2025-05-19 14:15:08,755 - INFO - /home/pi/Desktop/images/19052025/14/14/image_19052025_14_15_07_30343.jpg
MAIN: 2025-05-19 14:15:08,756 - INFO - duration: 2.221012617002998
MAIN: 2025-05-19 14:15:08,757 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/15'
MAIN: 2025-05-19 14:15:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:15:38,146 - INFO - taking picture
MAIN: 2025-05-19 14:15:38,147 - INFO - we take 931 photos in this while loop
MAIN: 2025-05-19 14:15:38,147 - INFO - /home/pi/Desktop/images/19052025/14/15/image_19052025_14_15_37_30149.jpg
MAIN: 2025-05-19 14:15:38,148 - INFO - duration: 1.4632829269976355
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:16:08,381 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 14:16:08,891 - INFO - taking picture
MAIN: 2025-05-19 14:16:08,892 - INFO - we take 932 photos in this while loop
MAIN: 2025-05-19 14:16:08,892 - INFO - /home/pi/Desktop/images/19052025/14/15/image_19052025_14_16_07_30503.jpg
MAIN: 2025-05-19 14:16:08,893 - INFO - duration: 1.7049514219979756
MAIN: 2025-05-19 14:16:08,894 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/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=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-05-19 14:16:38,050 - INFO - taking picture
MAIN: 2025-05-19 14:16:38,051 - INFO - we take 933 photos in this while loop
MAIN: 2025-05-19 14:16:38,052 - INFO - /home/pi/Desktop/images/19052025/14/16/image_19052025_14_16_37_29429.jpg
MAIN: 2025-05-19 14:16:38,052 - INFO - duration: 1.4345191000029445
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:17:08,191 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 14:17:08,547 - INFO - taking picture
MAIN: 2025-05-19 14:17:08,548 - INFO - we take 934 photos in this while loop
MAIN: 2025-05-19 14:17:08,549 - INFO - /home/pi/Desktop/images/19052025/14/16/image_19052025_14_17_07_30403.jpg
MAIN: 2025-05-19 14:17:08,549 - INFO - duration: 1.5284884840002633
MAIN: 2025-05-19 14:17:08,550 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/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=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-05-19 14:17:37,734 - INFO - taking picture
MAIN: 2025-05-19 14:17:37,735 - INFO - we take 935 photos in this while loop
MAIN: 2025-05-19 14:17:37,736 - INFO - /home/pi/Desktop/images/19052025/14/17/image_19052025_14_17_36_29280.jpg
MAIN: 2025-05-19 14:17:37,736 - INFO - duration: 1.4344872719957493
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:18:08,825 - INFO - taking picture
MAIN: 2025-05-19 14:18:08,826 - INFO - we take 936 photos in this while loop
MAIN: 2025-05-19 14:18:08,827 - INFO - /home/pi/Desktop/images/19052025/14/17/image_19052025_14_18_07_30377.jpg
MAIN: 2025-05-19 14:18:08,828 - INFO - duration: 2.1489834809981403
MAIN: 2025-05-19 14:18:08,830 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/18'
MAIN: 2025-05-19 14:18:09,275 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:18:38,203 - INFO - taking picture
MAIN: 2025-05-19 14:18:38,204 - INFO - we take 937 photos in this while loop
MAIN: 2025-05-19 14:18:38,204 - INFO - /home/pi/Desktop/images/19052025/14/18/image_19052025_14_18_37_30081.jpg
MAIN: 2025-05-19 14:18:38,205 - INFO - duration: 1.4444680029992014
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:19:07,869 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 14:19:08,320 - INFO - taking picture
MAIN: 2025-05-19 14:19:08,321 - INFO - we take 938 photos in this while loop
MAIN: 2025-05-19 14:19:08,321 - INFO - /home/pi/Desktop/images/19052025/14/18/image_19052025_14_19_07_30004.jpg
MAIN: 2025-05-19 14:19:08,322 - INFO - duration: 1.5565863580050063
MAIN: 2025-05-19 14:19:08,323 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/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=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-05-19 14:19:38,998 - INFO - taking picture
MAIN: 2025-05-19 14:19:38,999 - INFO - we take 939 photos in this while loop
MAIN: 2025-05-19 14:19:38,999 - INFO - /home/pi/Desktop/images/19052025/14/19/image_19052025_14_19_38_30781.jpg
MAIN: 2025-05-19 14:19:39,000 - INFO - duration: 1.4531216510004015
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:20:08,976 - INFO - taking picture
MAIN: 2025-05-19 14:20:08,977 - INFO - we take 940 photos in this while loop
MAIN: 2025-05-19 14:20:08,978 - INFO - /home/pi/Desktop/images/19052025/14/19/image_19052025_14_20_07_28633.jpg
MAIN: 2025-05-19 14:20:08,979 - INFO - duration: 2.7990887999985716
MAIN: 2025-05-19 14:20:08,980 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/20'
MAIN: 2025-05-19 14:20:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:20:38,598 - INFO - taking picture
MAIN: 2025-05-19 14:20:38,599 - INFO - we take 941 photos in this while loop
MAIN: 2025-05-19 14:20:38,600 - INFO - /home/pi/Desktop/images/19052025/14/20/image_19052025_14_20_37_30916.jpg
MAIN: 2025-05-19 14:20:38,600 - INFO - duration: 1.5046081409964245
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:21:08,659 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 14:21:08,899 - INFO - taking picture
MAIN: 2025-05-19 14:21:08,900 - INFO - we take 942 photos in this while loop
MAIN: 2025-05-19 14:21:08,900 - INFO - /home/pi/Desktop/images/19052025/14/20/image_19052025_14_21_07_30148.jpg
MAIN: 2025-05-19 14:21:08,901 - INFO - duration: 1.6565535010013264
MAIN: 2025-05-19 14:21:08,902 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 14:21:38,305 - INFO - taking picture
MAIN: 2025-05-19 14:21:38,306 - INFO - we take 943 photos in this while loop
MAIN: 2025-05-19 14:21:38,307 - INFO - /home/pi/Desktop/images/19052025/14/21/image_19052025_14_21_37_29603.jpg
MAIN: 2025-05-19 14:21:38,307 - INFO - duration: 1.4589989919986692
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 14:22:09,008 - INFO - taking picture
MAIN: 2025-05-19 14:22:09,009 - INFO - we take 944 photos in this while loop
MAIN: 2025-05-19 14:22:09,009 - INFO - /home/pi/Desktop/images/19052025/14/21/image_19052025_14_22_07_29916.jpg
MAIN: 2025-05-19 14:22:09,009 - INFO - duration: 2.244942846002232
MAIN: 2025-05-19 14:22:09,010 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/22'
MAIN: 2025-05-19 14:22:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:22:38,046 - INFO - taking picture
MAIN: 2025-05-19 14:22:38,047 - INFO - we take 945 photos in this while loop
MAIN: 2025-05-19 14:22:38,047 - INFO - /home/pi/Desktop/images/19052025/14/22/image_19052025_14_22_37_29824.jpg
MAIN: 2025-05-19 14:22:38,048 - INFO - duration: 1.458794926002156
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-05-19 14:23:07,662 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 14:23:08,422 - INFO - taking picture
MAIN: 2025-05-19 14:23:08,423 - INFO - we take 946 photos in this while loop
MAIN: 2025-05-19 14:23:08,424 - INFO - /home/pi/Desktop/images/19052025/14/22/image_19052025_14_23_07_30317.jpg
MAIN: 2025-05-19 14:23:08,424 - INFO - duration: 1.5174305889959214
MAIN: 2025-05-19 14:23:08,425 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:23:37,761 - INFO - taking picture
MAIN: 2025-05-19 14:23:37,762 - INFO - we take 947 photos in this while loop
MAIN: 2025-05-19 14:23:37,763 - INFO - /home/pi/Desktop/images/19052025/14/23/image_19052025_14_23_36_29368.jpg
MAIN: 2025-05-19 14:23:37,763 - INFO - duration: 1.4882583290018374
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-05-19 14:24:08,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-05-19 14:24:08,916 - INFO - taking picture
MAIN: 2025-05-19 14:24:08,917 - INFO - we take 948 photos in this while loop
MAIN: 2025-05-19 14:24:08,918 - INFO - /home/pi/Desktop/images/19052025/14/23/image_19052025_14_24_07_30870.jpg
MAIN: 2025-05-19 14:24:08,919 - INFO - duration: 1.7733350269991206
MAIN: 2025-05-19 14:24:08,920 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:24:37,960 - INFO - taking picture
MAIN: 2025-05-19 14:24:37,961 - INFO - we take 949 photos in this while loop
MAIN: 2025-05-19 14:24:37,961 - INFO - /home/pi/Desktop/images/19052025/14/24/image_19052025_14_24_37_29478.jpg
MAIN: 2025-05-19 14:24:37,962 - INFO - duration: 1.338053644001775
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:25:08,908 - INFO - taking picture
MAIN: 2025-05-19 14:25:08,909 - INFO - we take 950 photos in this while loop
MAIN: 2025-05-19 14:25:08,910 - INFO - /home/pi/Desktop/images/19052025/14/24/image_19052025_14_25_07_29850.jpg
MAIN: 2025-05-19 14:25:08,910 - INFO - duration: 2.4360306169983232
MAIN: 2025-05-19 14:25:08,911 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/25'
MAIN: 2025-05-19 14:25:09,594 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:25:38,277 - INFO - taking picture
MAIN: 2025-05-19 14:25:38,278 - INFO - we take 951 photos in this while loop
MAIN: 2025-05-19 14:25:38,279 - INFO - /home/pi/Desktop/images/19052025/14/25/image_19052025_14_25_37_30368.jpg
MAIN: 2025-05-19 14:25:38,279 - INFO - duration: 1.4367202180001186
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:26:08,916 - INFO - taking picture
MAIN: 2025-05-19 14:26:08,917 - INFO - we take 952 photos in this while loop
MAIN: 2025-05-19 14:26:08,918 - INFO - /home/pi/Desktop/images/19052025/14/25/image_19052025_14_26_07_30463.jpg
MAIN: 2025-05-19 14:26:08,918 - INFO - duration: 1.612553562001267
MAIN: 2025-05-19 14:26:08,919 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/26'
MAIN: 2025-05-19 14:26:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:26:38,393 - INFO - taking picture
MAIN: 2025-05-19 14:26:38,394 - INFO - we take 953 photos in this while loop
MAIN: 2025-05-19 14:26:38,395 - INFO - /home/pi/Desktop/images/19052025/14/26/image_19052025_14_26_37_29623.jpg
MAIN: 2025-05-19 14:26:38,395 - INFO - duration: 1.46601445399574
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:27:08,671 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 14:27:08,779 - INFO - taking picture
MAIN: 2025-05-19 14:27:08,781 - INFO - we take 954 photos in this while loop
MAIN: 2025-05-19 14:27:08,781 - INFO - /home/pi/Desktop/images/19052025/14/26/image_19052025_14_27_07_30385.jpg
MAIN: 2025-05-19 14:27:08,782 - INFO - duration: 1.4670133079998777
MAIN: 2025-05-19 14:27:08,783 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=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-05-19 14:27:37,818 - INFO - taking picture
MAIN: 2025-05-19 14:27:37,819 - INFO - we take 955 photos in this while loop
MAIN: 2025-05-19 14:27:37,819 - INFO - /home/pi/Desktop/images/19052025/14/27/image_19052025_14_27_36_29071.jpg
MAIN: 2025-05-19 14:27:37,820 - INFO - duration: 1.4339672429996426
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:28:08,942 - INFO - taking picture
MAIN: 2025-05-19 14:28:08,944 - INFO - we take 956 photos in this while loop
MAIN: 2025-05-19 14:28:08,944 - INFO - /home/pi/Desktop/images/19052025/14/27/image_19052025_14_28_07_30928.jpg
MAIN: 2025-05-19 14:28:08,945 - INFO - duration: 1.630593570000201
MAIN: 2025-05-19 14:28:08,946 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/28'
MAIN: 2025-05-19 14:28:09,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:28:38,180 - INFO - taking picture
MAIN: 2025-05-19 14:28:38,181 - INFO - we take 957 photos in this while loop
MAIN: 2025-05-19 14:28:38,182 - INFO - /home/pi/Desktop/images/19052025/14/28/image_19052025_14_28_37_29549.jpg
MAIN: 2025-05-19 14:28:38,182 - INFO - duration: 1.3187210210016929
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:29:08,597 - INFO - taking picture
MAIN: 2025-05-19 14:29:08,598 - INFO - we take 958 photos in this while loop
MAIN: 2025-05-19 14:29:08,598 - INFO - /home/pi/Desktop/images/19052025/14/28/image_19052025_14_29_07_30186.jpg
MAIN: 2025-05-19 14:29:08,599 - INFO - duration: 1.5493646609975258
MAIN: 2025-05-19 14:29:08,600 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/29'
MAIN: 2025-05-19 14:29:09,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:29:37,752 - INFO - taking picture
MAIN: 2025-05-19 14:29:37,753 - INFO - we take 959 photos in this while loop
MAIN: 2025-05-19 14:29:37,754 - INFO - /home/pi/Desktop/images/19052025/14/29/image_19052025_14_29_36_29268.jpg
MAIN: 2025-05-19 14:29:37,754 - INFO - duration: 1.436537399997178
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:30:09,579 - INFO - taking picture
MAIN: 2025-05-19 14:30:09,580 - INFO - we take 960 photos in this while loop
MAIN: 2025-05-19 14:30:09,581 - INFO - /home/pi/Desktop/images/19052025/14/29/image_19052025_14_30_08_31306.jpg
MAIN: 2025-05-19 14:30:09,581 - INFO - duration: 1.9571384680020856
MAIN: 2025-05-19 14:30:09,582 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/30'
MAIN: 2025-05-19 14:30:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:30:37,565 - INFO - taking picture
MAIN: 2025-05-19 14:30:37,566 - INFO - we take 961 photos in this while loop
MAIN: 2025-05-19 14:30:37,566 - INFO - /home/pi/Desktop/images/19052025/14/30/image_19052025_14_30_36_28505.jpg
MAIN: 2025-05-19 14:30:37,567 - INFO - duration: 1.4376259400014533
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:31:08,162 - INFO - taking picture
MAIN: 2025-05-19 14:31:08,164 - INFO - we take 962 photos in this while loop
MAIN: 2025-05-19 14:31:08,164 - INFO - /home/pi/Desktop/images/19052025/14/30/image_19052025_14_31_07_30450.jpg
MAIN: 2025-05-19 14:31:08,165 - INFO - duration: 1.5857997870043619
MAIN: 2025-05-19 14:31:08,166 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/31'
MAIN: 2025-05-19 14:31:08,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=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-05-19 14:31:37,583 - INFO - taking picture
MAIN: 2025-05-19 14:31:37,584 - INFO - we take 963 photos in this while loop
MAIN: 2025-05-19 14:31:37,585 - INFO - /home/pi/Desktop/images/19052025/14/31/image_19052025_14_31_36_29535.jpg
MAIN: 2025-05-19 14:31:37,585 - INFO - duration: 1.4701196590031032
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:32:08,587 - INFO - taking picture
MAIN: 2025-05-19 14:32:08,589 - INFO - we take 964 photos in this while loop
MAIN: 2025-05-19 14:32:08,589 - INFO - /home/pi/Desktop/images/19052025/14/31/image_19052025_14_32_07_30271.jpg
MAIN: 2025-05-19 14:32:08,590 - INFO - duration: 2.2037986270006513
MAIN: 2025-05-19 14:32:08,591 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/32'
MAIN: 2025-05-19 14:32:09,261 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:32:38,119 - INFO - taking picture
MAIN: 2025-05-19 14:32:38,120 - INFO - we take 965 photos in this while loop
MAIN: 2025-05-19 14:32:38,120 - INFO - /home/pi/Desktop/images/19052025/14/32/image_19052025_14_32_37_30270.jpg
MAIN: 2025-05-19 14:32:38,121 - INFO - duration: 1.4645333520020358
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:33:08,320 - INFO - taking picture
MAIN: 2025-05-19 14:33:08,321 - INFO - we take 966 photos in this while loop
MAIN: 2025-05-19 14:33:08,322 - INFO - /home/pi/Desktop/images/19052025/14/32/image_19052025_14_33_07_30040.jpg
MAIN: 2025-05-19 14:33:08,322 - INFO - duration: 1.6249999670035322
MAIN: 2025-05-19 14:33:08,323 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/33'
MAIN: 2025-05-19 14:33:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:33:37,591 - INFO - taking picture
MAIN: 2025-05-19 14:33:37,592 - INFO - we take 967 photos in this while loop
MAIN: 2025-05-19 14:33:37,592 - INFO - /home/pi/Desktop/images/19052025/14/33/image_19052025_14_33_36_29459.jpg
MAIN: 2025-05-19 14:33:37,593 - INFO - duration: 1.4364398949983297
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:34:08,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 ! 
MAIN: 2025-05-19 14:34:08,862 - INFO - taking picture
MAIN: 2025-05-19 14:34:08,864 - INFO - we take 968 photos in this while loop
MAIN: 2025-05-19 14:34:08,864 - INFO - /home/pi/Desktop/images/19052025/14/33/image_19052025_14_34_07_30868.jpg
MAIN: 2025-05-19 14:34:08,865 - INFO - duration: 1.839822866000759
MAIN: 2025-05-19 14:34:08,866 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:34:38,255 - INFO - taking picture
MAIN: 2025-05-19 14:34:38,256 - INFO - we take 969 photos in this while loop
MAIN: 2025-05-19 14:34:38,257 - INFO - /home/pi/Desktop/images/19052025/14/34/image_19052025_14_34_37_29796.jpg
MAIN: 2025-05-19 14:34:38,257 - INFO - duration: 1.4354478110035416
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:35:09,528 - INFO - taking picture
MAIN: 2025-05-19 14:35:09,529 - INFO - we take 970 photos in this while loop
MAIN: 2025-05-19 14:35:09,530 - INFO - /home/pi/Desktop/images/19052025/14/34/image_19052025_14_35_08_30620.jpg
MAIN: 2025-05-19 14:35:09,530 - INFO - duration: 2.087368027001503
MAIN: 2025-05-19 14:35:09,531 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/35'
MAIN: 2025-05-19 14:35:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:35:38,896 - INFO - taking picture
MAIN: 2025-05-19 14:35:38,898 - INFO - we take 971 photos in this while loop
MAIN: 2025-05-19 14:35:38,898 - INFO - /home/pi/Desktop/images/19052025/14/35/image_19052025_14_35_38_30007.jpg
MAIN: 2025-05-19 14:35:38,898 - INFO - duration: 1.4478745369997341
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:36:08,228 - INFO - taking picture
MAIN: 2025-05-19 14:36:08,229 - INFO - we take 972 photos in this while loop
MAIN: 2025-05-19 14:36:08,230 - INFO - /home/pi/Desktop/images/19052025/14/35/image_19052025_14_36_07_28731.jpg
MAIN: 2025-05-19 14:36:08,231 - INFO - duration: 2.0490288860019064
MAIN: 2025-05-19 14:36:08,611 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/36'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-05-19 14:36:09,671 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:36:39,029 - INFO - taking picture
MAIN: 2025-05-19 14:36:39,030 - INFO - we take 973 photos in this while loop
MAIN: 2025-05-19 14:36:39,031 - INFO - /home/pi/Desktop/images/19052025/14/36/image_19052025_14_36_38_31387.jpg
MAIN: 2025-05-19 14:36:39,031 - INFO - duration: 1.4613023060010164
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 14:37:07,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=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-05-19 14:37:09,017 - INFO - taking picture
MAIN: 2025-05-19 14:37:09,018 - INFO - we take 974 photos in this while loop
MAIN: 2025-05-19 14:37:09,019 - INFO - /home/pi/Desktop/images/19052025/14/36/image_19052025_14_37_08_29959.jpg
MAIN: 2025-05-19 14:37:09,019 - INFO - duration: 1.4901773250021506
MAIN: 2025-05-19 14:37:09,020 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/37'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:37:38,333 - INFO - taking picture
MAIN: 2025-05-19 14:37:38,334 - INFO - we take 975 photos in this while loop
MAIN: 2025-05-19 14:37:38,334 - INFO - /home/pi/Desktop/images/19052025/14/37/image_19052025_14_37_37_29342.jpg
MAIN: 2025-05-19 14:37:38,335 - INFO - duration: 1.4634613689995604
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:38:09,347 - INFO - taking picture
MAIN: 2025-05-19 14:38:09,348 - INFO - we take 976 photos in this while loop
MAIN: 2025-05-19 14:38:09,349 - INFO - /home/pi/Desktop/images/19052025/14/37/image_19052025_14_38_08_30911.jpg
MAIN: 2025-05-19 14:38:09,349 - INFO - duration: 1.566704718003166
MAIN: 2025-05-19 14:38:09,350 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/38'
MAIN: 2025-05-19 14:38:09,852 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:38:38,698 - INFO - taking picture
MAIN: 2025-05-19 14:38:38,699 - INFO - we take 977 photos in this while loop
MAIN: 2025-05-19 14:38:38,700 - INFO - /home/pi/Desktop/images/19052025/14/38/image_19052025_14_38_37_29595.jpg
MAIN: 2025-05-19 14:38:38,701 - INFO - duration: 1.3231568510018406
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:39:08,977 - INFO - taking picture
MAIN: 2025-05-19 14:39:08,978 - INFO - we take 978 photos in this while loop
MAIN: 2025-05-19 14:39:08,979 - INFO - /home/pi/Desktop/images/19052025/14/38/image_19052025_14_39_08_30007.jpg
MAIN: 2025-05-19 14:39:08,979 - INFO - duration: 1.5947962969949003
MAIN: 2025-05-19 14:39:08,980 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/39'
MAIN: 2025-05-19 14:39:09,048 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:39:38,007 - INFO - taking picture
MAIN: 2025-05-19 14:39:38,008 - INFO - we take 979 photos in this while loop
MAIN: 2025-05-19 14:39:38,008 - INFO - /home/pi/Desktop/images/19052025/14/39/image_19052025_14_39_37_29188.jpg
MAIN: 2025-05-19 14:39:38,009 - INFO - duration: 1.4359993190009845
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:40:09,440 - INFO - taking picture
MAIN: 2025-05-19 14:40:09,441 - INFO - we take 980 photos in this while loop
MAIN: 2025-05-19 14:40:09,442 - INFO - /home/pi/Desktop/images/19052025/14/39/image_19052025_14_40_07_30222.jpg
MAIN: 2025-05-19 14:40:09,443 - INFO - duration: 2.6476116170015302
MAIN: 2025-05-19 14:40:09,662 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/40'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 14:40:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:40:38,793 - INFO - taking picture
MAIN: 2025-05-19 14:40:38,794 - INFO - we take 981 photos in this while loop
MAIN: 2025-05-19 14:40:38,794 - INFO - /home/pi/Desktop/images/19052025/14/40/image_19052025_14_40_37_30538.jpg
MAIN: 2025-05-19 14:40:38,795 - INFO - duration: 1.4605275119974976
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:41:08,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-05-19 14:41:09,127 - INFO - taking picture
MAIN: 2025-05-19 14:41:09,128 - INFO - we take 982 photos in this while loop
MAIN: 2025-05-19 14:41:09,129 - INFO - /home/pi/Desktop/images/19052025/14/40/image_19052025_14_41_08_30346.jpg
MAIN: 2025-05-19 14:41:09,129 - INFO - duration: 1.4488659420021577
MAIN: 2025-05-19 14:41:09,130 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/41'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:41:38,323 - INFO - taking picture
MAIN: 2025-05-19 14:41:38,324 - INFO - we take 983 photos in this while loop
MAIN: 2025-05-19 14:41:38,324 - INFO - /home/pi/Desktop/images/19052025/14/41/image_19052025_14_41_37_29345.jpg
MAIN: 2025-05-19 14:41:38,325 - INFO - duration: 1.299214855003811
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:42:09,021 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 14:42:09,273 - INFO - taking picture
MAIN: 2025-05-19 14:42:09,275 - INFO - we take 984 photos in this while loop
MAIN: 2025-05-19 14:42:09,275 - INFO - /home/pi/Desktop/images/19052025/14/41/image_19052025_14_42_08_30592.jpg
MAIN: 2025-05-19 14:42:09,276 - INFO - duration: 1.658091390003392
MAIN: 2025-05-19 14:42:09,277 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/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=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-05-19 14:42:38,699 - INFO - taking picture
MAIN: 2025-05-19 14:42:38,700 - INFO - we take 985 photos in this while loop
MAIN: 2025-05-19 14:42:38,701 - INFO - /home/pi/Desktop/images/19052025/14/42/image_19052025_14_42_37_29651.jpg
MAIN: 2025-05-19 14:42:38,701 - INFO - duration: 1.432251919999544
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:43:08,591 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 14:43:08,878 - INFO - taking picture
MAIN: 2025-05-19 14:43:08,879 - INFO - we take 986 photos in this while loop
MAIN: 2025-05-19 14:43:08,879 - INFO - /home/pi/Desktop/images/19052025/14/42/image_19052025_14_43_07_30040.jpg
MAIN: 2025-05-19 14:43:08,880 - INFO - duration: 1.5704656559973955
MAIN: 2025-05-19 14:43:08,881 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/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=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-05-19 14:43:38,104 - INFO - taking picture
MAIN: 2025-05-19 14:43:38,105 - INFO - we take 987 photos in this while loop
MAIN: 2025-05-19 14:43:38,105 - INFO - /home/pi/Desktop/images/19052025/14/43/image_19052025_14_43_37_29360.jpg
MAIN: 2025-05-19 14:43:38,106 - INFO - duration: 1.4362461410055403
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:44:08,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-05-19 14:44:08,744 - INFO - taking picture
MAIN: 2025-05-19 14:44:08,746 - INFO - we take 988 photos in this while loop
MAIN: 2025-05-19 14:44:08,746 - INFO - /home/pi/Desktop/images/19052025/14/43/image_19052025_14_44_07_30565.jpg
MAIN: 2025-05-19 14:44:08,747 - INFO - duration: 1.5116770759996143
MAIN: 2025-05-19 14:44:08,748 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/44'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 14:44:38,225 - INFO - taking picture
MAIN: 2025-05-19 14:44:38,226 - INFO - we take 989 photos in this while loop
MAIN: 2025-05-19 14:44:38,227 - INFO - /home/pi/Desktop/images/19052025/14/44/image_19052025_14_44_37_29556.jpg
MAIN: 2025-05-19 14:44:38,227 - INFO - duration: 1.4353561399984756
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:45:09,225 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 14:45:09,405 - INFO - taking picture
MAIN: 2025-05-19 14:45:09,406 - INFO - we take 990 photos in this while loop
MAIN: 2025-05-19 14:45:09,407 - INFO - /home/pi/Desktop/images/19052025/14/44/image_19052025_14_45_08_30853.jpg
MAIN: 2025-05-19 14:45:09,408 - INFO - duration: 1.7630173099969397
MAIN: 2025-05-19 14:45:09,409 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/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=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-05-19 14:45:38,978 - INFO - taking picture
MAIN: 2025-05-19 14:45:38,980 - INFO - we take 991 photos in this while loop
MAIN: 2025-05-19 14:45:38,980 - INFO - /home/pi/Desktop/images/19052025/14/45/image_19052025_14_45_38_29877.jpg
MAIN: 2025-05-19 14:45:38,980 - INFO - duration: 1.4580789390020072
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:46:08,174 - INFO - taking picture
MAIN: 2025-05-19 14:46:08,175 - INFO - we take 992 photos in this while loop
MAIN: 2025-05-19 14:46:08,176 - INFO - /home/pi/Desktop/images/19052025/14/45/image_19052025_14_46_07_28674.jpg
MAIN: 2025-05-19 14:46:08,176 - INFO - duration: 1.9796774360002019
MAIN: 2025-05-19 14:46:08,599 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/46'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 14:46:09,669 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:46:37,423 - INFO - taking picture
MAIN: 2025-05-19 14:46:37,424 - INFO - we take 993 photos in this while loop
MAIN: 2025-05-19 14:46:37,425 - INFO - /home/pi/Desktop/images/19052025/14/46/image_19052025_14_46_36_29913.jpg
MAIN: 2025-05-19 14:46:37,425 - INFO - duration: 1.3152732539965655
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:47:09,174 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 14:47:09,242 - INFO - taking picture
MAIN: 2025-05-19 14:47:09,243 - INFO - we take 994 photos in this while loop
MAIN: 2025-05-19 14:47:09,244 - INFO - /home/pi/Desktop/images/19052025/14/46/image_19052025_14_47_08_31613.jpg
MAIN: 2025-05-19 14:47:09,245 - INFO - duration: 1.5214975000053528
MAIN: 2025-05-19 14:47:09,246 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/47'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:47:38,645 - INFO - taking picture
MAIN: 2025-05-19 14:47:38,647 - INFO - we take 995 photos in this while loop
MAIN: 2025-05-19 14:47:38,647 - INFO - /home/pi/Desktop/images/19052025/14/47/image_19052025_14_47_37_29461.jpg
MAIN: 2025-05-19 14:47:38,647 - INFO - duration: 1.4622810850050882
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:48:09,213 - INFO - taking picture
MAIN: 2025-05-19 14:48:09,215 - INFO - we take 996 photos in this while loop
MAIN: 2025-05-19 14:48:09,215 - INFO - /home/pi/Desktop/images/19052025/14/47/image_19052025_14_48_08_30264.jpg
MAIN: 2025-05-19 14:48:09,216 - INFO - duration: 1.7660525359970052
MAIN: 2025-05-19 14:48:09,216 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/48'
MAIN: 2025-05-19 14:48:09,521 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:48:38,696 - INFO - taking picture
MAIN: 2025-05-19 14:48:38,697 - INFO - we take 997 photos in this while loop
MAIN: 2025-05-19 14:48:38,697 - INFO - /home/pi/Desktop/images/19052025/14/48/image_19052025_14_48_37_29814.jpg
MAIN: 2025-05-19 14:48:38,698 - INFO - duration: 1.4332991179981036
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:49:08,005 - INFO - taking picture
MAIN: 2025-05-19 14:49:08,006 - INFO - we take 998 photos in this while loop
MAIN: 2025-05-19 14:49:08,007 - INFO - /home/pi/Desktop/images/19052025/14/48/image_19052025_14_49_06_28860.jpg
MAIN: 2025-05-19 14:49:08,007 - INFO - duration: 1.882407732999127
MAIN: 2025-05-19 14:49:08,201 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/49'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 14:49:09,251 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:49:38,816 - INFO - taking picture
MAIN: 2025-05-19 14:49:38,817 - INFO - we take 999 photos in this while loop
MAIN: 2025-05-19 14:49:38,817 - INFO - /home/pi/Desktop/images/19052025/14/49/image_19052025_14_49_37_31258.jpg
MAIN: 2025-05-19 14:49:38,818 - INFO - duration: 1.4343236389977392
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:50:08,641 - INFO - taking picture
MAIN: 2025-05-19 14:50:08,643 - INFO - we take 1000 photos in this while loop
MAIN: 2025-05-19 14:50:08,645 - INFO - /home/pi/Desktop/images/19052025/14/49/image_19052025_14_50_07_29191.jpg
MAIN: 2025-05-19 14:50:08,645 - INFO - duration: 2.070037464996858
MAIN: 2025-05-19 14:50:09,145 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/50'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 14:50:10,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:50:38,219 - INFO - taking picture
MAIN: 2025-05-19 14:50:38,220 - INFO - we take 1001 photos in this while loop
MAIN: 2025-05-19 14:50:38,221 - INFO - /home/pi/Desktop/images/19052025/14/50/image_19052025_14_50_37_30212.jpg
MAIN: 2025-05-19 14:50:38,221 - INFO - duration: 1.4329696249988046
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:51:08,169 - INFO - taking picture
MAIN: 2025-05-19 14:51:08,170 - INFO - we take 1002 photos in this while loop
MAIN: 2025-05-19 14:51:08,171 - INFO - /home/pi/Desktop/images/19052025/14/50/image_19052025_14_51_07_29422.jpg
MAIN: 2025-05-19 14:51:08,172 - INFO - duration: 1.9605979019979713
MAIN: 2025-05-19 14:51:08,173 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/51'
MAIN: 2025-05-19 14:51:08,910 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:51:38,746 - INFO - taking picture
MAIN: 2025-05-19 14:51:38,746 - INFO - we take 1003 photos in this while loop
MAIN: 2025-05-19 14:51:38,746 - INFO - /home/pi/Desktop/images/19052025/14/51/image_19052025_14_51_37_31211.jpg
MAIN: 2025-05-19 14:51:38,747 - INFO - duration: 1.3242103810043773
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 14:52:08,112 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 14:52:09,351 - INFO - taking picture
MAIN: 2025-05-19 14:52:09,353 - INFO - we take 1004 photos in this while loop
MAIN: 2025-05-19 14:52:09,353 - INFO - /home/pi/Desktop/images/19052025/14/51/image_19052025_14_52_08_30319.jpg
MAIN: 2025-05-19 14:52:09,353 - INFO - duration: 1.6110491510044085
MAIN: 2025-05-19 14:52:09,354 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/52'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:52:38,793 - INFO - taking picture
MAIN: 2025-05-19 14:52:38,794 - INFO - we take 1005 photos in this while loop
MAIN: 2025-05-19 14:52:38,794 - INFO - /home/pi/Desktop/images/19052025/14/52/image_19052025_14_52_38_29724.jpg
MAIN: 2025-05-19 14:52:38,795 - INFO - duration: 1.3275888889984344
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-05-19 14:53:08,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 ! 
MAIN: 2025-05-19 14:53:08,851 - INFO - taking picture
MAIN: 2025-05-19 14:53:08,852 - INFO - we take 1006 photos in this while loop
MAIN: 2025-05-19 14:53:08,853 - INFO - /home/pi/Desktop/images/19052025/14/52/image_19052025_14_53_07_29872.jpg
MAIN: 2025-05-19 14:53:08,853 - INFO - duration: 1.5129889539966825
MAIN: 2025-05-19 14:53:08,854 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=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-05-19 14:53:37,965 - INFO - taking picture
MAIN: 2025-05-19 14:53:37,966 - INFO - we take 1007 photos in this while loop
MAIN: 2025-05-19 14:53:37,966 - INFO - /home/pi/Desktop/images/19052025/14/53/image_19052025_14_53_37_29327.jpg
MAIN: 2025-05-19 14:53:37,967 - INFO - duration: 1.2997965130052762
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:54:08,416 - INFO - taking picture
MAIN: 2025-05-19 14:54:08,418 - INFO - we take 1008 photos in this while loop
MAIN: 2025-05-19 14:54:08,418 - INFO - /home/pi/Desktop/images/19052025/14/53/image_19052025_14_54_07_30006.jpg
MAIN: 2025-05-19 14:54:08,419 - INFO - duration: 1.745124623994343
MAIN: 2025-05-19 14:54:08,420 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/54'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 14:54:09,469 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 14:54:37,554 - INFO - taking picture
MAIN: 2025-05-19 14:54:37,561 - INFO - we take 1009 photos in this while loop
MAIN: 2025-05-19 14:54:37,562 - INFO - /home/pi/Desktop/images/19052025/14/54/image_19052025_14_54_36_29445.jpg
MAIN: 2025-05-19 14:54:37,562 - INFO - duration: 1.4428441100026248
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:55:08,932 - INFO - taking picture
MAIN: 2025-05-19 14:55:08,934 - INFO - we take 1010 photos in this while loop
MAIN: 2025-05-19 14:55:08,938 - INFO - /home/pi/Desktop/images/19052025/14/54/image_19052025_14_55_07_30636.jpg
MAIN: 2025-05-19 14:55:08,942 - INFO - duration: 2.1860358599951724
MAIN: 2025-05-19 14:55:08,943 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/55'
MAIN: 2025-05-19 14:55:09,179 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:55:38,211 - INFO - taking picture
MAIN: 2025-05-19 14:55:38,212 - INFO - we take 1011 photos in this while loop
MAIN: 2025-05-19 14:55:38,212 - INFO - /home/pi/Desktop/images/19052025/14/55/image_19052025_14_55_37_30088.jpg
MAIN: 2025-05-19 14:55:38,212 - INFO - duration: 1.3682931110015488
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:56:08,861 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 14:56:09,350 - INFO - taking picture
MAIN: 2025-05-19 14:56:09,351 - INFO - we take 1012 photos in this while loop
MAIN: 2025-05-19 14:56:09,351 - INFO - /home/pi/Desktop/images/19052025/14/55/image_19052025_14_56_08_30791.jpg
MAIN: 2025-05-19 14:56:09,352 - INFO - duration: 1.7164844430008088
MAIN: 2025-05-19 14:56:09,353 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/56'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 14:56:38,668 - INFO - taking picture
MAIN: 2025-05-19 14:56:38,670 - INFO - we take 1013 photos in this while loop
MAIN: 2025-05-19 14:56:38,670 - INFO - /home/pi/Desktop/images/19052025/14/56/image_19052025_14_56_37_29820.jpg
MAIN: 2025-05-19 14:56:38,670 - INFO - duration: 1.2147913739972864
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:57:08,835 - INFO - taking picture
MAIN: 2025-05-19 14:57:08,837 - INFO - we take 1014 photos in this while loop
MAIN: 2025-05-19 14:57:08,837 - INFO - /home/pi/Desktop/images/19052025/14/56/image_19052025_14_57_07_29847.jpg
MAIN: 2025-05-19 14:57:08,837 - INFO - duration: 1.5339949180051917
MAIN: 2025-05-19 14:57:08,838 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/57'
MAIN: 2025-05-19 14:57:08,856 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:57:38,062 - INFO - taking picture
MAIN: 2025-05-19 14:57:38,063 - INFO - we take 1015 photos in this while loop
MAIN: 2025-05-19 14:57:38,064 - INFO - /home/pi/Desktop/images/19052025/14/57/image_19052025_14_57_37_29421.jpg
MAIN: 2025-05-19 14:57:38,064 - INFO - duration: 1.3397535660042195
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:58:08,593 - INFO - taking picture
MAIN: 2025-05-19 14:58:08,594 - INFO - we take 1016 photos in this while loop
MAIN: 2025-05-19 14:58:08,595 - INFO - /home/pi/Desktop/images/19052025/14/57/image_19052025_14_58_07_29977.jpg
MAIN: 2025-05-19 14:58:08,596 - INFO - duration: 1.8934097289966303
MAIN: 2025-05-19 14:58:08,597 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/58'
MAIN: 2025-05-19 14:58:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:58:37,935 - INFO - taking picture
MAIN: 2025-05-19 14:58:37,936 - INFO - we take 1017 photos in this while loop
MAIN: 2025-05-19 14:58:37,937 - INFO - /home/pi/Desktop/images/19052025/14/58/image_19052025_14_58_37_29773.jpg
MAIN: 2025-05-19 14:58:37,937 - INFO - duration: 1.461513553003897
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:59:08,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-05-19 14:59:08,457 - INFO - taking picture
MAIN: 2025-05-19 14:59:08,458 - INFO - we take 1018 photos in this while loop
MAIN: 2025-05-19 14:59:08,458 - INFO - /home/pi/Desktop/images/19052025/14/58/image_19052025_14_59_07_30401.jpg
MAIN: 2025-05-19 14:59:08,459 - INFO - duration: 1.581404502998339
MAIN: 2025-05-19 14:59:08,460 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/14/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 14:59:37,911 - INFO - taking picture
MAIN: 2025-05-19 14:59:37,913 - INFO - we take 1019 photos in this while loop
MAIN: 2025-05-19 14:59:37,913 - INFO - /home/pi/Desktop/images/19052025/14/59/image_19052025_14_59_37_29569.jpg
MAIN: 2025-05-19 14:59:37,913 - INFO - duration: 1.466465398996661
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:00:09,754 - INFO - taking picture
MAIN: 2025-05-19 15:00:09,761 - INFO - we take 1020 photos in this while loop
MAIN: 2025-05-19 15:00:09,762 - INFO - /home/pi/Desktop/images/19052025/14/59/image_19052025_15_00_08_30988.jpg
MAIN: 2025-05-19 15:00:09,763 - INFO - duration: 2.3273454909940483
MAIN: 2025-05-19 15:00:09,764 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/00'
MAIN: 2025-05-19 15:00:10,287 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:00:37,538 - INFO - taking picture
MAIN: 2025-05-19 15:00:37,539 - INFO - we take 1021 photos in this while loop
MAIN: 2025-05-19 15:00:37,539 - INFO - /home/pi/Desktop/images/19052025/15/00/image_19052025_15_00_36_28668.jpg
MAIN: 2025-05-19 15:00:37,540 - INFO - duration: 1.436110362999898
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:01:08,094 - INFO - taking picture
MAIN: 2025-05-19 15:01:08,095 - INFO - we take 1022 photos in this while loop
MAIN: 2025-05-19 15:01:08,096 - INFO - /home/pi/Desktop/images/19052025/15/00/image_19052025_15_01_07_30081.jpg
MAIN: 2025-05-19 15:01:08,096 - INFO - duration: 1.9115858229997684
MAIN: 2025-05-19 15:01:08,097 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/01'
MAIN: 2025-05-19 15:01:08,900 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:01:38,743 - INFO - taking picture
MAIN: 2025-05-19 15:01:38,744 - INFO - we take 1023 photos in this while loop
MAIN: 2025-05-19 15:01:38,744 - INFO - /home/pi/Desktop/images/19052025/15/01/image_19052025_15_01_37_31246.jpg
MAIN: 2025-05-19 15:01:38,745 - INFO - duration: 1.3140041799997562
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:02:08,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 ! 
MAIN: 2025-05-19 15:02:09,437 - INFO - taking picture
MAIN: 2025-05-19 15:02:09,438 - INFO - we take 1024 photos in this while loop
MAIN: 2025-05-19 15:02:09,439 - INFO - /home/pi/Desktop/images/19052025/15/01/image_19052025_15_02_08_30451.jpg
MAIN: 2025-05-19 15:02:09,439 - INFO - duration: 1.5567048909942969
MAIN: 2025-05-19 15:02:09,440 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/02'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:02:38,529 - INFO - taking picture
MAIN: 2025-05-19 15:02:38,531 - INFO - we take 1025 photos in this while loop
MAIN: 2025-05-19 15:02:38,531 - INFO - /home/pi/Desktop/images/19052025/15/02/image_19052025_15_02_37_29331.jpg
MAIN: 2025-05-19 15:02:38,531 - INFO - duration: 1.3172576919969288
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-05-19 15:03:08,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 ! 
MAIN: 2025-05-19 15:03:08,961 - INFO - taking picture
MAIN: 2025-05-19 15:03:08,962 - INFO - we take 1026 photos in this while loop
MAIN: 2025-05-19 15:03:08,962 - INFO - /home/pi/Desktop/images/19052025/15/02/image_19052025_15_03_08_30250.jpg
MAIN: 2025-05-19 15:03:08,962 - INFO - duration: 1.4974875500047347
MAIN: 2025-05-19 15:03:08,963 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=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-05-19 15:03:38,403 - INFO - taking picture
MAIN: 2025-05-19 15:03:38,404 - INFO - we take 1027 photos in this while loop
MAIN: 2025-05-19 15:03:38,405 - INFO - /home/pi/Desktop/images/19052025/15/03/image_19052025_15_03_37_29487.jpg
MAIN: 2025-05-19 15:03:38,405 - INFO - duration: 1.4530868859947077
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:04:09,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-05-19 15:04:09,276 - INFO - taking picture
MAIN: 2025-05-19 15:04:09,278 - INFO - we take 1028 photos in this while loop
MAIN: 2025-05-19 15:04:09,278 - INFO - /home/pi/Desktop/images/19052025/15/03/image_19052025_15_04_08_30179.jpg
MAIN: 2025-05-19 15:04:09,279 - INFO - duration: 2.1468808260033256
MAIN: 2025-05-19 15:04:09,280 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:04:38,594 - INFO - taking picture
MAIN: 2025-05-19 15:04:38,595 - INFO - we take 1029 photos in this while loop
MAIN: 2025-05-19 15:04:38,595 - INFO - /home/pi/Desktop/images/19052025/15/04/image_19052025_15_04_37_30024.jpg
MAIN: 2025-05-19 15:04:38,596 - INFO - duration: 1.4399373850028496
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:05:08,499 - INFO - taking picture
MAIN: 2025-05-19 15:05:08,500 - INFO - we take 1030 photos in this while loop
MAIN: 2025-05-19 15:05:08,501 - INFO - /home/pi/Desktop/images/19052025/15/04/image_19052025_15_05_07_29042.jpg
MAIN: 2025-05-19 15:05:08,502 - INFO - duration: 2.302991160999227
MAIN: 2025-05-19 15:05:08,503 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/05'
MAIN: 2025-05-19 15:05:08,573 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:05:37,895 - INFO - taking picture
MAIN: 2025-05-19 15:05:37,896 - INFO - we take 1031 photos in this while loop
MAIN: 2025-05-19 15:05:37,897 - INFO - /home/pi/Desktop/images/19052025/15/05/image_19052025_15_05_37_30251.jpg
MAIN: 2025-05-19 15:05:37,897 - INFO - duration: 1.4470672540046507
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:06:09,015 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:06:09,020 - INFO - taking picture
MAIN: 2025-05-19 15:06:09,021 - INFO - we take 1032 photos in this while loop
MAIN: 2025-05-19 15:06:09,022 - INFO - /home/pi/Desktop/images/19052025/15/05/image_19052025_15_06_08_30804.jpg
MAIN: 2025-05-19 15:06:09,023 - INFO - duration: 1.7681748519971734
MAIN: 2025-05-19 15:06:09,024 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:06:38,441 - INFO - taking picture
MAIN: 2025-05-19 15:06:38,443 - INFO - we take 1033 photos in this while loop
MAIN: 2025-05-19 15:06:38,443 - INFO - /home/pi/Desktop/images/19052025/15/06/image_19052025_15_06_37_29743.jpg
MAIN: 2025-05-19 15:06:38,443 - INFO - duration: 1.4459969169984106
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:07:08,604 - INFO - taking picture
MAIN: 2025-05-19 15:07:08,605 - INFO - we take 1034 photos in this while loop
MAIN: 2025-05-19 15:07:08,606 - INFO - /home/pi/Desktop/images/19052025/15/06/image_19052025_15_07_07_30013.jpg
MAIN: 2025-05-19 15:07:08,606 - INFO - duration: 1.595258790999651
MAIN: 2025-05-19 15:07:08,607 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/07'
MAIN: 2025-05-19 15:07:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:07:37,853 - INFO - taking picture
MAIN: 2025-05-19 15:07:37,854 - INFO - we take 1035 photos in this while loop
MAIN: 2025-05-19 15:07:37,855 - INFO - /home/pi/Desktop/images/19052025/15/07/image_19052025_15_07_36_29402.jpg
MAIN: 2025-05-19 15:07:37,855 - INFO - duration: 1.4417145350016654
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:08:08,844 - INFO - taking picture
MAIN: 2025-05-19 15:08:08,846 - INFO - we take 1036 photos in this while loop
MAIN: 2025-05-19 15:08:08,846 - INFO - /home/pi/Desktop/images/19052025/15/07/image_19052025_15_08_07_30462.jpg
MAIN: 2025-05-19 15:08:08,847 - INFO - duration: 1.971446883995668
MAIN: 2025-05-19 15:08:08,849 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/08'
MAIN: 2025-05-19 15:08:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:08:38,181 - INFO - taking picture
MAIN: 2025-05-19 15:08:38,182 - INFO - we take 1037 photos in this while loop
MAIN: 2025-05-19 15:08:38,183 - INFO - /home/pi/Desktop/images/19052025/15/08/image_19052025_15_08_37_29865.jpg
MAIN: 2025-05-19 15:08:38,183 - INFO - duration: 1.4412254710041452
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-05-19 15:09:08,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-05-19 15:09:08,511 - INFO - taking picture
MAIN: 2025-05-19 15:09:08,512 - INFO - we take 1038 photos in this while loop
MAIN: 2025-05-19 15:09:08,512 - INFO - /home/pi/Desktop/images/19052025/15/08/image_19052025_15_09_07_30243.jpg
MAIN: 2025-05-19 15:09:08,513 - INFO - duration: 1.527063948000432
MAIN: 2025-05-19 15:09:08,513 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/09'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:09:37,698 - INFO - taking picture
MAIN: 2025-05-19 15:09:37,699 - INFO - we take 1039 photos in this while loop
MAIN: 2025-05-19 15:09:37,700 - INFO - /home/pi/Desktop/images/19052025/15/09/image_19052025_15_09_36_29279.jpg
MAIN: 2025-05-19 15:09:37,700 - INFO - duration: 1.4347189010004513
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:10:09,324 - INFO - taking picture
MAIN: 2025-05-19 15:10:09,325 - INFO - we take 1040 photos in this while loop
MAIN: 2025-05-19 15:10:09,326 - INFO - /home/pi/Desktop/images/19052025/15/09/image_19052025_15_10_07_30212.jpg
MAIN: 2025-05-19 15:10:09,327 - INFO - duration: 2.849029058001179
MAIN: 2025-05-19 15:10:09,974 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/10'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 15:10:11,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:10:38,673 - INFO - taking picture
MAIN: 2025-05-19 15:10:38,674 - INFO - we take 1041 photos in this while loop
MAIN: 2025-05-19 15:10:38,674 - INFO - /home/pi/Desktop/images/19052025/15/10/image_19052025_15_10_38_31006.jpg
MAIN: 2025-05-19 15:10:38,675 - INFO - duration: 1.1900989160058089
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 15:11:07,837 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 15:11:08,971 - INFO - taking picture
MAIN: 2025-05-19 15:11:08,972 - INFO - we take 1042 photos in this while loop
MAIN: 2025-05-19 15:11:08,973 - INFO - /home/pi/Desktop/images/19052025/15/10/image_19052025_15_11_08_30000.jpg
MAIN: 2025-05-19 15:11:08,973 - INFO - duration: 1.4884422880058992
MAIN: 2025-05-19 15:11:08,974 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=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-05-19 15:11:38,456 - INFO - taking picture
MAIN: 2025-05-19 15:11:38,457 - INFO - we take 1043 photos in this while loop
MAIN: 2025-05-19 15:11:38,457 - INFO - /home/pi/Desktop/images/19052025/15/11/image_19052025_15_11_37_29652.jpg
MAIN: 2025-05-19 15:11:38,458 - INFO - duration: 1.32043434199295
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:12:09,434 - INFO - taking picture
MAIN: 2025-05-19 15:12:09,435 - INFO - we take 1044 photos in this while loop
MAIN: 2025-05-19 15:12:09,436 - INFO - /home/pi/Desktop/images/19052025/15/11/image_19052025_15_12_08_30699.jpg
MAIN: 2025-05-19 15:12:09,436 - INFO - duration: 1.5993486369989114
MAIN: 2025-05-19 15:12:09,437 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/12'
MAIN: 2025-05-19 15:12:09,769 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:12:38,673 - INFO - taking picture
MAIN: 2025-05-19 15:12:38,674 - INFO - we take 1045 photos in this while loop
MAIN: 2025-05-19 15:12:38,675 - INFO - /home/pi/Desktop/images/19052025/15/12/image_19052025_15_12_37_29504.jpg
MAIN: 2025-05-19 15:12:38,675 - INFO - duration: 1.3336797509982716
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:13:07,877 - INFO - taking picture
MAIN: 2025-05-19 15:13:07,878 - INFO - we take 1046 photos in this while loop
MAIN: 2025-05-19 15:13:07,879 - INFO - /home/pi/Desktop/images/19052025/15/12/image_19052025_15_13_06_28833.jpg
MAIN: 2025-05-19 15:13:07,880 - INFO - duration: 1.7049922829974093
MAIN: 2025-05-19 15:13:07,882 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/13'
MAIN: 2025-05-19 15:13:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:13:38,442 - INFO - taking picture
MAIN: 2025-05-19 15:13:38,443 - INFO - we take 1047 photos in this while loop
MAIN: 2025-05-19 15:13:38,444 - INFO - /home/pi/Desktop/images/19052025/15/13/image_19052025_15_13_37_30874.jpg
MAIN: 2025-05-19 15:13:38,444 - INFO - duration: 1.3948112460057018
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:14:08,704 - INFO - taking picture
MAIN: 2025-05-19 15:14:08,706 - INFO - we take 1048 photos in this while loop
MAIN: 2025-05-19 15:14:08,707 - INFO - /home/pi/Desktop/images/19052025/15/13/image_19052025_15_14_07_29859.jpg
MAIN: 2025-05-19 15:14:08,708 - INFO - duration: 1.7981312050033011
MAIN: 2025-05-19 15:14:08,842 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/14'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 15:14:09,908 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:14:38,235 - INFO - taking picture
MAIN: 2025-05-19 15:14:38,236 - INFO - we take 1049 photos in this while loop
MAIN: 2025-05-19 15:14:38,236 - INFO - /home/pi/Desktop/images/19052025/15/14/image_19052025_15_14_37_29869.jpg
MAIN: 2025-05-19 15:14:38,237 - INFO - duration: 1.4574490410013823
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:15:09,370 - INFO - taking picture
MAIN: 2025-05-19 15:15:09,371 - INFO - we take 1050 photos in this while loop
MAIN: 2025-05-19 15:15:09,372 - INFO - /home/pi/Desktop/images/19052025/15/14/image_19052025_15_15_08_30676.jpg
MAIN: 2025-05-19 15:15:09,372 - INFO - duration: 1.916775048004638
MAIN: 2025-05-19 15:15:09,373 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/15'
MAIN: 2025-05-19 15:15:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:15:38,610 - INFO - taking picture
MAIN: 2025-05-19 15:15:38,611 - INFO - we take 1051 photos in this while loop
MAIN: 2025-05-19 15:15:38,612 - INFO - /home/pi/Desktop/images/19052025/15/15/image_19052025_15_15_37_29842.jpg
MAIN: 2025-05-19 15:15:38,612 - INFO - duration: 1.3134153790015262
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:16:09,299 - INFO - taking picture
MAIN: 2025-05-19 15:16:09,301 - INFO - we take 1052 photos in this while loop
MAIN: 2025-05-19 15:16:09,301 - INFO - /home/pi/Desktop/images/19052025/15/15/image_19052025_15_16_08_30392.jpg
MAIN: 2025-05-19 15:16:09,302 - INFO - duration: 1.6102373899993836
MAIN: 2025-05-19 15:16:09,303 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/16'
MAIN: 2025-05-19 15:16:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:16:38,854 - INFO - taking picture
MAIN: 2025-05-19 15:16:38,855 - INFO - we take 1053 photos in this while loop
MAIN: 2025-05-19 15:16:38,855 - INFO - /home/pi/Desktop/images/19052025/15/16/image_19052025_15_16_37_29707.jpg
MAIN: 2025-05-19 15:16:38,856 - INFO - duration: 1.4573322519936482
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:17:08,263 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:17:09,087 - INFO - taking picture
MAIN: 2025-05-19 15:17:09,088 - INFO - we take 1054 photos in this while loop
MAIN: 2025-05-19 15:17:09,089 - INFO - /home/pi/Desktop/images/19052025/15/16/image_19052025_15_17_08_30193.jpg
MAIN: 2025-05-19 15:17:09,089 - INFO - duration: 1.4976647310031694
MAIN: 2025-05-19 15:17:09,090 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/17'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:17:38,657 - INFO - taking picture
MAIN: 2025-05-19 15:17:38,658 - INFO - we take 1055 photos in this while loop
MAIN: 2025-05-19 15:17:38,659 - INFO - /home/pi/Desktop/images/19052025/15/17/image_19052025_15_17_37_29540.jpg
MAIN: 2025-05-19 15:17:38,660 - INFO - duration: 1.5282324259969755
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:18:08,151 - INFO - taking picture
MAIN: 2025-05-19 15:18:08,152 - INFO - we take 1056 photos in this while loop
MAIN: 2025-05-19 15:18:08,154 - INFO - /home/pi/Desktop/images/19052025/15/17/image_19052025_15_18_06_29146.jpg
MAIN: 2025-05-19 15:18:08,154 - INFO - duration: 1.8761754949955503
MAIN: 2025-05-19 15:18:08,157 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/18'
MAIN: 2025-05-19 15:18:08,241 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:18:39,068 - INFO - taking picture
MAIN: 2025-05-19 15:18:39,069 - INFO - we take 1057 photos in this while loop
MAIN: 2025-05-19 15:18:39,069 - INFO - /home/pi/Desktop/images/19052025/15/18/image_19052025_15_18_38_31298.jpg
MAIN: 2025-05-19 15:18:39,070 - INFO - duration: 1.4929819200042402
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:19:08,046 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:19:08,224 - INFO - taking picture
MAIN: 2025-05-19 15:19:08,226 - INFO - we take 1058 photos in this while loop
MAIN: 2025-05-19 15:19:08,226 - INFO - /home/pi/Desktop/images/19052025/15/18/image_19052025_15_19_07_29013.jpg
MAIN: 2025-05-19 15:19:08,227 - INFO - duration: 1.636175462997926
MAIN: 2025-05-19 15:19:08,228 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/19'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:19:37,608 - INFO - taking picture
MAIN: 2025-05-19 15:19:37,609 - INFO - we take 1059 photos in this while loop
MAIN: 2025-05-19 15:19:37,609 - INFO - /home/pi/Desktop/images/19052025/15/19/image_19052025_15_19_36_29578.jpg
MAIN: 2025-05-19 15:19:37,610 - INFO - duration: 1.441033155999321
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:20:09,252 - INFO - taking picture
MAIN: 2025-05-19 15:20:09,253 - INFO - we take 1060 photos in this while loop
MAIN: 2025-05-19 15:20:09,254 - INFO - /home/pi/Desktop/images/19052025/15/19/image_19052025_15_20_07_30435.jpg
MAIN: 2025-05-19 15:20:09,265 - INFO - duration: 2.660570521999034
MAIN: 2025-05-19 15:20:09,518 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/20'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 15:20:10,628 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:20:38,749 - INFO - taking picture
MAIN: 2025-05-19 15:20:38,750 - INFO - we take 1061 photos in this while loop
MAIN: 2025-05-19 15:20:38,751 - INFO - /home/pi/Desktop/images/19052025/15/20/image_19052025_15_20_37_30655.jpg
MAIN: 2025-05-19 15:20:38,751 - INFO - duration: 1.4916271639958723
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:21:08,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 ! 
MAIN: 2025-05-19 15:21:09,055 - INFO - taking picture
MAIN: 2025-05-19 15:21:09,056 - INFO - we take 1062 photos in this while loop
MAIN: 2025-05-19 15:21:09,057 - INFO - /home/pi/Desktop/images/19052025/15/20/image_19052025_15_21_08_30292.jpg
MAIN: 2025-05-19 15:21:09,057 - INFO - duration: 1.505232519004494
MAIN: 2025-05-19 15:21:09,058 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:21:38,582 - INFO - taking picture
MAIN: 2025-05-19 15:21:38,583 - INFO - we take 1063 photos in this while loop
MAIN: 2025-05-19 15:21:38,584 - INFO - /home/pi/Desktop/images/19052025/15/21/image_19052025_15_21_37_29544.jpg
MAIN: 2025-05-19 15:21:38,584 - INFO - duration: 1.4873005960034789
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-05-19 15:22:08,863 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:22:09,242 - INFO - taking picture
MAIN: 2025-05-19 15:22:09,243 - INFO - we take 1064 photos in this while loop
MAIN: 2025-05-19 15:22:09,244 - INFO - /home/pi/Desktop/images/19052025/15/21/image_19052025_15_22_08_30419.jpg
MAIN: 2025-05-19 15:22:09,244 - INFO - duration: 1.7285292050000862
MAIN: 2025-05-19 15:22:09,245 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/22'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:22:38,658 - INFO - taking picture
MAIN: 2025-05-19 15:22:38,659 - INFO - we take 1065 photos in this while loop
MAIN: 2025-05-19 15:22:38,659 - INFO - /home/pi/Desktop/images/19052025/15/22/image_19052025_15_22_37_29701.jpg
MAIN: 2025-05-19 15:22:38,660 - INFO - duration: 1.442593339997984
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:23:08,858 - INFO - taking picture
MAIN: 2025-05-19 15:23:08,859 - INFO - we take 1066 photos in this while loop
MAIN: 2025-05-19 15:23:08,860 - INFO - /home/pi/Desktop/images/19052025/15/22/image_19052025_15_23_07_30031.jpg
MAIN: 2025-05-19 15:23:08,860 - INFO - duration: 1.6115873059970909
MAIN: 2025-05-19 15:23:08,861 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/23'
MAIN: 2025-05-19 15:23:08,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:23:37,919 - INFO - taking picture
MAIN: 2025-05-19 15:23:37,920 - INFO - we take 1067 photos in this while loop
MAIN: 2025-05-19 15:23:37,920 - INFO - /home/pi/Desktop/images/19052025/15/23/image_19052025_15_23_37_29215.jpg
MAIN: 2025-05-19 15:23:37,921 - INFO - duration: 1.4560514129989315
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:24:08,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 ! 
MAIN: 2025-05-19 15:24:08,838 - INFO - taking picture
MAIN: 2025-05-19 15:24:08,840 - INFO - we take 1068 photos in this while loop
MAIN: 2025-05-19 15:24:08,840 - INFO - /home/pi/Desktop/images/19052025/15/23/image_19052025_15_24_07_30512.jpg
MAIN: 2025-05-19 15:24:08,841 - INFO - duration: 1.8636699790004059
MAIN: 2025-05-19 15:24:08,842 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=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-05-19 15:24:38,208 - INFO - taking picture
MAIN: 2025-05-19 15:24:38,209 - INFO - we take 1069 photos in this while loop
MAIN: 2025-05-19 15:24:38,210 - INFO - /home/pi/Desktop/images/19052025/15/24/image_19052025_15_24_37_29785.jpg
MAIN: 2025-05-19 15:24:38,210 - INFO - duration: 1.4468043300003046
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:25:09,435 - INFO - taking picture
MAIN: 2025-05-19 15:25:09,436 - INFO - we take 1070 photos in this while loop
MAIN: 2025-05-19 15:25:09,437 - INFO - /home/pi/Desktop/images/19052025/15/24/image_19052025_15_25_08_30372.jpg
MAIN: 2025-05-19 15:25:09,438 - INFO - duration: 2.302198437995685
MAIN: 2025-05-19 15:25:09,439 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/25'
MAIN: 2025-05-19 15:25:10,235 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:25:38,761 - INFO - taking picture
MAIN: 2025-05-19 15:25:38,763 - INFO - we take 1071 photos in this while loop
MAIN: 2025-05-19 15:25:38,763 - INFO - /home/pi/Desktop/images/19052025/15/25/image_19052025_15_25_37_30299.jpg
MAIN: 2025-05-19 15:25:38,763 - INFO - duration: 1.3282672419954906
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:26:08,097 - INFO - taking picture
MAIN: 2025-05-19 15:26:08,098 - INFO - we take 1072 photos in this while loop
MAIN: 2025-05-19 15:26:08,099 - INFO - /home/pi/Desktop/images/19052025/15/25/image_19052025_15_26_06_28715.jpg
MAIN: 2025-05-19 15:26:08,100 - INFO - duration: 1.9488465569957043
MAIN: 2025-05-19 15:26:08,275 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/26'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 15:26:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:26:38,698 - INFO - taking picture
MAIN: 2025-05-19 15:26:38,699 - INFO - we take 1073 photos in this while loop
MAIN: 2025-05-19 15:26:38,699 - INFO - /home/pi/Desktop/images/19052025/15/26/image_19052025_15_26_37_31165.jpg
MAIN: 2025-05-19 15:26:38,699 - INFO - duration: 1.3829484000016237
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:27:08,724 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:27:08,773 - INFO - taking picture
MAIN: 2025-05-19 15:27:08,774 - INFO - we take 1074 photos in this while loop
MAIN: 2025-05-19 15:27:08,775 - INFO - /home/pi/Desktop/images/19052025/15/26/image_19052025_15_27_07_29755.jpg
MAIN: 2025-05-19 15:27:08,776 - INFO - duration: 1.7044887640004163
MAIN: 2025-05-19 15:27:08,777 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/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=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-05-19 15:27:38,354 - INFO - taking picture
MAIN: 2025-05-19 15:27:38,355 - INFO - we take 1075 photos in this while loop
MAIN: 2025-05-19 15:27:38,356 - INFO - /home/pi/Desktop/images/19052025/15/27/image_19052025_15_27_37_29821.jpg
MAIN: 2025-05-19 15:27:38,356 - INFO - duration: 1.4631538489993545
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 15:28:08,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-05-19 15:28:09,302 - INFO - taking picture
MAIN: 2025-05-19 15:28:09,304 - INFO - we take 1076 photos in this while loop
MAIN: 2025-05-19 15:28:09,305 - INFO - /home/pi/Desktop/images/19052025/15/27/image_19052025_15_28_08_30815.jpg
MAIN: 2025-05-19 15:28:09,305 - INFO - duration: 1.5970005490016774
MAIN: 2025-05-19 15:28:09,306 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/28'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=115 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:28:38,470 - INFO - taking picture
MAIN: 2025-05-19 15:28:38,471 - INFO - we take 1077 photos in this while loop
MAIN: 2025-05-19 15:28:38,472 - INFO - /home/pi/Desktop/images/19052025/15/28/image_19052025_15_28_37_29443.jpg
MAIN: 2025-05-19 15:28:38,472 - INFO - duration: 1.3207117560014012
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:29:08,371 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:29:08,774 - INFO - taking picture
MAIN: 2025-05-19 15:29:08,775 - INFO - we take 1078 photos in this while loop
MAIN: 2025-05-19 15:29:08,776 - INFO - /home/pi/Desktop/images/19052025/15/28/image_19052025_15_29_07_30080.jpg
MAIN: 2025-05-19 15:29:08,776 - INFO - duration: 1.5444705249974504
MAIN: 2025-05-19 15:29:08,777 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:29:37,926 - INFO - taking picture
MAIN: 2025-05-19 15:29:37,927 - INFO - we take 1079 photos in this while loop
MAIN: 2025-05-19 15:29:37,928 - INFO - /home/pi/Desktop/images/19052025/15/29/image_19052025_15_29_37_29260.jpg
MAIN: 2025-05-19 15:29:37,928 - INFO - duration: 1.4355505749990698
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:30:09,017 - INFO - taking picture
MAIN: 2025-05-19 15:30:09,018 - INFO - we take 1080 photos in this while loop
MAIN: 2025-05-19 15:30:09,019 - INFO - /home/pi/Desktop/images/19052025/15/29/image_19052025_15_30_07_30224.jpg
MAIN: 2025-05-19 15:30:09,019 - INFO - duration: 2.301955757997348
MAIN: 2025-05-19 15:30:10,135 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/30'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 15:30:11,261 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:30:38,369 - INFO - taking picture
MAIN: 2025-05-19 15:30:38,370 - INFO - we take 1081 photos in this while loop
MAIN: 2025-05-19 15:30:38,371 - INFO - /home/pi/Desktop/images/19052025/15/30/image_19052025_15_30_37_30216.jpg
MAIN: 2025-05-19 15:30:38,371 - INFO - duration: 1.4373862870052108
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 15:31:08,202 - INFO - taking picture
MAIN: 2025-05-19 15:31:08,204 - INFO - we take 1082 photos in this while loop
MAIN: 2025-05-19 15:31:08,204 - INFO - /home/pi/Desktop/images/19052025/15/30/image_19052025_15_31_07_29727.jpg
MAIN: 2025-05-19 15:31:08,205 - INFO - duration: 1.5437167209965992
MAIN: 2025-05-19 15:31:08,206 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/31'
MAIN: 2025-05-19 15:31:08,365 - INFO - cam.read() return no image
Will output and 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=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:31:39,060 - INFO - taking picture
MAIN: 2025-05-19 15:31:39,061 - INFO - we take 1083 photos in this while loop
MAIN: 2025-05-19 15:31:39,062 - INFO - /home/pi/Desktop/images/19052025/15/31/image_19052025_15_31_38_30911.jpg
MAIN: 2025-05-19 15:31:39,062 - INFO - duration: 1.4897759250015952
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:32:08,063 - INFO - taking picture
MAIN: 2025-05-19 15:32:08,065 - INFO - we take 1084 photos in this while loop
MAIN: 2025-05-19 15:32:08,066 - INFO - /home/pi/Desktop/images/19052025/15/31/image_19052025_15_32_06_28563.jpg
MAIN: 2025-05-19 15:32:08,066 - INFO - duration: 1.9305164019970107
MAIN: 2025-05-19 15:32:08,149 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/32'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 15:32:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:32:39,049 - INFO - taking picture
MAIN: 2025-05-19 15:32:39,050 - INFO - we take 1085 photos in this while loop
MAIN: 2025-05-19 15:32:39,050 - INFO - /home/pi/Desktop/images/19052025/15/32/image_19052025_15_32_38_31436.jpg
MAIN: 2025-05-19 15:32:39,051 - INFO - duration: 1.4788243650036748
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:33:08,601 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:33:09,198 - INFO - taking picture
MAIN: 2025-05-19 15:33:09,199 - INFO - we take 1086 photos in this while loop
MAIN: 2025-05-19 15:33:09,199 - INFO - /home/pi/Desktop/images/19052025/15/32/image_19052025_15_33_08_30087.jpg
MAIN: 2025-05-19 15:33:09,200 - INFO - duration: 1.5405348970016348
MAIN: 2025-05-19 15:33:09,200 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:33:38,197 - INFO - taking picture
MAIN: 2025-05-19 15:33:38,198 - INFO - we take 1087 photos in this while loop
MAIN: 2025-05-19 15:33:38,198 - INFO - /home/pi/Desktop/images/19052025/15/33/image_19052025_15_33_37_29098.jpg
MAIN: 2025-05-19 15:33:38,199 - INFO - duration: 1.441442454000935
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 15:34:08,412 - INFO - taking picture
MAIN: 2025-05-19 15:34:08,413 - INFO - we take 1088 photos in this while loop
MAIN: 2025-05-19 15:34:08,414 - INFO - /home/pi/Desktop/images/19052025/15/33/image_19052025_15_34_07_29749.jpg
MAIN: 2025-05-19 15:34:08,415 - INFO - duration: 1.9080887219970464
MAIN: 2025-05-19 15:34:08,416 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/34'
MAIN: 2025-05-19 15:34:09,420 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:34:39,028 - INFO - taking picture
MAIN: 2025-05-19 15:34:39,029 - INFO - we take 1089 photos in this while loop
MAIN: 2025-05-19 15:34:39,029 - INFO - /home/pi/Desktop/images/19052025/15/34/image_19052025_15_34_38_31061.jpg
MAIN: 2025-05-19 15:34:39,029 - INFO - duration: 1.4615351370011922
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:35:08,613 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:35:09,439 - INFO - taking picture
MAIN: 2025-05-19 15:35:09,440 - INFO - we take 1090 photos in this while loop
MAIN: 2025-05-19 15:35:09,441 - INFO - /home/pi/Desktop/images/19052025/15/34/image_19052025_15_35_08_30188.jpg
MAIN: 2025-05-19 15:35:09,441 - INFO - duration: 1.6853401439948357
MAIN: 2025-05-19 15:35:09,442 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/35'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:35:38,402 - INFO - taking picture
MAIN: 2025-05-19 15:35:38,403 - INFO - we take 1091 photos in this while loop
MAIN: 2025-05-19 15:35:38,404 - INFO - /home/pi/Desktop/images/19052025/15/35/image_19052025_15_35_37_29194.jpg
MAIN: 2025-05-19 15:35:38,404 - INFO - duration: 1.4539632460000576
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 15:36:08,870 - INFO - taking picture
MAIN: 2025-05-19 15:36:08,871 - INFO - we take 1092 photos in this while loop
MAIN: 2025-05-19 15:36:08,872 - INFO - /home/pi/Desktop/images/19052025/15/35/image_19052025_15_36_07_30079.jpg
MAIN: 2025-05-19 15:36:08,873 - INFO - duration: 1.8429677129970514
MAIN: 2025-05-19 15:36:08,874 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/36'
MAIN: 2025-05-19 15:36:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:36:38,113 - INFO - taking picture
MAIN: 2025-05-19 15:36:38,115 - INFO - we take 1093 photos in this while loop
MAIN: 2025-05-19 15:36:38,115 - INFO - /home/pi/Desktop/images/19052025/15/36/image_19052025_15_36_37_29635.jpg
MAIN: 2025-05-19 15:36:38,116 - INFO - duration: 1.450367092002125
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 15:37:08,150 - INFO - taking picture
MAIN: 2025-05-19 15:37:08,151 - INFO - we take 1094 photos in this while loop
MAIN: 2025-05-19 15:37:08,151 - INFO - /home/pi/Desktop/images/19052025/15/36/image_19052025_15_37_07_29815.jpg
MAIN: 2025-05-19 15:37:08,152 - INFO - duration: 1.671150473994203
MAIN: 2025-05-19 15:37:08,152 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/37'
MAIN: 2025-05-19 15:37:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:37:38,532 - INFO - taking picture
MAIN: 2025-05-19 15:37:38,533 - INFO - we take 1095 photos in this while loop
MAIN: 2025-05-19 15:37:38,533 - INFO - /home/pi/Desktop/images/19052025/15/37/image_19052025_15_37_37_30730.jpg
MAIN: 2025-05-19 15:37:38,533 - INFO - duration: 1.3216960130012012
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 15:38:09,170 - INFO - taking picture
MAIN: 2025-05-19 15:38:09,171 - INFO - we take 1096 photos in this while loop
MAIN: 2025-05-19 15:38:09,172 - INFO - /home/pi/Desktop/images/19052025/15/37/image_19052025_15_38_08_29903.jpg
MAIN: 2025-05-19 15:38:09,173 - INFO - duration: 2.057663218001835
MAIN: 2025-05-19 15:38:09,174 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/38'
MAIN: 2025-05-19 15:38:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:38:38,430 - INFO - taking picture
MAIN: 2025-05-19 15:38:38,431 - INFO - we take 1097 photos in this while loop
MAIN: 2025-05-19 15:38:38,432 - INFO - /home/pi/Desktop/images/19052025/15/38/image_19052025_15_38_37_29851.jpg
MAIN: 2025-05-19 15:38:38,432 - INFO - duration: 1.4663095380019513
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:39:08,296 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:39:08,860 - INFO - taking picture
MAIN: 2025-05-19 15:39:08,861 - INFO - we take 1098 photos in this while loop
MAIN: 2025-05-19 15:39:08,861 - INFO - /home/pi/Desktop/images/19052025/15/38/image_19052025_15_39_07_30382.jpg
MAIN: 2025-05-19 15:39:08,862 - INFO - duration: 1.5127538809974794
MAIN: 2025-05-19 15:39:08,862 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/39'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:39:38,209 - INFO - taking picture
MAIN: 2025-05-19 15:39:38,210 - INFO - we take 1099 photos in this while loop
MAIN: 2025-05-19 15:39:38,211 - INFO - /home/pi/Desktop/images/19052025/15/39/image_19052025_15_39_37_29396.jpg
MAIN: 2025-05-19 15:39:38,211 - INFO - duration: 1.4658111610042397
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 15:40:09,569 - INFO - taking picture
MAIN: 2025-05-19 15:40:09,571 - INFO - we take 1100 photos in this while loop
MAIN: 2025-05-19 15:40:09,572 - INFO - /home/pi/Desktop/images/19052025/15/39/image_19052025_15_40_08_30150.jpg
MAIN: 2025-05-19 15:40:09,572 - INFO - duration: 2.6762431180031854
MAIN: 2025-05-19 15:40:09,574 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/40'
MAIN: 2025-05-19 15:40:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:40:38,891 - INFO - taking picture
MAIN: 2025-05-19 15:40:38,892 - INFO - we take 1101 photos in this while loop
MAIN: 2025-05-19 15:40:38,892 - INFO - /home/pi/Desktop/images/19052025/15/40/image_19052025_15_40_38_30668.jpg
MAIN: 2025-05-19 15:40:38,893 - INFO - duration: 1.3286571960052243
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:41:07,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-05-19 15:41:08,302 - INFO - taking picture
MAIN: 2025-05-19 15:41:08,303 - INFO - we take 1102 photos in this while loop
MAIN: 2025-05-19 15:41:08,304 - INFO - /home/pi/Desktop/images/19052025/15/40/image_19052025_15_41_07_29093.jpg
MAIN: 2025-05-19 15:41:08,304 - INFO - duration: 1.6467278849959257
MAIN: 2025-05-19 15:41:08,305 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/41'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:41:38,882 - INFO - taking picture
MAIN: 2025-05-19 15:41:38,883 - INFO - we take 1103 photos in this while loop
MAIN: 2025-05-19 15:41:38,884 - INFO - /home/pi/Desktop/images/19052025/15/41/image_19052025_15_41_37_30894.jpg
MAIN: 2025-05-19 15:41:38,884 - INFO - duration: 1.3322547160059912
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 15:42:08,086 - INFO - taking picture
MAIN: 2025-05-19 15:42:08,087 - INFO - we take 1104 photos in this while loop
MAIN: 2025-05-19 15:42:08,088 - INFO - /home/pi/Desktop/images/19052025/15/41/image_19052025_15_42_06_28601.jpg
MAIN: 2025-05-19 15:42:08,088 - INFO - duration: 1.935051938999095
MAIN: 2025-05-19 15:42:08,090 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/42'
MAIN: 2025-05-19 15:42:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:42:38,814 - INFO - taking picture
MAIN: 2025-05-19 15:42:38,815 - INFO - we take 1105 photos in this while loop
MAIN: 2025-05-19 15:42:38,816 - INFO - /home/pi/Desktop/images/19052025/15/42/image_19052025_15_42_37_31230.jpg
MAIN: 2025-05-19 15:42:38,816 - INFO - duration: 1.4321234109957004
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:43:08,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-05-19 15:43:08,869 - INFO - taking picture
MAIN: 2025-05-19 15:43:08,870 - INFO - we take 1106 photos in this while loop
MAIN: 2025-05-19 15:43:08,870 - INFO - /home/pi/Desktop/images/19052025/15/42/image_19052025_15_43_07_29943.jpg
MAIN: 2025-05-19 15:43:08,871 - INFO - duration: 1.5427874290035106
MAIN: 2025-05-19 15:43:08,872 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:43:37,854 - INFO - taking picture
MAIN: 2025-05-19 15:43:37,855 - INFO - we take 1107 photos in this while loop
MAIN: 2025-05-19 15:43:37,856 - INFO - /home/pi/Desktop/images/19052025/15/43/image_19052025_15_43_37_29178.jpg
MAIN: 2025-05-19 15:43:37,856 - INFO - duration: 1.3491986689987243
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:44:08,512 - INFO - taking picture
MAIN: 2025-05-19 15:44:08,513 - INFO - we take 1108 photos in this while loop
MAIN: 2025-05-19 15:44:08,514 - INFO - /home/pi/Desktop/images/19052025/15/43/image_19052025_15_44_07_30208.jpg
MAIN: 2025-05-19 15:44:08,515 - INFO - duration: 1.8000640950049274
MAIN: 2025-05-19 15:44:08,588 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/44'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 15:44:09,700 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:44:37,590 - INFO - taking picture
MAIN: 2025-05-19 15:44:37,591 - INFO - we take 1109 photos in this while loop
MAIN: 2025-05-19 15:44:37,591 - INFO - /home/pi/Desktop/images/19052025/15/44/image_19052025_15_44_36_29447.jpg
MAIN: 2025-05-19 15:44:37,592 - INFO - duration: 1.4297582050057827
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:45:09,529 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:45:09,587 - INFO - taking picture
MAIN: 2025-05-19 15:45:09,589 - INFO - we take 1110 photos in this while loop
MAIN: 2025-05-19 15:45:09,590 - INFO - /home/pi/Desktop/images/19052025/15/44/image_19052025_15_45_08_31804.jpg
MAIN: 2025-05-19 15:45:09,590 - INFO - duration: 1.6237610500029405
MAIN: 2025-05-19 15:45:09,592 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/45'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:45:38,703 - INFO - taking picture
MAIN: 2025-05-19 15:45:38,704 - INFO - we take 1111 photos in this while loop
MAIN: 2025-05-19 15:45:38,704 - INFO - /home/pi/Desktop/images/19052025/15/45/image_19052025_15_45_37_29302.jpg
MAIN: 2025-05-19 15:45:38,705 - INFO - duration: 1.4351229219973902
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 15:46:09,368 - INFO - taking picture
MAIN: 2025-05-19 15:46:09,369 - INFO - we take 1112 photos in this while loop
MAIN: 2025-05-19 15:46:09,370 - INFO - /home/pi/Desktop/images/19052025/15/45/image_19052025_15_46_08_30456.jpg
MAIN: 2025-05-19 15:46:09,370 - INFO - duration: 1.6446894059990882
MAIN: 2025-05-19 15:46:09,371 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/46'
MAIN: 2025-05-19 15:46:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:46:38,467 - INFO - taking picture
MAIN: 2025-05-19 15:46:38,468 - INFO - we take 1113 photos in this while loop
MAIN: 2025-05-19 15:46:38,468 - INFO - /home/pi/Desktop/images/19052025/15/46/image_19052025_15_46_37_29311.jpg
MAIN: 2025-05-19 15:46:38,469 - INFO - duration: 1.4322198320005555
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 15:47:08,212 - INFO - taking picture
MAIN: 2025-05-19 15:47:08,213 - INFO - we take 1114 photos in this while loop
MAIN: 2025-05-19 15:47:08,213 - INFO - /home/pi/Desktop/images/19052025/15/46/image_19052025_15_47_07_29487.jpg
MAIN: 2025-05-19 15:47:08,214 - INFO - duration: 1.6893042140000034
MAIN: 2025-05-19 15:47:08,215 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/47'
MAIN: 2025-05-19 15:47:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:47:38,577 - INFO - taking picture
MAIN: 2025-05-19 15:47:38,578 - INFO - we take 1115 photos in this while loop
MAIN: 2025-05-19 15:47:38,578 - INFO - /home/pi/Desktop/images/19052025/15/47/image_19052025_15_47_37_30622.jpg
MAIN: 2025-05-19 15:47:38,579 - INFO - duration: 1.4322019500032184
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:48:09,105 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:48:09,139 - INFO - taking picture
MAIN: 2025-05-19 15:48:09,141 - INFO - we take 1116 photos in this while loop
MAIN: 2025-05-19 15:48:09,141 - INFO - /home/pi/Desktop/images/19052025/15/47/image_19052025_15_48_08_30408.jpg
MAIN: 2025-05-19 15:48:09,142 - INFO - duration: 1.586751105998701
MAIN: 2025-05-19 15:48:09,143 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/48'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:48:38,324 - INFO - taking picture
MAIN: 2025-05-19 15:48:38,325 - INFO - we take 1117 photos in this while loop
MAIN: 2025-05-19 15:48:38,326 - INFO - /home/pi/Desktop/images/19052025/15/48/image_19052025_15_48_37_29339.jpg
MAIN: 2025-05-19 15:48:38,326 - INFO - duration: 1.4312787059971015
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:49:08,531 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:49:08,646 - INFO - taking picture
MAIN: 2025-05-19 15:49:08,647 - INFO - we take 1118 photos in this while loop
MAIN: 2025-05-19 15:49:08,648 - INFO - /home/pi/Desktop/images/19052025/15/48/image_19052025_15_49_07_30218.jpg
MAIN: 2025-05-19 15:49:08,648 - INFO - duration: 1.535251214998425
MAIN: 2025-05-19 15:49:08,649 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/49'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:49:37,601 - INFO - taking picture
MAIN: 2025-05-19 15:49:37,602 - INFO - we take 1119 photos in this while loop
MAIN: 2025-05-19 15:49:37,603 - INFO - /home/pi/Desktop/images/19052025/15/49/image_19052025_15_49_36_29049.jpg
MAIN: 2025-05-19 15:49:37,603 - INFO - duration: 1.4407293679978466
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:50:08,828 - INFO - taking picture
MAIN: 2025-05-19 15:50:08,829 - INFO - we take 1120 photos in this while loop
MAIN: 2025-05-19 15:50:08,830 - INFO - /home/pi/Desktop/images/19052025/15/49/image_19052025_15_50_07_29971.jpg
MAIN: 2025-05-19 15:50:08,831 - INFO - duration: 2.696290040999884
MAIN: 2025-05-19 15:50:09,202 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/50'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 15:50:10,273 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:50:38,465 - INFO - taking picture
MAIN: 2025-05-19 15:50:38,466 - INFO - we take 1121 photos in this while loop
MAIN: 2025-05-19 15:50:38,466 - INFO - /home/pi/Desktop/images/19052025/15/50/image_19052025_15_50_37_30867.jpg
MAIN: 2025-05-19 15:50:38,467 - INFO - duration: 1.4645374190004077
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:51:08,519 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:51:08,706 - INFO - taking picture
MAIN: 2025-05-19 15:51:08,707 - INFO - we take 1122 photos in this while loop
MAIN: 2025-05-19 15:51:08,707 - INFO - /home/pi/Desktop/images/19052025/15/50/image_19052025_15_51_07_30184.jpg
MAIN: 2025-05-19 15:51:08,708 - INFO - duration: 1.5206501009961357
MAIN: 2025-05-19 15:51:08,709 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/51'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:51:37,892 - INFO - taking picture
MAIN: 2025-05-19 15:51:37,893 - INFO - we take 1123 photos in this while loop
MAIN: 2025-05-19 15:51:37,893 - INFO - /home/pi/Desktop/images/19052025/15/51/image_19052025_15_51_37_29236.jpg
MAIN: 2025-05-19 15:51:37,894 - INFO - duration: 1.4696814689959865
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 15:52:08,207 - INFO - taking picture
MAIN: 2025-05-19 15:52:08,208 - INFO - we take 1124 photos in this while loop
MAIN: 2025-05-19 15:52:08,208 - INFO - /home/pi/Desktop/images/19052025/15/51/image_19052025_15_52_07_30161.jpg
MAIN: 2025-05-19 15:52:08,209 - INFO - duration: 1.623556197999278
MAIN: 2025-05-19 15:52:08,210 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/52'
MAIN: 2025-05-19 15:52:08,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=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:52:38,914 - INFO - taking picture
MAIN: 2025-05-19 15:52:38,915 - INFO - we take 1125 photos in this while loop
MAIN: 2025-05-19 15:52:38,916 - INFO - /home/pi/Desktop/images/19052025/15/52/image_19052025_15_52_37_30836.jpg
MAIN: 2025-05-19 15:52:38,916 - INFO - duration: 1.4941711900028167
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:53:08,523 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:53:09,089 - INFO - taking picture
MAIN: 2025-05-19 15:53:09,090 - INFO - we take 1126 photos in this while loop
MAIN: 2025-05-19 15:53:09,090 - INFO - /home/pi/Desktop/images/19052025/15/52/image_19052025_15_53_08_30113.jpg
MAIN: 2025-05-19 15:53:09,091 - INFO - duration: 1.5549766309995903
MAIN: 2025-05-19 15:53:09,092 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/53'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:53:38,271 - INFO - taking picture
MAIN: 2025-05-19 15:53:38,272 - INFO - we take 1127 photos in this while loop
MAIN: 2025-05-19 15:53:38,272 - INFO - /home/pi/Desktop/images/19052025/15/53/image_19052025_15_53_37_29293.jpg
MAIN: 2025-05-19 15:53:38,273 - INFO - duration: 1.4432227299985243
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 15:54:08,460 - INFO - taking picture
MAIN: 2025-05-19 15:54:08,462 - INFO - we take 1128 photos in this while loop
MAIN: 2025-05-19 15:54:08,462 - INFO - /home/pi/Desktop/images/19052025/15/53/image_19052025_15_54_07_29622.jpg
MAIN: 2025-05-19 15:54:08,463 - INFO - duration: 2.0109707209994667
MAIN: 2025-05-19 15:54:08,472 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/54'
MAIN: 2025-05-19 15:54:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:54:37,712 - INFO - taking picture
MAIN: 2025-05-19 15:54:37,713 - INFO - we take 1129 photos in this while loop
MAIN: 2025-05-19 15:54:37,714 - INFO - /home/pi/Desktop/images/19052025/15/54/image_19052025_15_54_36_29828.jpg
MAIN: 2025-05-19 15:54:37,714 - INFO - duration: 1.4332197000039741
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 15:55:08,627 - INFO - taking picture
MAIN: 2025-05-19 15:55:08,628 - INFO - we take 1130 photos in this while loop
MAIN: 2025-05-19 15:55:08,629 - INFO - /home/pi/Desktop/images/19052025/15/54/image_19052025_15_55_07_30193.jpg
MAIN: 2025-05-19 15:55:08,629 - INFO - duration: 2.154574596999737
MAIN: 2025-05-19 15:55:08,630 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/55'
MAIN: 2025-05-19 15:55:09,247 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:55:37,981 - INFO - taking picture
MAIN: 2025-05-19 15:55:37,982 - INFO - we take 1131 photos in this while loop
MAIN: 2025-05-19 15:55:37,983 - INFO - /home/pi/Desktop/images/19052025/15/55/image_19052025_15_55_37_30048.jpg
MAIN: 2025-05-19 15:55:37,983 - INFO - duration: 1.4595740500008105
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 15:56:08,530 - INFO - taking picture
MAIN: 2025-05-19 15:56:08,531 - INFO - we take 1132 photos in this while loop
MAIN: 2025-05-19 15:56:08,532 - INFO - /home/pi/Desktop/images/19052025/15/55/image_19052025_15_56_07_30251.jpg
MAIN: 2025-05-19 15:56:08,532 - INFO - duration: 1.757198540995887
MAIN: 2025-05-19 15:56:08,535 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/56'
MAIN: 2025-05-19 15:56:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:56:38,754 - INFO - taking picture
MAIN: 2025-05-19 15:56:38,755 - INFO - we take 1133 photos in this while loop
MAIN: 2025-05-19 15:56:38,756 - INFO - /home/pi/Desktop/images/19052025/15/56/image_19052025_15_56_37_30655.jpg
MAIN: 2025-05-19 15:56:38,756 - INFO - duration: 1.3259560009973939
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 15:57:08,901 - INFO - taking picture
MAIN: 2025-05-19 15:57:08,903 - INFO - we take 1134 photos in this while loop
MAIN: 2025-05-19 15:57:08,903 - INFO - /home/pi/Desktop/images/19052025/15/56/image_19052025_15_57_07_29712.jpg
MAIN: 2025-05-19 15:57:08,903 - INFO - duration: 1.7603684470013832
MAIN: 2025-05-19 15:57:08,904 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/57'
MAIN: 2025-05-19 15:57:08,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:57:38,596 - INFO - taking picture
MAIN: 2025-05-19 15:57:38,597 - INFO - we take 1135 photos in this while loop
MAIN: 2025-05-19 15:57:38,597 - INFO - /home/pi/Desktop/images/19052025/15/57/image_19052025_15_57_37_30073.jpg
MAIN: 2025-05-19 15:57:38,598 - INFO - duration: 1.3813209150030161
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:58:08,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-05-19 15:58:09,410 - INFO - taking picture
MAIN: 2025-05-19 15:58:09,411 - INFO - we take 1136 photos in this while loop
MAIN: 2025-05-19 15:58:09,411 - INFO - /home/pi/Desktop/images/19052025/15/57/image_19052025_15_58_08_30425.jpg
MAIN: 2025-05-19 15:58:09,412 - INFO - duration: 1.7699022779997904
MAIN: 2025-05-19 15:58:09,413 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:58:38,485 - INFO - taking picture
MAIN: 2025-05-19 15:58:38,486 - INFO - we take 1137 photos in this while loop
MAIN: 2025-05-19 15:58:38,487 - INFO - /home/pi/Desktop/images/19052025/15/58/image_19052025_15_58_37_29549.jpg
MAIN: 2025-05-19 15:58:38,487 - INFO - duration: 1.2958239740037243
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:59:07,470 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 15:59:07,878 - INFO - taking picture
MAIN: 2025-05-19 15:59:07,879 - INFO - we take 1138 photos in this while loop
MAIN: 2025-05-19 15:59:07,880 - INFO - /home/pi/Desktop/images/19052025/15/58/image_19052025_15_59_06_29232.jpg
MAIN: 2025-05-19 15:59:07,880 - INFO - duration: 1.4562686569988728
MAIN: 2025-05-19 15:59:07,881 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/15/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=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 15:59:37,987 - INFO - taking picture
MAIN: 2025-05-19 15:59:37,989 - INFO - we take 1139 photos in this while loop
MAIN: 2025-05-19 15:59:37,989 - INFO - /home/pi/Desktop/images/19052025/15/59/image_19052025_15_59_37_30135.jpg
MAIN: 2025-05-19 15:59:37,989 - INFO - duration: 1.4303429829960805
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:00:09,261 - INFO - taking picture
MAIN: 2025-05-19 16:00:09,263 - INFO - we take 1140 photos in this while loop
MAIN: 2025-05-19 16:00:09,263 - INFO - /home/pi/Desktop/images/19052025/15/59/image_19052025_16_00_08_30292.jpg
MAIN: 2025-05-19 16:00:09,264 - INFO - duration: 2.4126766420013155
MAIN: 2025-05-19 16:00:09,361 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/00'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:00:10,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:00:38,307 - INFO - taking picture
MAIN: 2025-05-19 16:00:38,308 - INFO - we take 1141 photos in this while loop
MAIN: 2025-05-19 16:00:38,308 - INFO - /home/pi/Desktop/images/19052025/16/00/image_19052025_16_00_37_30124.jpg
MAIN: 2025-05-19 16:00:38,309 - INFO - duration: 1.332711848001054
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:01:08,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 ! 
MAIN: 2025-05-19 16:01:08,360 - INFO - taking picture
MAIN: 2025-05-19 16:01:08,361 - INFO - we take 1142 photos in this while loop
MAIN: 2025-05-19 16:01:08,362 - INFO - /home/pi/Desktop/images/19052025/16/00/image_19052025_16_01_07_29824.jpg
MAIN: 2025-05-19 16:01:08,362 - INFO - duration: 1.5616684019987588
MAIN: 2025-05-19 16:01:08,363 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:01:37,600 - INFO - taking picture
MAIN: 2025-05-19 16:01:37,602 - INFO - we take 1143 photos in this while loop
MAIN: 2025-05-19 16:01:37,602 - INFO - /home/pi/Desktop/images/19052025/16/01/image_19052025_16_01_36_29344.jpg
MAIN: 2025-05-19 16:01:37,602 - INFO - duration: 1.4577543990017148
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 16:02:08,093 - INFO - taking picture
MAIN: 2025-05-19 16:02:08,095 - INFO - we take 1144 photos in this while loop
MAIN: 2025-05-19 16:02:08,095 - INFO - /home/pi/Desktop/images/19052025/16/01/image_19052025_16_02_07_30210.jpg
MAIN: 2025-05-19 16:02:08,096 - INFO - duration: 1.7413720399999875
MAIN: 2025-05-19 16:02:08,097 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/02'
MAIN: 2025-05-19 16:02:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:02:38,715 - INFO - taking picture
MAIN: 2025-05-19 16:02:38,716 - INFO - we take 1145 photos in this while loop
MAIN: 2025-05-19 16:02:38,716 - INFO - /home/pi/Desktop/images/19052025/16/02/image_19052025_16_02_37_30932.jpg
MAIN: 2025-05-19 16:02:38,716 - INFO - duration: 1.4293519370039576
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:03:08,684 - INFO - taking picture
MAIN: 2025-05-19 16:03:08,685 - INFO - we take 1146 photos in this while loop
MAIN: 2025-05-19 16:03:08,685 - INFO - /home/pi/Desktop/images/19052025/16/02/image_19052025_16_03_07_29889.jpg
MAIN: 2025-05-19 16:03:08,686 - INFO - duration: 1.5087141490002978
MAIN: 2025-05-19 16:03:08,686 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/03'
MAIN: 2025-05-19 16:03:08,717 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:03:38,882 - INFO - taking picture
MAIN: 2025-05-19 16:03:38,883 - INFO - we take 1147 photos in this while loop
MAIN: 2025-05-19 16:03:38,883 - INFO - /home/pi/Desktop/images/19052025/16/03/image_19052025_16_03_38_30275.jpg
MAIN: 2025-05-19 16:03:38,884 - INFO - duration: 1.4318214119994082
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=45 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-05-19 16:04:09,533 - INFO - taking picture
MAIN: 2025-05-19 16:04:09,536 - INFO - we take 1148 photos in this while loop
MAIN: 2025-05-19 16:04:09,537 - INFO - /home/pi/Desktop/images/19052025/16/03/image_19052025_16_04_08_30393.jpg
MAIN: 2025-05-19 16:04:09,538 - INFO - duration: 1.6930594560035388
MAIN: 2025-05-19 16:04:09,540 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/04'
MAIN: 2025-05-19 16:04:09,661 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=86 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:04:38,397 - INFO - taking picture
MAIN: 2025-05-19 16:04:38,398 - INFO - we take 1149 photos in this while loop
MAIN: 2025-05-19 16:04:38,399 - INFO - /home/pi/Desktop/images/19052025/16/04/image_19052025_16_04_37_29122.jpg
MAIN: 2025-05-19 16:04:38,399 - INFO - duration: 1.4318987590013421
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:05:09,001 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 16:05:09,110 - INFO - taking picture
MAIN: 2025-05-19 16:05:09,112 - INFO - we take 1150 photos in this while loop
MAIN: 2025-05-19 16:05:09,113 - INFO - /home/pi/Desktop/images/19052025/16/04/image_19052025_16_05_08_30197.jpg
MAIN: 2025-05-19 16:05:09,115 - INFO - duration: 1.949348608002765
MAIN: 2025-05-19 16:05:09,117 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/05'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:05:38,481 - INFO - taking picture
MAIN: 2025-05-19 16:05:38,482 - INFO - we take 1151 photos in this while loop
MAIN: 2025-05-19 16:05:38,482 - INFO - /home/pi/Desktop/images/19052025/16/05/image_19052025_16_05_37_29887.jpg
MAIN: 2025-05-19 16:05:38,483 - INFO - duration: 1.4299666840015561
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:06:09,138 - INFO - taking picture
MAIN: 2025-05-19 16:06:09,139 - INFO - we take 1152 photos in this while loop
MAIN: 2025-05-19 16:06:09,140 - INFO - /home/pi/Desktop/images/19052025/16/05/image_19052025_16_06_08_30293.jpg
MAIN: 2025-05-19 16:06:09,140 - INFO - duration: 1.7942621569964103
MAIN: 2025-05-19 16:06:09,142 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/06'
MAIN: 2025-05-19 16:06:09,499 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:06:38,464 - INFO - taking picture
MAIN: 2025-05-19 16:06:38,465 - INFO - we take 1153 photos in this while loop
MAIN: 2025-05-19 16:06:38,466 - INFO - /home/pi/Desktop/images/19052025/16/06/image_19052025_16_06_37_29660.jpg
MAIN: 2025-05-19 16:06:38,466 - INFO - duration: 1.4593967979963054
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:07:08,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 ! 
MAIN: 2025-05-19 16:07:08,927 - INFO - taking picture
MAIN: 2025-05-19 16:07:08,928 - INFO - we take 1154 photos in this while loop
MAIN: 2025-05-19 16:07:08,929 - INFO - /home/pi/Desktop/images/19052025/16/06/image_19052025_16_07_08_30393.jpg
MAIN: 2025-05-19 16:07:08,929 - INFO - duration: 1.5287646380020306
MAIN: 2025-05-19 16:07:08,930 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:07:38,113 - INFO - taking picture
MAIN: 2025-05-19 16:07:38,114 - INFO - we take 1155 photos in this while loop
MAIN: 2025-05-19 16:07:38,115 - INFO - /home/pi/Desktop/images/19052025/16/07/image_19052025_16_07_37_29253.jpg
MAIN: 2025-05-19 16:07:38,115 - INFO - duration: 1.4611529610047
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:08:08,640 - INFO - taking picture
MAIN: 2025-05-19 16:08:08,641 - INFO - we take 1156 photos in this while loop
MAIN: 2025-05-19 16:08:08,641 - INFO - /home/pi/Desktop/images/19052025/16/07/image_19052025_16_08_07_30438.jpg
MAIN: 2025-05-19 16:08:08,642 - INFO - duration: 1.548917934000201
MAIN: 2025-05-19 16:08:08,642 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/08'
MAIN: 2025-05-19 16:08:08,880 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:08:37,856 - INFO - taking picture
MAIN: 2025-05-19 16:08:37,857 - INFO - we take 1157 photos in this while loop
MAIN: 2025-05-19 16:08:37,858 - INFO - /home/pi/Desktop/images/19052025/16/08/image_19052025_16_08_37_29466.jpg
MAIN: 2025-05-19 16:08:37,858 - INFO - duration: 1.2989757639952586
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:09:08,266 - INFO - taking picture
MAIN: 2025-05-19 16:09:08,267 - INFO - we take 1158 photos in this while loop
MAIN: 2025-05-19 16:09:08,268 - INFO - /home/pi/Desktop/images/19052025/16/08/image_19052025_16_09_07_30060.jpg
MAIN: 2025-05-19 16:09:08,268 - INFO - duration: 1.6487102839964791
MAIN: 2025-05-19 16:09:08,269 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/09'
MAIN: 2025-05-19 16:09:08,578 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:09:38,876 - INFO - taking picture
MAIN: 2025-05-19 16:09:38,877 - INFO - we take 1159 photos in this while loop
MAIN: 2025-05-19 16:09:38,877 - INFO - /home/pi/Desktop/images/19052025/16/09/image_19052025_16_09_37_30827.jpg
MAIN: 2025-05-19 16:09:38,878 - INFO - duration: 1.4302784259998589
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:10:09,282 - INFO - taking picture
MAIN: 2025-05-19 16:10:09,284 - INFO - we take 1160 photos in this while loop
MAIN: 2025-05-19 16:10:09,285 - INFO - /home/pi/Desktop/images/19052025/16/09/image_19052025_16_10_07_29287.jpg
MAIN: 2025-05-19 16:10:09,286 - INFO - duration: 2.5507506810026825
MAIN: 2025-05-19 16:10:09,630 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/10'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:10:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:10:38,551 - INFO - taking picture
MAIN: 2025-05-19 16:10:38,552 - INFO - we take 1161 photos in this while loop
MAIN: 2025-05-19 16:10:38,553 - INFO - /home/pi/Desktop/images/19052025/16/10/image_19052025_16_10_37_30499.jpg
MAIN: 2025-05-19 16:10:38,553 - INFO - duration: 1.318354723000084
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:11:08,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-05-19 16:11:09,128 - INFO - taking picture
MAIN: 2025-05-19 16:11:09,130 - INFO - we take 1162 photos in this while loop
MAIN: 2025-05-19 16:11:09,130 - INFO - /home/pi/Desktop/images/19052025/16/10/image_19052025_16_11_08_30392.jpg
MAIN: 2025-05-19 16:11:09,130 - INFO - duration: 1.5031184309991659
MAIN: 2025-05-19 16:11:09,131 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:11:38,233 - INFO - taking picture
MAIN: 2025-05-19 16:11:38,234 - INFO - we take 1163 photos in this while loop
MAIN: 2025-05-19 16:11:38,235 - INFO - /home/pi/Desktop/images/19052025/16/11/image_19052025_16_11_37_29173.jpg
MAIN: 2025-05-19 16:11:38,235 - INFO - duration: 1.434283641006914
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:12:08,948 - INFO - taking picture
MAIN: 2025-05-19 16:12:08,949 - INFO - we take 1164 photos in this while loop
MAIN: 2025-05-19 16:12:08,950 - INFO - /home/pi/Desktop/images/19052025/16/11/image_19052025_16_12_08_30480.jpg
MAIN: 2025-05-19 16:12:08,950 - INFO - duration: 1.6687486890004948
MAIN: 2025-05-19 16:12:08,951 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/12'
MAIN: 2025-05-19 16:12:09,161 - INFO - cam.read() return no image
Will output and 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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:12:37,897 - INFO - taking picture
MAIN: 2025-05-19 16:12:37,898 - INFO - we take 1165 photos in this while loop
MAIN: 2025-05-19 16:12:37,898 - INFO - /home/pi/Desktop/images/19052025/16/12/image_19052025_16_12_37_29317.jpg
MAIN: 2025-05-19 16:12:37,899 - INFO - duration: 1.30001984500268
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:13:07,986 - INFO - taking picture
MAIN: 2025-05-19 16:13:07,987 - INFO - we take 1166 photos in this while loop
MAIN: 2025-05-19 16:13:07,988 - INFO - /home/pi/Desktop/images/19052025/16/12/image_19052025_16_13_07_29739.jpg
MAIN: 2025-05-19 16:13:07,988 - INFO - duration: 1.650386276000063
MAIN: 2025-05-19 16:13:07,989 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/13'
MAIN: 2025-05-19 16:13:08,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:13:38,551 - INFO - taking picture
MAIN: 2025-05-19 16:13:38,552 - INFO - we take 1167 photos in this while loop
MAIN: 2025-05-19 16:13:38,552 - INFO - /home/pi/Desktop/images/19052025/16/13/image_19052025_16_13_37_30778.jpg
MAIN: 2025-05-19 16:13:38,553 - INFO - duration: 1.4360411029992974
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:14:09,455 - INFO - taking picture
MAIN: 2025-05-19 16:14:09,456 - INFO - we take 1168 photos in this while loop
MAIN: 2025-05-19 16:14:09,457 - INFO - /home/pi/Desktop/images/19052025/16/13/image_19052025_16_14_08_30636.jpg
MAIN: 2025-05-19 16:14:09,457 - INFO - duration: 1.7040131719986675
MAIN: 2025-05-19 16:14:09,458 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/14'
MAIN: 2025-05-19 16:14:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:14:38,539 - INFO - taking picture
MAIN: 2025-05-19 16:14:38,540 - INFO - we take 1169 photos in this while loop
MAIN: 2025-05-19 16:14:38,540 - INFO - /home/pi/Desktop/images/19052025/16/14/image_19052025_16_14_37_29326.jpg
MAIN: 2025-05-19 16:14:38,541 - INFO - duration: 1.4608445199992275
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:15:09,438 - INFO - taking picture
MAIN: 2025-05-19 16:15:09,439 - INFO - we take 1170 photos in this while loop
MAIN: 2025-05-19 16:15:09,440 - INFO - /home/pi/Desktop/images/19052025/16/14/image_19052025_16_15_08_30385.jpg
MAIN: 2025-05-19 16:15:09,440 - INFO - duration: 1.9755174689998967
MAIN: 2025-05-19 16:15:09,441 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/15'
MAIN: 2025-05-19 16:15:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:15:38,572 - INFO - taking picture
MAIN: 2025-05-19 16:15:38,573 - INFO - we take 1171 photos in this while loop
MAIN: 2025-05-19 16:15:38,574 - INFO - /home/pi/Desktop/images/19052025/16/15/image_19052025_16_15_37_29778.jpg
MAIN: 2025-05-19 16:15:38,574 - INFO - duration: 1.3307631820061943
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:16:07,930 - INFO - taking picture
MAIN: 2025-05-19 16:16:07,945 - INFO - we take 1172 photos in this while loop
MAIN: 2025-05-19 16:16:07,946 - INFO - /home/pi/Desktop/images/19052025/16/15/image_19052025_16_16_06_28911.jpg
MAIN: 2025-05-19 16:16:07,947 - INFO - duration: 1.7914951510028914
MAIN: 2025-05-19 16:16:07,948 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/16'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:16:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:16:37,559 - INFO - taking picture
MAIN: 2025-05-19 16:16:37,560 - INFO - we take 1173 photos in this while loop
MAIN: 2025-05-19 16:16:37,560 - INFO - /home/pi/Desktop/images/19052025/16/16/image_19052025_16_16_36_29945.jpg
MAIN: 2025-05-19 16:16:37,561 - INFO - duration: 1.4599999619968003
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:17:08,161 - INFO - taking picture
MAIN: 2025-05-19 16:17:08,162 - INFO - we take 1174 photos in this while loop
MAIN: 2025-05-19 16:17:08,163 - INFO - /home/pi/Desktop/images/19052025/16/16/image_19052025_16_17_07_30287.jpg
MAIN: 2025-05-19 16:17:08,163 - INFO - duration: 1.7748514429986244
MAIN: 2025-05-19 16:17:08,164 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/17'
MAIN: 2025-05-19 16:17:08,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:17:38,951 - INFO - taking picture
MAIN: 2025-05-19 16:17:38,952 - INFO - we take 1175 photos in this while loop
MAIN: 2025-05-19 16:17:38,952 - INFO - /home/pi/Desktop/images/19052025/16/17/image_19052025_16_17_38_31132.jpg
MAIN: 2025-05-19 16:17:38,953 - INFO - duration: 1.4323264689955977
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:18:08,273 - INFO - taking picture
MAIN: 2025-05-19 16:18:08,275 - INFO - we take 1176 photos in this while loop
MAIN: 2025-05-19 16:18:08,276 - INFO - /home/pi/Desktop/images/19052025/16/17/image_19052025_16_18_07_28945.jpg
MAIN: 2025-05-19 16:18:08,276 - INFO - duration: 1.8106853799981764
MAIN: 2025-05-19 16:18:08,748 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/18'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-05-19 16:18:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:18:37,714 - INFO - taking picture
MAIN: 2025-05-19 16:18:37,716 - INFO - we take 1177 photos in this while loop
MAIN: 2025-05-19 16:18:37,716 - INFO - /home/pi/Desktop/images/19052025/16/18/image_19052025_16_18_36_29789.jpg
MAIN: 2025-05-19 16:18:37,716 - INFO - duration: 1.4613296300012735
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:19:08,064 - INFO - taking picture
MAIN: 2025-05-19 16:19:08,066 - INFO - we take 1178 photos in this while loop
MAIN: 2025-05-19 16:19:08,066 - INFO - /home/pi/Desktop/images/19052025/16/18/image_19052025_16_19_06_29923.jpg
MAIN: 2025-05-19 16:19:08,066 - INFO - duration: 1.8883424839950749
MAIN: 2025-05-19 16:19:08,067 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/19'
MAIN: 2025-05-19 16:19:08,948 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:19:38,881 - INFO - taking picture
MAIN: 2025-05-19 16:19:38,883 - INFO - we take 1179 photos in this while loop
MAIN: 2025-05-19 16:19:38,883 - INFO - /home/pi/Desktop/images/19052025/16/19/image_19052025_16_19_38_31271.jpg
MAIN: 2025-05-19 16:19:38,883 - INFO - duration: 1.433899524003209
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:20:09,087 - INFO - taking picture
MAIN: 2025-05-19 16:20:09,088 - INFO - we take 1180 photos in this while loop
MAIN: 2025-05-19 16:20:09,089 - INFO - /home/pi/Desktop/images/19052025/16/19/image_19052025_16_20_07_29186.jpg
MAIN: 2025-05-19 16:20:09,089 - INFO - duration: 2.4538132099987706
MAIN: 2025-05-19 16:20:09,973 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/20'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:20:11,065 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:20:38,671 - INFO - taking picture
MAIN: 2025-05-19 16:20:38,672 - INFO - we take 1181 photos in this while loop
MAIN: 2025-05-19 16:20:38,673 - INFO - /home/pi/Desktop/images/19052025/16/20/image_19052025_16_20_37_30599.jpg
MAIN: 2025-05-19 16:20:38,673 - INFO - duration: 1.4380715980005334
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:21:09,141 - INFO - taking picture
MAIN: 2025-05-19 16:21:09,143 - INFO - we take 1182 photos in this while loop
MAIN: 2025-05-19 16:21:09,143 - INFO - /home/pi/Desktop/images/19052025/16/20/image_19052025_16_21_08_30400.jpg
MAIN: 2025-05-19 16:21:09,143 - INFO - duration: 1.5076878260006197
MAIN: 2025-05-19 16:21:09,145 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/21'
MAIN: 2025-05-19 16:21:09,440 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:21:38,677 - INFO - taking picture
MAIN: 2025-05-19 16:21:38,678 - INFO - we take 1183 photos in this while loop
MAIN: 2025-05-19 16:21:38,679 - INFO - /home/pi/Desktop/images/19052025/16/21/image_19052025_16_21_37_29579.jpg
MAIN: 2025-05-19 16:21:38,679 - INFO - duration: 1.46341668900277
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:22:08,131 - INFO - taking picture
MAIN: 2025-05-19 16:22:08,134 - INFO - we take 1184 photos in this while loop
MAIN: 2025-05-19 16:22:08,135 - INFO - /home/pi/Desktop/images/19052025/16/21/image_19052025_16_22_07_29000.jpg
MAIN: 2025-05-19 16:22:08,135 - INFO - duration: 1.919550780003192
MAIN: 2025-05-19 16:22:08,342 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/22'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:22:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:22:38,727 - INFO - taking picture
MAIN: 2025-05-19 16:22:38,728 - INFO - we take 1185 photos in this while loop
MAIN: 2025-05-19 16:22:38,729 - INFO - /home/pi/Desktop/images/19052025/16/22/image_19052025_16_22_37_31189.jpg
MAIN: 2025-05-19 16:22:38,729 - INFO - duration: 1.3243853140011197
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:23:09,127 - INFO - taking picture
MAIN: 2025-05-19 16:23:09,128 - INFO - we take 1186 photos in this while loop
MAIN: 2025-05-19 16:23:09,128 - INFO - /home/pi/Desktop/images/19052025/16/22/image_19052025_16_23_08_30108.jpg
MAIN: 2025-05-19 16:23:09,129 - INFO - duration: 1.6154613249964314
MAIN: 2025-05-19 16:23:09,129 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/23'
MAIN: 2025-05-19 16:23:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:23:38,524 - INFO - taking picture
MAIN: 2025-05-19 16:23:38,525 - INFO - we take 1187 photos in this while loop
MAIN: 2025-05-19 16:23:38,525 - INFO - /home/pi/Desktop/images/19052025/16/23/image_19052025_16_23_37_29551.jpg
MAIN: 2025-05-19 16:23:38,526 - INFO - duration: 1.4612467819970334
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:24:07,919 - INFO - taking picture
MAIN: 2025-05-19 16:24:07,920 - INFO - we take 1188 photos in this while loop
MAIN: 2025-05-19 16:24:07,921 - INFO - /home/pi/Desktop/images/19052025/16/23/image_19052025_16_24_06_29200.jpg
MAIN: 2025-05-19 16:24:07,921 - INFO - duration: 1.6557418299998972
MAIN: 2025-05-19 16:24:07,922 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/24'
MAIN: 2025-05-19 16:24:08,421 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:24:38,949 - INFO - taking picture
MAIN: 2025-05-19 16:24:38,950 - INFO - we take 1189 photos in this while loop
MAIN: 2025-05-19 16:24:38,950 - INFO - /home/pi/Desktop/images/19052025/16/24/image_19052025_16_24_38_31319.jpg
MAIN: 2025-05-19 16:24:38,951 - INFO - duration: 1.3658222730009584
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:25:08,671 - INFO - taking picture
MAIN: 2025-05-19 16:25:08,672 - INFO - we take 1190 photos in this while loop
MAIN: 2025-05-19 16:25:08,673 - INFO - /home/pi/Desktop/images/19052025/16/24/image_19052025_16_25_07_29151.jpg
MAIN: 2025-05-19 16:25:08,673 - INFO - duration: 1.937391015002504
MAIN: 2025-05-19 16:25:08,675 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/25'
MAIN: 2025-05-19 16:25:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:25:38,042 - INFO - taking picture
MAIN: 2025-05-19 16:25:38,043 - INFO - we take 1191 photos in this while loop
MAIN: 2025-05-19 16:25:38,043 - INFO - /home/pi/Desktop/images/19052025/16/25/image_19052025_16_25_37_29877.jpg
MAIN: 2025-05-19 16:25:38,043 - INFO - duration: 1.4296716770040803
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:26:09,057 - INFO - taking picture
MAIN: 2025-05-19 16:26:09,058 - INFO - we take 1192 photos in this while loop
MAIN: 2025-05-19 16:26:09,059 - INFO - /home/pi/Desktop/images/19052025/16/25/image_19052025_16_26_08_30820.jpg
MAIN: 2025-05-19 16:26:09,059 - INFO - duration: 1.6243176099960692
MAIN: 2025-05-19 16:26:09,060 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/26'
MAIN: 2025-05-19 16:26:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:26:38,224 - INFO - taking picture
MAIN: 2025-05-19 16:26:38,225 - INFO - we take 1193 photos in this while loop
MAIN: 2025-05-19 16:26:38,226 - INFO - /home/pi/Desktop/images/19052025/16/26/image_19052025_16_26_37_29358.jpg
MAIN: 2025-05-19 16:26:38,226 - INFO - duration: 1.432371309005248
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:27:08,601 - INFO - taking picture
MAIN: 2025-05-19 16:27:08,602 - INFO - we take 1194 photos in this while loop
MAIN: 2025-05-19 16:27:08,603 - INFO - /home/pi/Desktop/images/19052025/16/26/image_19052025_16_27_07_30203.jpg
MAIN: 2025-05-19 16:27:08,603 - INFO - duration: 1.605760424004984
MAIN: 2025-05-19 16:27:08,604 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/27'
MAIN: 2025-05-19 16:27:08,939 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:27:37,958 - INFO - taking picture
MAIN: 2025-05-19 16:27:37,959 - INFO - we take 1195 photos in this while loop
MAIN: 2025-05-19 16:27:37,959 - INFO - /home/pi/Desktop/images/19052025/16/27/image_19052025_16_27_37_29527.jpg
MAIN: 2025-05-19 16:27:37,960 - INFO - duration: 1.4350281869992614
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:28:08,731 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 16:28:08,887 - INFO - taking picture
MAIN: 2025-05-19 16:28:08,889 - INFO - we take 1196 photos in this while loop
MAIN: 2025-05-19 16:28:08,889 - INFO - /home/pi/Desktop/images/19052025/16/27/image_19052025_16_28_07_30767.jpg
MAIN: 2025-05-19 16:28:08,890 - INFO - duration: 1.5974031379955704
MAIN: 2025-05-19 16:28:08,891 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/28'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:28:38,266 - INFO - taking picture
MAIN: 2025-05-19 16:28:38,267 - INFO - we take 1197 photos in this while loop
MAIN: 2025-05-19 16:28:38,267 - INFO - /home/pi/Desktop/images/19052025/16/28/image_19052025_16_28_37_29540.jpg
MAIN: 2025-05-19 16:28:38,268 - INFO - duration: 1.4343133919974207
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:29:08,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 ! 
MAIN: 2025-05-19 16:29:08,880 - INFO - taking picture
MAIN: 2025-05-19 16:29:08,881 - INFO - we take 1198 photos in this while loop
MAIN: 2025-05-19 16:29:08,882 - INFO - /home/pi/Desktop/images/19052025/16/28/image_19052025_16_29_07_30557.jpg
MAIN: 2025-05-19 16:29:08,882 - INFO - duration: 1.4914045190016623
MAIN: 2025-05-19 16:29:08,883 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/29'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:29:38,255 - INFO - taking picture
MAIN: 2025-05-19 16:29:38,257 - INFO - we take 1199 photos in this while loop
MAIN: 2025-05-19 16:29:38,257 - INFO - /home/pi/Desktop/images/19052025/16/29/image_19052025_16_29_37_29431.jpg
MAIN: 2025-05-19 16:29:38,257 - INFO - duration: 1.4353684410016285
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:30:09,806 - INFO - taking picture
MAIN: 2025-05-19 16:30:09,809 - INFO - we take 1200 photos in this while loop
MAIN: 2025-05-19 16:30:09,810 - INFO - /home/pi/Desktop/images/19052025/16/29/image_19052025_16_30_08_31032.jpg
MAIN: 2025-05-19 16:30:09,812 - INFO - duration: 1.9573987050025607
MAIN: 2025-05-19 16:30:09,814 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/30'
MAIN: 2025-05-19 16:30:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:30:37,922 - INFO - taking picture
MAIN: 2025-05-19 16:30:37,923 - INFO - we take 1201 photos in this while loop
MAIN: 2025-05-19 16:30:37,923 - INFO - /home/pi/Desktop/images/19052025/16/30/image_19052025_16_30_37_28625.jpg
MAIN: 2025-05-19 16:30:37,924 - INFO - duration: 1.4438979670012486
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:31:08,277 - INFO - taking picture
MAIN: 2025-05-19 16:31:08,278 - INFO - we take 1202 photos in this while loop
MAIN: 2025-05-19 16:31:08,279 - INFO - /home/pi/Desktop/images/19052025/16/30/image_19052025_16_31_07_29967.jpg
MAIN: 2025-05-19 16:31:08,279 - INFO - duration: 1.831772853001894
MAIN: 2025-05-19 16:31:08,280 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/31'
MAIN: 2025-05-19 16:31:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:31:37,479 - INFO - taking picture
MAIN: 2025-05-19 16:31:37,480 - INFO - we take 1203 photos in this while loop
MAIN: 2025-05-19 16:31:37,480 - INFO - /home/pi/Desktop/images/19052025/16/31/image_19052025_16_31_36_29736.jpg
MAIN: 2025-05-19 16:31:37,480 - INFO - duration: 1.296905091003282
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:32:07,927 - INFO - taking picture
MAIN: 2025-05-19 16:32:07,929 - INFO - we take 1204 photos in this while loop
MAIN: 2025-05-19 16:32:07,929 - INFO - /home/pi/Desktop/images/19052025/16/31/image_19052025_16_32_06_29962.jpg
MAIN: 2025-05-19 16:32:07,930 - INFO - duration: 1.7835230199998477
MAIN: 2025-05-19 16:32:08,258 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/32'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:32:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:32:38,773 - INFO - taking picture
MAIN: 2025-05-19 16:32:38,774 - INFO - we take 1205 photos in this while loop
MAIN: 2025-05-19 16:32:38,775 - INFO - /home/pi/Desktop/images/19052025/16/32/image_19052025_16_32_37_31172.jpg
MAIN: 2025-05-19 16:32:38,775 - INFO - duration: 1.45648274999985
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:33:07,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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:33:09,134 - INFO - taking picture
MAIN: 2025-05-19 16:33:09,136 - INFO - we take 1206 photos in this while loop
MAIN: 2025-05-19 16:33:09,136 - INFO - /home/pi/Desktop/images/19052025/16/32/image_19052025_16_33_08_30125.jpg
MAIN: 2025-05-19 16:33:09,137 - INFO - duration: 1.692425440000079
MAIN: 2025-05-19 16:33:09,137 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:33:38,366 - INFO - taking picture
MAIN: 2025-05-19 16:33:38,367 - INFO - we take 1207 photos in this while loop
MAIN: 2025-05-19 16:33:38,368 - INFO - /home/pi/Desktop/images/19052025/16/33/image_19052025_16_33_37_29496.jpg
MAIN: 2025-05-19 16:33:38,368 - INFO - duration: 1.4277974969954812
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:34:09,198 - INFO - taking picture
MAIN: 2025-05-19 16:34:09,199 - INFO - we take 1208 photos in this while loop
MAIN: 2025-05-19 16:34:09,199 - INFO - /home/pi/Desktop/images/19052025/16/33/image_19052025_16_34_08_30700.jpg
MAIN: 2025-05-19 16:34:09,200 - INFO - duration: 1.5591000610002084
MAIN: 2025-05-19 16:34:09,201 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/34'
MAIN: 2025-05-19 16:34:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:34:38,600 - INFO - taking picture
MAIN: 2025-05-19 16:34:38,602 - INFO - we take 1209 photos in this while loop
MAIN: 2025-05-19 16:34:38,602 - INFO - /home/pi/Desktop/images/19052025/16/34/image_19052025_16_34_37_29508.jpg
MAIN: 2025-05-19 16:34:38,602 - INFO - duration: 1.4536738929964486
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:35:08,725 - INFO - taking picture
MAIN: 2025-05-19 16:35:08,726 - INFO - we take 1210 photos in this while loop
MAIN: 2025-05-19 16:35:08,727 - INFO - /home/pi/Desktop/images/19052025/16/34/image_19052025_16_35_07_29046.jpg
MAIN: 2025-05-19 16:35:08,728 - INFO - duration: 2.5326489380022394
MAIN: 2025-05-19 16:35:09,126 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/35'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:35:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:35:38,207 - INFO - taking picture
MAIN: 2025-05-19 16:35:38,208 - INFO - we take 1211 photos in this while loop
MAIN: 2025-05-19 16:35:38,209 - INFO - /home/pi/Desktop/images/19052025/16/35/image_19052025_16_35_37_30556.jpg
MAIN: 2025-05-19 16:35:38,209 - INFO - duration: 1.4569864959994447
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:36:09,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 ! 
MAIN: 2025-05-19 16:36:09,247 - INFO - taking picture
MAIN: 2025-05-19 16:36:09,248 - INFO - we take 1212 photos in this while loop
MAIN: 2025-05-19 16:36:09,249 - INFO - /home/pi/Desktop/images/19052025/16/35/image_19052025_16_36_08_30964.jpg
MAIN: 2025-05-19 16:36:09,249 - INFO - duration: 1.5330785030018887
MAIN: 2025-05-19 16:36:09,250 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:36:38,422 - INFO - taking picture
MAIN: 2025-05-19 16:36:38,422 - INFO - we take 1213 photos in this while loop
MAIN: 2025-05-19 16:36:38,422 - INFO - /home/pi/Desktop/images/19052025/16/36/image_19052025_16_36_37_29404.jpg
MAIN: 2025-05-19 16:36:38,422 - INFO - duration: 1.301609248999739
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:37:08,672 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 16:37:08,744 - INFO - taking picture
MAIN: 2025-05-19 16:37:08,745 - INFO - we take 1214 photos in this while loop
MAIN: 2025-05-19 16:37:08,746 - INFO - /home/pi/Desktop/images/19052025/16/36/image_19052025_16_37_07_30096.jpg
MAIN: 2025-05-19 16:37:08,747 - INFO - duration: 1.528680377996352
MAIN: 2025-05-19 16:37:08,748 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:37:38,268 - INFO - taking picture
MAIN: 2025-05-19 16:37:38,269 - INFO - we take 1215 photos in this while loop
MAIN: 2025-05-19 16:37:38,269 - INFO - /home/pi/Desktop/images/19052025/16/37/image_19052025_16_37_37_29589.jpg
MAIN: 2025-05-19 16:37:38,270 - INFO - duration: 1.46212419999938
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:38:09,449 - INFO - taking picture
MAIN: 2025-05-19 16:38:09,451 - INFO - we take 1216 photos in this while loop
MAIN: 2025-05-19 16:38:09,451 - INFO - /home/pi/Desktop/images/19052025/16/37/image_19052025_16_38_08_31068.jpg
MAIN: 2025-05-19 16:38:09,451 - INFO - duration: 1.5757568219996756
MAIN: 2025-05-19 16:38:09,452 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/38'
MAIN: 2025-05-19 16:38:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:38:38,730 - INFO - taking picture
MAIN: 2025-05-19 16:38:38,731 - INFO - we take 1217 photos in this while loop
MAIN: 2025-05-19 16:38:38,732 - INFO - /home/pi/Desktop/images/19052025/16/38/image_19052025_16_38_37_29531.jpg
MAIN: 2025-05-19 16:38:38,732 - INFO - duration: 1.3245415310011595
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:39:08,262 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 16:39:09,071 - INFO - taking picture
MAIN: 2025-05-19 16:39:09,072 - INFO - we take 1218 photos in this while loop
MAIN: 2025-05-19 16:39:09,072 - INFO - /home/pi/Desktop/images/19052025/16/38/image_19052025_16_39_08_30202.jpg
MAIN: 2025-05-19 16:39:09,073 - INFO - duration: 1.4623328959933133
MAIN: 2025-05-19 16:39:09,074 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:39:38,586 - INFO - taking picture
MAIN: 2025-05-19 16:39:38,587 - INFO - we take 1219 photos in this while loop
MAIN: 2025-05-19 16:39:38,587 - INFO - /home/pi/Desktop/images/19052025/16/39/image_19052025_16_39_37_29511.jpg
MAIN: 2025-05-19 16:39:38,588 - INFO - duration: 1.4652132070041262
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:40:08,593 - INFO - taking picture
MAIN: 2025-05-19 16:40:08,594 - INFO - we take 1220 photos in this while loop
MAIN: 2025-05-19 16:40:08,595 - INFO - /home/pi/Desktop/images/19052025/16/39/image_19052025_16_40_07_29163.jpg
MAIN: 2025-05-19 16:40:08,596 - INFO - duration: 2.310101963004854
MAIN: 2025-05-19 16:40:09,313 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/40'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:40:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:40:38,285 - INFO - taking picture
MAIN: 2025-05-19 16:40:38,286 - INFO - we take 1221 photos in this while loop
MAIN: 2025-05-19 16:40:38,286 - INFO - /home/pi/Desktop/images/19052025/16/40/image_19052025_16_40_37_30540.jpg
MAIN: 2025-05-19 16:40:38,287 - INFO - duration: 1.4604651339977863
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:41:08,976 - INFO - taking picture
MAIN: 2025-05-19 16:41:08,977 - INFO - we take 1222 photos in this while loop
MAIN: 2025-05-19 16:41:08,978 - INFO - /home/pi/Desktop/images/19052025/16/40/image_19052025_16_41_08_30613.jpg
MAIN: 2025-05-19 16:41:08,978 - INFO - duration: 1.538567505995161
MAIN: 2025-05-19 16:41:08,979 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/41'
MAIN: 2025-05-19 16:41:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:41:38,547 - INFO - taking picture
MAIN: 2025-05-19 16:41:38,548 - INFO - we take 1223 photos in this while loop
MAIN: 2025-05-19 16:41:38,548 - INFO - /home/pi/Desktop/images/19052025/16/41/image_19052025_16_41_37_29679.jpg
MAIN: 2025-05-19 16:41:38,549 - INFO - duration: 1.4293646739970427
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:42:09,124 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 16:42:09,271 - INFO - taking picture
MAIN: 2025-05-19 16:42:09,272 - INFO - we take 1224 photos in this while loop
MAIN: 2025-05-19 16:42:09,272 - INFO - /home/pi/Desktop/images/19052025/16/41/image_19052025_16_42_08_30622.jpg
MAIN: 2025-05-19 16:42:09,273 - INFO - duration: 1.5308322480050265
MAIN: 2025-05-19 16:42:09,274 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:42:38,712 - INFO - taking picture
MAIN: 2025-05-19 16:42:38,713 - INFO - we take 1225 photos in this while loop
MAIN: 2025-05-19 16:42:38,713 - INFO - /home/pi/Desktop/images/19052025/16/42/image_19052025_16_42_37_29517.jpg
MAIN: 2025-05-19 16:42:38,714 - INFO - duration: 1.45445117700001
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:43:08,527 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 16:43:08,716 - INFO - taking picture
MAIN: 2025-05-19 16:43:08,718 - INFO - we take 1226 photos in this while loop
MAIN: 2025-05-19 16:43:08,718 - INFO - /home/pi/Desktop/images/19052025/16/42/image_19052025_16_43_07_29940.jpg
MAIN: 2025-05-19 16:43:08,719 - INFO - duration: 1.5191792820041883
MAIN: 2025-05-19 16:43:08,720 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:43:38,180 - INFO - taking picture
MAIN: 2025-05-19 16:43:38,181 - INFO - we take 1227 photos in this while loop
MAIN: 2025-05-19 16:43:38,182 - INFO - /home/pi/Desktop/images/19052025/16/43/image_19052025_16_43_37_29491.jpg
MAIN: 2025-05-19 16:43:38,182 - INFO - duration: 1.4913739249968785
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:44:09,108 - INFO - taking picture
MAIN: 2025-05-19 16:44:09,109 - INFO - we take 1228 photos in this while loop
MAIN: 2025-05-19 16:44:09,110 - INFO - /home/pi/Desktop/images/19052025/16/43/image_19052025_16_44_08_30656.jpg
MAIN: 2025-05-19 16:44:09,110 - INFO - duration: 1.7633905619950383
MAIN: 2025-05-19 16:44:09,111 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/44'
MAIN: 2025-05-19 16:44:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:44:38,523 - INFO - taking picture
MAIN: 2025-05-19 16:44:38,524 - INFO - we take 1229 photos in this while loop
MAIN: 2025-05-19 16:44:38,525 - INFO - /home/pi/Desktop/images/19052025/16/44/image_19052025_16_44_37_29736.jpg
MAIN: 2025-05-19 16:44:38,525 - INFO - duration: 1.4421646169939777
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:45:09,788 - INFO - taking picture
MAIN: 2025-05-19 16:45:09,790 - INFO - we take 1230 photos in this while loop
MAIN: 2025-05-19 16:45:09,790 - INFO - /home/pi/Desktop/images/19052025/16/44/image_19052025_16_45_08_30424.jpg
MAIN: 2025-05-19 16:45:09,791 - INFO - duration: 2.2836345710020396
MAIN: 2025-05-19 16:45:09,792 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/45'
MAIN: 2025-05-19 16:45:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:45:37,683 - INFO - taking picture
MAIN: 2025-05-19 16:45:37,684 - INFO - we take 1231 photos in this while loop
MAIN: 2025-05-19 16:45:37,685 - INFO - /home/pi/Desktop/images/19052025/16/45/image_19052025_16_45_36_28712.jpg
MAIN: 2025-05-19 16:45:37,685 - INFO - duration: 1.4654486720028217
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:46:08,834 - INFO - taking picture
MAIN: 2025-05-19 16:46:08,835 - INFO - we take 1232 photos in this while loop
MAIN: 2025-05-19 16:46:08,836 - INFO - /home/pi/Desktop/images/19052025/16/45/image_19052025_16_46_07_30966.jpg
MAIN: 2025-05-19 16:46:08,836 - INFO - duration: 1.6498261160013499
MAIN: 2025-05-19 16:46:08,837 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/46'
MAIN: 2025-05-19 16:46:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:46:38,178 - INFO - taking picture
MAIN: 2025-05-19 16:46:38,179 - INFO - we take 1233 photos in this while loop
MAIN: 2025-05-19 16:46:38,179 - INFO - /home/pi/Desktop/images/19052025/16/46/image_19052025_16_46_37_29517.jpg
MAIN: 2025-05-19 16:46:38,180 - INFO - duration: 1.4760312719954527
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:47:08,280 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 16:47:08,590 - INFO - taking picture
MAIN: 2025-05-19 16:47:08,592 - INFO - we take 1234 photos in this while loop
MAIN: 2025-05-19 16:47:08,592 - INFO - /home/pi/Desktop/images/19052025/16/46/image_19052025_16_47_07_30199.jpg
MAIN: 2025-05-19 16:47:08,593 - INFO - duration: 1.6893503750034142
MAIN: 2025-05-19 16:47:08,594 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:47:37,858 - INFO - taking picture
MAIN: 2025-05-19 16:47:37,859 - INFO - we take 1235 photos in this while loop
MAIN: 2025-05-19 16:47:37,860 - INFO - /home/pi/Desktop/images/19052025/16/47/image_19052025_16_47_36_29514.jpg
MAIN: 2025-05-19 16:47:37,860 - INFO - duration: 1.442103938999935
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:48:08,999 - INFO - taking picture
MAIN: 2025-05-19 16:48:09,000 - INFO - we take 1236 photos in this while loop
MAIN: 2025-05-19 16:48:09,001 - INFO - /home/pi/Desktop/images/19052025/16/47/image_19052025_16_48_07_30681.jpg
MAIN: 2025-05-19 16:48:09,001 - INFO - duration: 1.9011859859965625
MAIN: 2025-05-19 16:48:09,002 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/48'
MAIN: 2025-05-19 16:48:09,841 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:48:38,298 - INFO - taking picture
MAIN: 2025-05-19 16:48:38,299 - INFO - we take 1237 photos in this while loop
MAIN: 2025-05-19 16:48:38,299 - INFO - /home/pi/Desktop/images/19052025/16/48/image_19052025_16_48_37_29766.jpg
MAIN: 2025-05-19 16:48:38,300 - INFO - duration: 1.4329144090006594
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:49:08,338 - INFO - taking picture
MAIN: 2025-05-19 16:49:08,339 - INFO - we take 1238 photos in this while loop
MAIN: 2025-05-19 16:49:08,339 - INFO - /home/pi/Desktop/images/19052025/16/48/image_19052025_16_49_07_29662.jpg
MAIN: 2025-05-19 16:49:08,340 - INFO - duration: 1.8098876799995196
MAIN: 2025-05-19 16:49:08,340 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/49'
MAIN: 2025-05-19 16:49:08,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:49:38,929 - INFO - taking picture
MAIN: 2025-05-19 16:49:38,930 - INFO - we take 1239 photos in this while loop
MAIN: 2025-05-19 16:49:38,930 - INFO - /home/pi/Desktop/images/19052025/16/49/image_19052025_16_49_38_31017.jpg
MAIN: 2025-05-19 16:49:38,930 - INFO - duration: 1.383204111996747
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:50:09,719 - INFO - taking picture
MAIN: 2025-05-19 16:50:09,720 - INFO - we take 1240 photos in this while loop
MAIN: 2025-05-19 16:50:09,721 - INFO - /home/pi/Desktop/images/19052025/16/49/image_19052025_16_50_08_29858.jpg
MAIN: 2025-05-19 16:50:09,722 - INFO - duration: 2.315948308998486
MAIN: 2025-05-19 16:50:09,845 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/50'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:50:10,912 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:50:37,809 - INFO - taking picture
MAIN: 2025-05-19 16:50:37,810 - INFO - we take 1241 photos in this while loop
MAIN: 2025-05-19 16:50:37,811 - INFO - /home/pi/Desktop/images/19052025/16/50/image_19052025_16_50_36_28939.jpg
MAIN: 2025-05-19 16:50:37,811 - INFO - duration: 1.466229972000292
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:51:07,959 - INFO - taking picture
MAIN: 2025-05-19 16:51:07,961 - INFO - we take 1242 photos in this while loop
MAIN: 2025-05-19 16:51:07,961 - INFO - /home/pi/Desktop/images/19052025/16/50/image_19052025_16_51_06_29854.jpg
MAIN: 2025-05-19 16:51:07,961 - INFO - duration: 1.7616743610051344
MAIN: 2025-05-19 16:51:07,962 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/51'
MAIN: 2025-05-19 16:51:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:51:38,888 - INFO - taking picture
MAIN: 2025-05-19 16:51:38,889 - INFO - we take 1243 photos in this while loop
MAIN: 2025-05-19 16:51:38,890 - INFO - /home/pi/Desktop/images/19052025/16/51/image_19052025_16_51_37_31232.jpg
MAIN: 2025-05-19 16:51:38,890 - INFO - duration: 1.4572649749970878
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:52:08,730 - INFO - taking picture
MAIN: 2025-05-19 16:52:08,731 - INFO - we take 1244 photos in this while loop
MAIN: 2025-05-19 16:52:08,732 - INFO - /home/pi/Desktop/images/19052025/16/51/image_19052025_16_52_07_29012.jpg
MAIN: 2025-05-19 16:52:08,732 - INFO - duration: 2.287277900002664
MAIN: 2025-05-19 16:52:08,802 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/52'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:52:09,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:52:38,018 - INFO - taking picture
MAIN: 2025-05-19 16:52:38,019 - INFO - we take 1245 photos in this while loop
MAIN: 2025-05-19 16:52:38,019 - INFO - /home/pi/Desktop/images/19052025/16/52/image_19052025_16_52_37_30138.jpg
MAIN: 2025-05-19 16:52:38,020 - INFO - duration: 1.4365555019976455
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:53:07,998 - INFO - taking picture
MAIN: 2025-05-19 16:53:07,999 - INFO - we take 1246 photos in this while loop
MAIN: 2025-05-19 16:53:08,000 - INFO - /home/pi/Desktop/images/19052025/16/52/image_19052025_16_53_06_29667.jpg
MAIN: 2025-05-19 16:53:08,001 - INFO - duration: 1.7495508229985717
MAIN: 2025-05-19 16:53:08,002 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/53'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:53:09,043 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:53:38,740 - INFO - taking picture
MAIN: 2025-05-19 16:53:38,741 - INFO - we take 1247 photos in this while loop
MAIN: 2025-05-19 16:53:38,741 - INFO - /home/pi/Desktop/images/19052025/16/53/image_19052025_16_53_37_31061.jpg
MAIN: 2025-05-19 16:53:38,741 - INFO - duration: 1.4290477949980414
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:54:08,473 - INFO - taking picture
MAIN: 2025-05-19 16:54:08,474 - INFO - we take 1248 photos in this while loop
MAIN: 2025-05-19 16:54:08,475 - INFO - /home/pi/Desktop/images/19052025/16/53/image_19052025_16_54_07_28952.jpg
MAIN: 2025-05-19 16:54:08,476 - INFO - duration: 2.210833339006058
MAIN: 2025-05-19 16:54:08,577 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/54'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:54:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:54:37,993 - INFO - taking picture
MAIN: 2025-05-19 16:54:37,995 - INFO - we take 1249 photos in this while loop
MAIN: 2025-05-19 16:54:37,995 - INFO - /home/pi/Desktop/images/19052025/16/54/image_19052025_16_54_37_30300.jpg
MAIN: 2025-05-19 16:54:37,995 - INFO - duration: 1.430190971994307
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 16:55:09,096 - INFO - taking picture
MAIN: 2025-05-19 16:55:09,097 - INFO - we take 1250 photos in this while loop
MAIN: 2025-05-19 16:55:09,098 - INFO - /home/pi/Desktop/images/19052025/16/54/image_19052025_16_55_07_30603.jpg
MAIN: 2025-05-19 16:55:09,098 - INFO - duration: 1.92931707000389
MAIN: 2025-05-19 16:55:09,100 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/55'
MAIN: 2025-05-19 16:55:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:55:38,763 - INFO - taking picture
MAIN: 2025-05-19 16:55:38,764 - INFO - we take 1251 photos in this while loop
MAIN: 2025-05-19 16:55:38,764 - INFO - /home/pi/Desktop/images/19052025/16/55/image_19052025_16_55_37_30127.jpg
MAIN: 2025-05-19 16:55:38,765 - INFO - duration: 1.4678414810041431
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:56:08,045 - INFO - taking picture
MAIN: 2025-05-19 16:56:08,046 - INFO - we take 1252 photos in this while loop
MAIN: 2025-05-19 16:56:08,047 - INFO - /home/pi/Desktop/images/19052025/16/55/image_19052025_16_56_06_28807.jpg
MAIN: 2025-05-19 16:56:08,047 - INFO - duration: 1.943034825999348
MAIN: 2025-05-19 16:56:08,744 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/56'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-05-19 16:56:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:56:37,539 - INFO - taking picture
MAIN: 2025-05-19 16:56:37,540 - INFO - we take 1253 photos in this while loop
MAIN: 2025-05-19 16:56:37,540 - INFO - /home/pi/Desktop/images/19052025/16/56/image_19052025_16_56_36_30004.jpg
MAIN: 2025-05-19 16:56:37,541 - INFO - duration: 1.4318754499981878
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:57:08,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-05-19 16:57:09,118 - INFO - taking picture
MAIN: 2025-05-19 16:57:09,119 - INFO - we take 1254 photos in this while loop
MAIN: 2025-05-19 16:57:09,119 - INFO - /home/pi/Desktop/images/19052025/16/56/image_19052025_16_57_08_31481.jpg
MAIN: 2025-05-19 16:57:09,120 - INFO - duration: 1.5294491700042272
MAIN: 2025-05-19 16:57:09,121 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:57:38,762 - INFO - taking picture
MAIN: 2025-05-19 16:57:38,763 - INFO - we take 1255 photos in this while loop
MAIN: 2025-05-19 16:57:38,764 - INFO - /home/pi/Desktop/images/19052025/16/57/image_19052025_16_57_37_29676.jpg
MAIN: 2025-05-19 16:57:38,764 - INFO - duration: 1.4973479820037028
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:58:09,203 - INFO - taking picture
MAIN: 2025-05-19 16:58:09,205 - INFO - we take 1256 photos in this while loop
MAIN: 2025-05-19 16:58:09,205 - INFO - /home/pi/Desktop/images/19052025/16/57/image_19052025_16_58_08_30237.jpg
MAIN: 2025-05-19 16:58:09,206 - INFO - duration: 1.7008745860002819
MAIN: 2025-05-19 16:58:09,207 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/58'
MAIN: 2025-05-19 16:58:09,210 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:58:38,504 - INFO - taking picture
MAIN: 2025-05-19 16:58:38,505 - INFO - we take 1257 photos in this while loop
MAIN: 2025-05-19 16:58:38,506 - INFO - /home/pi/Desktop/images/19052025/16/58/image_19052025_16_58_37_29547.jpg
MAIN: 2025-05-19 16:58:38,506 - INFO - duration: 1.4535205470019719
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:59:08,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 ! 
MAIN: 2025-05-19 16:59:08,804 - INFO - taking picture
MAIN: 2025-05-19 16:59:08,805 - INFO - we take 1258 photos in this while loop
MAIN: 2025-05-19 16:59:08,805 - INFO - /home/pi/Desktop/images/19052025/16/58/image_19052025_16_59_07_30164.jpg
MAIN: 2025-05-19 16:59:08,806 - INFO - duration: 1.588628735000384
MAIN: 2025-05-19 16:59:08,807 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/16/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 16:59:38,406 - INFO - taking picture
MAIN: 2025-05-19 16:59:38,407 - INFO - we take 1259 photos in this while loop
MAIN: 2025-05-19 16:59:38,407 - INFO - /home/pi/Desktop/images/19052025/16/59/image_19052025_16_59_37_29690.jpg
MAIN: 2025-05-19 16:59:38,408 - INFO - duration: 1.4997600130009232
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (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-05-19 17:00:09,260 - INFO - taking picture
MAIN: 2025-05-19 17:00:09,261 - INFO - we take 1260 photos in this while loop
MAIN: 2025-05-19 17:00:09,262 - INFO - /home/pi/Desktop/images/19052025/16/59/image_19052025_17_00_07_29444.jpg
MAIN: 2025-05-19 17:00:09,263 - INFO - duration: 2.9103713540025637
MAIN: 2025-05-19 17:00:10,506 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/00'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:00:11,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:00:38,966 - INFO - taking picture
MAIN: 2025-05-19 17:00:38,968 - INFO - we take 1261 photos in this while loop
MAIN: 2025-05-19 17:00:38,968 - INFO - /home/pi/Desktop/images/19052025/17/00/image_19052025_17_00_38_31142.jpg
MAIN: 2025-05-19 17:00:38,969 - INFO - duration: 1.4733308540016878
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:01:07,744 - INFO - taking picture
MAIN: 2025-05-19 17:01:07,745 - INFO - we take 1262 photos in this while loop
MAIN: 2025-05-19 17:01:07,746 - INFO - /home/pi/Desktop/images/19052025/17/00/image_19052025_17_01_06_28659.jpg
MAIN: 2025-05-19 17:01:07,746 - INFO - duration: 1.5912749319977593
MAIN: 2025-05-19 17:01:07,747 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/01'
MAIN: 2025-05-19 17:01:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:01:38,692 - INFO - taking picture
MAIN: 2025-05-19 17:01:38,693 - INFO - we take 1263 photos in this while loop
MAIN: 2025-05-19 17:01:38,693 - INFO - /home/pi/Desktop/images/19052025/17/01/image_19052025_17_01_37_31059.jpg
MAIN: 2025-05-19 17:01:38,694 - INFO - duration: 1.478881866998563
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:02:08,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 ! 
MAIN: 2025-05-19 17:02:09,125 - INFO - taking picture
MAIN: 2025-05-19 17:02:09,126 - INFO - we take 1264 photos in this while loop
MAIN: 2025-05-19 17:02:09,127 - INFO - /home/pi/Desktop/images/19052025/17/01/image_19052025_17_02_08_30201.jpg
MAIN: 2025-05-19 17:02:09,128 - INFO - duration: 1.7114622360022622
MAIN: 2025-05-19 17:02:09,129 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/02'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:02:38,349 - INFO - taking picture
MAIN: 2025-05-19 17:02:38,350 - INFO - we take 1265 photos in this while loop
MAIN: 2025-05-19 17:02:38,350 - INFO - /home/pi/Desktop/images/19052025/17/02/image_19052025_17_02_37_29479.jpg
MAIN: 2025-05-19 17:02:38,350 - INFO - duration: 1.454411088998313
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:03:08,280 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 17:03:09,078 - INFO - taking picture
MAIN: 2025-05-19 17:03:09,079 - INFO - we take 1266 photos in this while loop
MAIN: 2025-05-19 17:03:09,080 - INFO - /home/pi/Desktop/images/19052025/17/02/image_19052025_17_03_08_30665.jpg
MAIN: 2025-05-19 17:03:09,080 - INFO - duration: 1.5190574399966863
MAIN: 2025-05-19 17:03:09,081 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/03'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:03:38,684 - INFO - taking picture
MAIN: 2025-05-19 17:03:38,685 - INFO - we take 1267 photos in this while loop
MAIN: 2025-05-19 17:03:38,686 - INFO - /home/pi/Desktop/images/19052025/17/03/image_19052025_17_03_37_29656.jpg
MAIN: 2025-05-19 17:03:38,686 - INFO - duration: 1.4682822190006846
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:04:08,513 - INFO - taking picture
MAIN: 2025-05-19 17:04:08,514 - INFO - we take 1268 photos in this while loop
MAIN: 2025-05-19 17:04:08,515 - INFO - /home/pi/Desktop/images/19052025/17/03/image_19052025_17_04_07_29147.jpg
MAIN: 2025-05-19 17:04:08,516 - INFO - duration: 2.150760497999727
MAIN: 2025-05-19 17:04:08,517 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/04'
MAIN: 2025-05-19 17:04:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:04:38,086 - INFO - taking picture
MAIN: 2025-05-19 17:04:38,087 - INFO - we take 1269 photos in this while loop
MAIN: 2025-05-19 17:04:38,087 - INFO - /home/pi/Desktop/images/19052025/17/04/image_19052025_17_04_37_30278.jpg
MAIN: 2025-05-19 17:04:38,087 - INFO - duration: 1.4441699059971143
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:05:09,141 - INFO - taking picture
MAIN: 2025-05-19 17:05:09,142 - INFO - we take 1270 photos in this while loop
MAIN: 2025-05-19 17:05:09,143 - INFO - /home/pi/Desktop/images/19052025/17/04/image_19052025_17_05_07_30481.jpg
MAIN: 2025-05-19 17:05:09,143 - INFO - duration: 2.018298284005141
MAIN: 2025-05-19 17:05:09,144 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/05'
MAIN: 2025-05-19 17:05:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:05:38,604 - INFO - taking picture
MAIN: 2025-05-19 17:05:38,606 - INFO - we take 1271 photos in this while loop
MAIN: 2025-05-19 17:05:38,606 - INFO - /home/pi/Desktop/images/19052025/17/05/image_19052025_17_05_37_30023.jpg
MAIN: 2025-05-19 17:05:38,606 - INFO - duration: 1.4578006700030528
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:06:08,489 - INFO - taking picture
MAIN: 2025-05-19 17:06:08,490 - INFO - we take 1272 photos in this while loop
MAIN: 2025-05-19 17:06:08,491 - INFO - /home/pi/Desktop/images/19052025/17/05/image_19052025_17_06_07_29003.jpg
MAIN: 2025-05-19 17:06:08,491 - INFO - duration: 2.3387384559973725
MAIN: 2025-05-19 17:06:08,786 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/06'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:06:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:06:37,958 - INFO - taking picture
MAIN: 2025-05-19 17:06:37,959 - INFO - we take 1273 photos in this while loop
MAIN: 2025-05-19 17:06:37,960 - INFO - /home/pi/Desktop/images/19052025/17/06/image_19052025_17_06_37_30348.jpg
MAIN: 2025-05-19 17:06:37,960 - INFO - duration: 1.4594467429997167
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:07:08,324 - INFO - taking picture
MAIN: 2025-05-19 17:07:08,325 - INFO - we take 1274 photos in this while loop
MAIN: 2025-05-19 17:07:08,325 - INFO - /home/pi/Desktop/images/19052025/17/06/image_19052025_17_07_07_30300.jpg
MAIN: 2025-05-19 17:07:08,326 - INFO - duration: 1.5244225569986156
MAIN: 2025-05-19 17:07:08,327 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/07'
MAIN: 2025-05-19 17:07:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:07:37,495 - INFO - taking picture
MAIN: 2025-05-19 17:07:37,496 - INFO - we take 1275 photos in this while loop
MAIN: 2025-05-19 17:07:37,497 - INFO - /home/pi/Desktop/images/19052025/17/07/image_19052025_17_07_36_29337.jpg
MAIN: 2025-05-19 17:07:37,497 - INFO - duration: 1.3579874939969159
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:08:08,588 - INFO - taking picture
MAIN: 2025-05-19 17:08:08,589 - INFO - we take 1276 photos in this while loop
MAIN: 2025-05-19 17:08:08,590 - INFO - /home/pi/Desktop/images/19052025/17/07/image_19052025_17_08_07_30455.jpg
MAIN: 2025-05-19 17:08:08,590 - INFO - duration: 1.9961929279961623
MAIN: 2025-05-19 17:08:08,668 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/08'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:08:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:08:37,925 - INFO - taking picture
MAIN: 2025-05-19 17:08:37,926 - INFO - we take 1277 photos in this while loop
MAIN: 2025-05-19 17:08:37,926 - INFO - /home/pi/Desktop/images/19052025/17/08/image_19052025_17_08_37_29902.jpg
MAIN: 2025-05-19 17:08:37,926 - INFO - duration: 1.4293702889990527
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:09:08,247 - INFO - taking picture
MAIN: 2025-05-19 17:09:08,248 - INFO - we take 1278 photos in this while loop
MAIN: 2025-05-19 17:09:08,249 - INFO - /home/pi/Desktop/images/19052025/17/08/image_19052025_17_09_07_30038.jpg
MAIN: 2025-05-19 17:09:08,249 - INFO - duration: 1.713453276999644
MAIN: 2025-05-19 17:09:08,250 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/09'
MAIN: 2025-05-19 17:09:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:09:37,605 - INFO - taking picture
MAIN: 2025-05-19 17:09:37,606 - INFO - we take 1279 photos in this while loop
MAIN: 2025-05-19 17:09:37,606 - INFO - /home/pi/Desktop/images/19052025/17/09/image_19052025_17_09_36_29606.jpg
MAIN: 2025-05-19 17:09:37,607 - INFO - duration: 1.4647449039985077
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:10:09,118 - INFO - taking picture
MAIN: 2025-05-19 17:10:09,119 - INFO - we take 1280 photos in this while loop
MAIN: 2025-05-19 17:10:09,120 - INFO - /home/pi/Desktop/images/19052025/17/09/image_19052025_17_10_07_30693.jpg
MAIN: 2025-05-19 17:10:09,120 - INFO - duration: 2.284807643998647
MAIN: 2025-05-19 17:10:09,727 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/10'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:10:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:10:38,614 - INFO - taking picture
MAIN: 2025-05-19 17:10:38,615 - INFO - we take 1281 photos in this while loop
MAIN: 2025-05-19 17:10:38,616 - INFO - /home/pi/Desktop/images/19052025/17/10/image_19052025_17_10_37_30321.jpg
MAIN: 2025-05-19 17:10:38,616 - INFO - duration: 1.45937414799846
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:11:08,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 ! 
MAIN: 2025-05-19 17:11:09,037 - INFO - taking picture
MAIN: 2025-05-19 17:11:09,038 - INFO - we take 1282 photos in this while loop
MAIN: 2025-05-19 17:11:09,038 - INFO - /home/pi/Desktop/images/19052025/17/10/image_19052025_17_11_08_30354.jpg
MAIN: 2025-05-19 17:11:09,039 - INFO - duration: 1.5280259370047133
MAIN: 2025-05-19 17:11:09,040 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/11'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:11:38,163 - INFO - taking picture
MAIN: 2025-05-19 17:11:38,164 - INFO - we take 1283 photos in this while loop
MAIN: 2025-05-19 17:11:38,165 - INFO - /home/pi/Desktop/images/19052025/17/11/image_19052025_17_11_37_29220.jpg
MAIN: 2025-05-19 17:11:38,165 - INFO - duration: 1.4330524639954092
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:12:08,884 - INFO - taking picture
MAIN: 2025-05-19 17:12:08,886 - INFO - we take 1284 photos in this while loop
MAIN: 2025-05-19 17:12:08,886 - INFO - /home/pi/Desktop/images/19052025/17/11/image_19052025_17_12_07_30243.jpg
MAIN: 2025-05-19 17:12:08,887 - INFO - duration: 1.9118467189982766
MAIN: 2025-05-19 17:12:08,888 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/12'
MAIN: 2025-05-19 17:12:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:12:38,392 - INFO - taking picture
MAIN: 2025-05-19 17:12:38,393 - INFO - we take 1285 photos in this while loop
MAIN: 2025-05-19 17:12:38,393 - INFO - /home/pi/Desktop/images/19052025/17/12/image_19052025_17_12_37_29952.jpg
MAIN: 2025-05-19 17:12:38,394 - INFO - duration: 1.466559080996376
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:13:08,304 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 17:13:08,968 - INFO - taking picture
MAIN: 2025-05-19 17:13:08,969 - INFO - we take 1286 photos in this while loop
MAIN: 2025-05-19 17:13:08,969 - INFO - /home/pi/Desktop/images/19052025/17/12/image_19052025_17_13_08_30519.jpg
MAIN: 2025-05-19 17:13:08,970 - INFO - duration: 1.5231973939953605
MAIN: 2025-05-19 17:13:08,971 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:13:38,532 - INFO - taking picture
MAIN: 2025-05-19 17:13:38,533 - INFO - we take 1287 photos in this while loop
MAIN: 2025-05-19 17:13:38,534 - INFO - /home/pi/Desktop/images/19052025/17/13/image_19052025_17_13_37_29613.jpg
MAIN: 2025-05-19 17:13:38,534 - INFO - duration: 1.4744488969954546
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:14:09,230 - INFO - taking picture
MAIN: 2025-05-19 17:14:09,231 - INFO - we take 1288 photos in this while loop
MAIN: 2025-05-19 17:14:09,231 - INFO - /home/pi/Desktop/images/19052025/17/13/image_19052025_17_14_08_30552.jpg
MAIN: 2025-05-19 17:14:09,232 - INFO - duration: 1.6201283069967758
MAIN: 2025-05-19 17:14:09,233 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/14'
MAIN: 2025-05-19 17:14:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:14:38,567 - INFO - taking picture
MAIN: 2025-05-19 17:14:38,568 - INFO - we take 1289 photos in this while loop
MAIN: 2025-05-19 17:14:38,569 - INFO - /home/pi/Desktop/images/19052025/17/14/image_19052025_17_14_37_29515.jpg
MAIN: 2025-05-19 17:14:38,569 - INFO - duration: 1.4420594769981108
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:15:09,538 - INFO - taking picture
MAIN: 2025-05-19 17:15:09,540 - INFO - we take 1290 photos in this while loop
MAIN: 2025-05-19 17:15:09,541 - INFO - /home/pi/Desktop/images/19052025/17/14/image_19052025_17_15_08_29998.jpg
MAIN: 2025-05-19 17:15:09,541 - INFO - duration: 2.4155071250061155
MAIN: 2025-05-19 17:15:09,542 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/15'
MAIN: 2025-05-19 17:15:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:15:38,855 - INFO - taking picture
MAIN: 2025-05-19 17:15:38,856 - INFO - we take 1291 photos in this while loop
MAIN: 2025-05-19 17:15:38,856 - INFO - /home/pi/Desktop/images/19052025/17/15/image_19052025_17_15_37_30275.jpg
MAIN: 2025-05-19 17:15:38,857 - INFO - duration: 1.455519008995907
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:16:08,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 ! 
MAIN: 2025-05-19 17:16:09,012 - INFO - taking picture
MAIN: 2025-05-19 17:16:09,014 - INFO - we take 1292 photos in this while loop
MAIN: 2025-05-19 17:16:09,015 - INFO - /home/pi/Desktop/images/19052025/17/15/image_19052025_17_16_08_30009.jpg
MAIN: 2025-05-19 17:16:09,015 - INFO - duration: 1.6046485230035614
MAIN: 2025-05-19 17:16:09,017 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:16:38,169 - INFO - taking picture
MAIN: 2025-05-19 17:16:38,170 - INFO - we take 1293 photos in this while loop
MAIN: 2025-05-19 17:16:38,171 - INFO - /home/pi/Desktop/images/19052025/17/16/image_19052025_17_16_37_29317.jpg
MAIN: 2025-05-19 17:16:38,171 - INFO - duration: 1.4431797049983288
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:17:08,497 - INFO - taking picture
MAIN: 2025-05-19 17:17:08,498 - INFO - we take 1294 photos in this while loop
MAIN: 2025-05-19 17:17:08,498 - INFO - /home/pi/Desktop/images/19052025/17/16/image_19052025_17_17_07_30248.jpg
MAIN: 2025-05-19 17:17:08,499 - INFO - duration: 1.521898458006035
MAIN: 2025-05-19 17:17:08,500 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/17'
MAIN: 2025-05-19 17:17:08,567 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:17:37,753 - INFO - taking picture
MAIN: 2025-05-19 17:17:37,754 - INFO - we take 1295 photos in this while loop
MAIN: 2025-05-19 17:17:37,755 - INFO - /home/pi/Desktop/images/19052025/17/17/image_19052025_17_17_36_29338.jpg
MAIN: 2025-05-19 17:17:37,755 - INFO - duration: 1.4396456979957293
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:18:08,930 - INFO - taking picture
MAIN: 2025-05-19 17:18:08,932 - INFO - we take 1296 photos in this while loop
MAIN: 2025-05-19 17:18:08,932 - INFO - /home/pi/Desktop/images/19052025/17/17/image_19052025_17_18_07_30670.jpg
MAIN: 2025-05-19 17:18:08,933 - INFO - duration: 1.9473610240020207
MAIN: 2025-05-19 17:18:08,934 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/18'
MAIN: 2025-05-19 17:18:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:18:38,455 - INFO - taking picture
MAIN: 2025-05-19 17:18:38,456 - INFO - we take 1297 photos in this while loop
MAIN: 2025-05-19 17:18:38,457 - INFO - /home/pi/Desktop/images/19052025/17/18/image_19052025_17_18_37_30018.jpg
MAIN: 2025-05-19 17:18:38,457 - INFO - duration: 1.4530249000017648
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:19:07,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-05-19 17:19:08,390 - INFO - taking picture
MAIN: 2025-05-19 17:19:08,391 - INFO - we take 1298 photos in this while loop
MAIN: 2025-05-19 17:19:08,392 - INFO - /home/pi/Desktop/images/19052025/17/18/image_19052025_17_19_07_29836.jpg
MAIN: 2025-05-19 17:19:08,392 - INFO - duration: 1.5516019139977288
MAIN: 2025-05-19 17:19:08,393 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/19'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:19:37,516 - INFO - taking picture
MAIN: 2025-05-19 17:19:37,517 - INFO - we take 1299 photos in this while loop
MAIN: 2025-05-19 17:19:37,517 - INFO - /home/pi/Desktop/images/19052025/17/19/image_19052025_17_19_36_29381.jpg
MAIN: 2025-05-19 17:19:37,518 - INFO - duration: 1.2955574779989547
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:20:08,960 - INFO - taking picture
MAIN: 2025-05-19 17:20:08,961 - INFO - we take 1300 photos in this while loop
MAIN: 2025-05-19 17:20:08,962 - INFO - /home/pi/Desktop/images/19052025/17/19/image_19052025_17_20_07_30313.jpg
MAIN: 2025-05-19 17:20:08,964 - INFO - duration: 2.427159147999191
MAIN: 2025-05-19 17:20:09,436 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/20'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-05-19 17:20:10,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:20:38,460 - INFO - taking picture
MAIN: 2025-05-19 17:20:38,461 - INFO - we take 1301 photos in this while loop
MAIN: 2025-05-19 17:20:38,461 - INFO - /home/pi/Desktop/images/19052025/17/20/image_19052025_17_20_37_30626.jpg
MAIN: 2025-05-19 17:20:38,462 - INFO - duration: 1.3000892269992619
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:21:08,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 ! 
MAIN: 2025-05-19 17:21:08,907 - INFO - taking picture
MAIN: 2025-05-19 17:21:08,908 - INFO - we take 1302 photos in this while loop
MAIN: 2025-05-19 17:21:08,909 - INFO - /home/pi/Desktop/images/19052025/17/20/image_19052025_17_21_07_30150.jpg
MAIN: 2025-05-19 17:21:08,909 - INFO - duration: 1.5970050799951423
MAIN: 2025-05-19 17:21:08,910 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:21:37,935 - INFO - taking picture
MAIN: 2025-05-19 17:21:37,936 - INFO - we take 1303 photos in this while loop
MAIN: 2025-05-19 17:21:37,936 - INFO - /home/pi/Desktop/images/19052025/17/21/image_19052025_17_21_37_29192.jpg
MAIN: 2025-05-19 17:21:37,937 - INFO - duration: 1.4321616439992795
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:22:08,840 - INFO - taking picture
MAIN: 2025-05-19 17:22:08,842 - INFO - we take 1304 photos in this while loop
MAIN: 2025-05-19 17:22:08,842 - INFO - /home/pi/Desktop/images/19052025/17/21/image_19052025_17_22_07_30430.jpg
MAIN: 2025-05-19 17:22:08,843 - INFO - duration: 1.908294956003374
MAIN: 2025-05-19 17:22:09,089 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/22'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:22:10,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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:22:38,331 - INFO - taking picture
MAIN: 2025-05-19 17:22:38,333 - INFO - we take 1305 photos in this while loop
MAIN: 2025-05-19 17:22:38,333 - INFO - /home/pi/Desktop/images/19052025/17/22/image_19052025_17_22_37_30025.jpg
MAIN: 2025-05-19 17:22:38,333 - INFO - duration: 1.3734086490003392
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:23:08,371 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 17:23:08,828 - INFO - taking picture
MAIN: 2025-05-19 17:23:08,829 - INFO - we take 1306 photos in this while loop
MAIN: 2025-05-19 17:23:08,829 - INFO - /home/pi/Desktop/images/19052025/17/22/image_19052025_17_23_07_30363.jpg
MAIN: 2025-05-19 17:23:08,829 - INFO - duration: 1.5056939700007206
MAIN: 2025-05-19 17:23:08,830 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:23:38,005 - INFO - taking picture
MAIN: 2025-05-19 17:23:38,006 - INFO - we take 1307 photos in this while loop
MAIN: 2025-05-19 17:23:38,006 - INFO - /home/pi/Desktop/images/19052025/17/23/image_19052025_17_23_37_29408.jpg
MAIN: 2025-05-19 17:23:38,007 - INFO - duration: 1.2744526599999517
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:24:09,073 - INFO - taking picture
MAIN: 2025-05-19 17:24:09,074 - INFO - we take 1308 photos in this while loop
MAIN: 2025-05-19 17:24:09,075 - INFO - /home/pi/Desktop/images/19052025/17/23/image_19052025_17_24_08_30618.jpg
MAIN: 2025-05-19 17:24:09,075 - INFO - duration: 1.7242671530038933
MAIN: 2025-05-19 17:24:09,076 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/24'
MAIN: 2025-05-19 17:24:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:24:38,498 - INFO - taking picture
MAIN: 2025-05-19 17:24:38,500 - INFO - we take 1309 photos in this while loop
MAIN: 2025-05-19 17:24:38,500 - INFO - /home/pi/Desktop/images/19052025/17/24/image_19052025_17_24_37_29715.jpg
MAIN: 2025-05-19 17:24:38,500 - INFO - duration: 1.4333879180048825
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:25:09,041 - INFO - taking picture
MAIN: 2025-05-19 17:25:09,043 - INFO - we take 1310 photos in this while loop
MAIN: 2025-05-19 17:25:09,043 - INFO - /home/pi/Desktop/images/19052025/17/24/image_19052025_17_25_07_29477.jpg
MAIN: 2025-05-19 17:25:09,044 - INFO - duration: 2.49913244999334
MAIN: 2025-05-19 17:25:09,058 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/25'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:25:10,134 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:25:38,796 - INFO - taking picture
MAIN: 2025-05-19 17:25:38,797 - INFO - we take 1311 photos in this while loop
MAIN: 2025-05-19 17:25:38,798 - INFO - /home/pi/Desktop/images/19052025/17/25/image_19052025_17_25_37_30789.jpg
MAIN: 2025-05-19 17:25:38,798 - INFO - duration: 1.4633132279996062
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:26:08,530 - INFO - taking picture
MAIN: 2025-05-19 17:26:08,531 - INFO - we take 1312 photos in this while loop
MAIN: 2025-05-19 17:26:08,531 - INFO - /home/pi/Desktop/images/19052025/17/25/image_19052025_17_26_07_29266.jpg
MAIN: 2025-05-19 17:26:08,532 - INFO - duration: 1.9310140199959278
MAIN: 2025-05-19 17:26:08,533 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/26'
MAIN: 2025-05-19 17:26:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:26:37,982 - INFO - taking picture
MAIN: 2025-05-19 17:26:37,983 - INFO - we take 1313 photos in this while loop
MAIN: 2025-05-19 17:26:37,983 - INFO - /home/pi/Desktop/images/19052025/17/26/image_19052025_17_26_37_29898.jpg
MAIN: 2025-05-19 17:26:37,984 - INFO - duration: 1.484241927995754
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:27:08,665 - INFO - taking picture
MAIN: 2025-05-19 17:27:08,666 - INFO - we take 1314 photos in this while loop
MAIN: 2025-05-19 17:27:08,666 - INFO - /home/pi/Desktop/images/19052025/17/26/image_19052025_17_27_07_30654.jpg
MAIN: 2025-05-19 17:27:08,667 - INFO - duration: 1.5129919669998344
MAIN: 2025-05-19 17:27:08,668 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/27'
MAIN: 2025-05-19 17:27:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:27:38,039 - INFO - taking picture
MAIN: 2025-05-19 17:27:38,040 - INFO - we take 1315 photos in this while loop
MAIN: 2025-05-19 17:27:38,040 - INFO - /home/pi/Desktop/images/19052025/17/27/image_19052025_17_27_37_29413.jpg
MAIN: 2025-05-19 17:27:38,041 - INFO - duration: 1.4736961199960206
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:28:08,972 - INFO - taking picture
MAIN: 2025-05-19 17:28:08,974 - INFO - we take 1316 photos in this while loop
MAIN: 2025-05-19 17:28:08,975 - INFO - /home/pi/Desktop/images/19052025/17/27/image_19052025_17_28_07_30574.jpg
MAIN: 2025-05-19 17:28:08,976 - INFO - duration: 1.8345764280020376
MAIN: 2025-05-19 17:28:09,003 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/28'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:28:10,058 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:28:38,516 - INFO - taking picture
MAIN: 2025-05-19 17:28:38,517 - INFO - we take 1317 photos in this while loop
MAIN: 2025-05-19 17:28:38,517 - INFO - /home/pi/Desktop/images/19052025/17/28/image_19052025_17_28_37_29916.jpg
MAIN: 2025-05-19 17:28:38,518 - INFO - duration: 1.4605028099977062
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:29:08,440 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 17:29:08,598 - INFO - taking picture
MAIN: 2025-05-19 17:29:08,599 - INFO - we take 1318 photos in this while loop
MAIN: 2025-05-19 17:29:08,600 - INFO - /home/pi/Desktop/images/19052025/17/28/image_19052025_17_29_07_30041.jpg
MAIN: 2025-05-19 17:29:08,600 - INFO - duration: 1.5013827349976054
MAIN: 2025-05-19 17:29:08,601 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:29:37,961 - INFO - taking picture
MAIN: 2025-05-19 17:29:37,962 - INFO - we take 1319 photos in this while loop
MAIN: 2025-05-19 17:29:37,963 - INFO - /home/pi/Desktop/images/19052025/17/29/image_19052025_17_29_37_29433.jpg
MAIN: 2025-05-19 17:29:37,963 - INFO - duration: 1.4312802940039546
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:30:09,857 - INFO - taking picture
MAIN: 2025-05-19 17:30:09,859 - INFO - we take 1320 photos in this while loop
MAIN: 2025-05-19 17:30:09,859 - INFO - /home/pi/Desktop/images/19052025/17/29/image_19052025_17_30_08_30592.jpg
MAIN: 2025-05-19 17:30:09,860 - INFO - duration: 2.7352939740012516
MAIN: 2025-05-19 17:30:09,862 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/30'
MAIN: 2025-05-19 17:30:10,283 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:30:37,630 - INFO - taking picture
MAIN: 2025-05-19 17:30:37,631 - INFO - we take 1321 photos in this while loop
MAIN: 2025-05-19 17:30:37,632 - INFO - /home/pi/Desktop/images/19052025/17/30/image_19052025_17_30_36_29084.jpg
MAIN: 2025-05-19 17:30:37,632 - INFO - duration: 1.4229609879985219
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:31:07,946 - INFO - taking picture
MAIN: 2025-05-19 17:31:07,947 - INFO - we take 1322 photos in this while loop
MAIN: 2025-05-19 17:31:07,948 - INFO - /home/pi/Desktop/images/19052025/17/30/image_19052025_17_31_06_30151.jpg
MAIN: 2025-05-19 17:31:07,948 - INFO - duration: 1.5871571749958093
MAIN: 2025-05-19 17:31:07,949 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/31'
MAIN: 2025-05-19 17:31:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:31:38,716 - INFO - taking picture
MAIN: 2025-05-19 17:31:38,717 - INFO - we take 1323 photos in this while loop
MAIN: 2025-05-19 17:31:38,718 - INFO - /home/pi/Desktop/images/19052025/17/31/image_19052025_17_31_37_30929.jpg
MAIN: 2025-05-19 17:31:38,718 - INFO - duration: 1.4278100569936214
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:32:08,479 - INFO - taking picture
MAIN: 2025-05-19 17:32:08,480 - INFO - we take 1324 photos in this while loop
MAIN: 2025-05-19 17:32:08,481 - INFO - /home/pi/Desktop/images/19052025/17/31/image_19052025_17_32_07_28996.jpg
MAIN: 2025-05-19 17:32:08,482 - INFO - duration: 2.194462528001168
MAIN: 2025-05-19 17:32:08,905 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/32'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-05-19 17:32:09,965 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:32:37,911 - INFO - taking picture
MAIN: 2025-05-19 17:32:37,912 - INFO - we take 1325 photos in this while loop
MAIN: 2025-05-19 17:32:37,912 - INFO - /home/pi/Desktop/images/19052025/17/32/image_19052025_17_32_37_30195.jpg
MAIN: 2025-05-19 17:32:37,913 - INFO - duration: 1.4300681370004895
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:33:08,111 - INFO - taking picture
MAIN: 2025-05-19 17:33:08,112 - INFO - we take 1326 photos in this while loop
MAIN: 2025-05-19 17:33:08,113 - INFO - /home/pi/Desktop/images/19052025/17/32/image_19052025_17_33_07_29902.jpg
MAIN: 2025-05-19 17:33:08,113 - INFO - duration: 1.728195791998587
MAIN: 2025-05-19 17:33:08,170 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/33'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:33:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:33:38,868 - INFO - taking picture
MAIN: 2025-05-19 17:33:38,869 - INFO - we take 1327 photos in this while loop
MAIN: 2025-05-19 17:33:38,869 - INFO - /home/pi/Desktop/images/19052025/17/33/image_19052025_17_33_37_31054.jpg
MAIN: 2025-05-19 17:33:38,870 - INFO - duration: 1.4301224160008132
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:34:09,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 ! 
MAIN: 2025-05-19 17:34:09,389 - INFO - taking picture
MAIN: 2025-05-19 17:34:09,391 - INFO - we take 1328 photos in this while loop
MAIN: 2025-05-19 17:34:09,391 - INFO - /home/pi/Desktop/images/19052025/17/33/image_19052025_17_34_08_30383.jpg
MAIN: 2025-05-19 17:34:09,392 - INFO - duration: 1.5690403929984313
MAIN: 2025-05-19 17:34:09,392 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:34:38,745 - INFO - taking picture
MAIN: 2025-05-19 17:34:38,746 - INFO - we take 1329 photos in this while loop
MAIN: 2025-05-19 17:34:38,747 - INFO - /home/pi/Desktop/images/19052025/17/34/image_19052025_17_34_37_29462.jpg
MAIN: 2025-05-19 17:34:38,747 - INFO - duration: 1.4619669320018147
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:35:08,723 - INFO - taking picture
MAIN: 2025-05-19 17:35:08,725 - INFO - we take 1330 photos in this while loop
MAIN: 2025-05-19 17:35:08,726 - INFO - /home/pi/Desktop/images/19052025/17/34/image_19052025_17_35_07_29070.jpg
MAIN: 2025-05-19 17:35:08,727 - INFO - duration: 2.3708872810020694
MAIN: 2025-05-19 17:35:08,728 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/35'
MAIN: 2025-05-19 17:35:09,312 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:35:38,001 - INFO - taking picture
MAIN: 2025-05-19 17:35:38,002 - INFO - we take 1331 photos in this while loop
MAIN: 2025-05-19 17:35:38,003 - INFO - /home/pi/Desktop/images/19052025/17/35/image_19052025_17_35_37_30351.jpg
MAIN: 2025-05-19 17:35:38,003 - INFO - duration: 1.2956676769972546
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:36:08,536 - INFO - taking picture
MAIN: 2025-05-19 17:36:08,537 - INFO - we take 1332 photos in this while loop
MAIN: 2025-05-19 17:36:08,538 - INFO - /home/pi/Desktop/images/19052025/17/35/image_19052025_17_36_07_29849.jpg
MAIN: 2025-05-19 17:36:08,538 - INFO - duration: 1.9813738759985426
MAIN: 2025-05-19 17:36:08,894 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/36'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:36:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:36:37,794 - INFO - taking picture
MAIN: 2025-05-19 17:36:37,795 - INFO - we take 1333 photos in this while loop
MAIN: 2025-05-19 17:36:37,796 - INFO - /home/pi/Desktop/images/19052025/17/36/image_19052025_17_36_36_29806.jpg
MAIN: 2025-05-19 17:36:37,796 - INFO - duration: 1.4329970499966294
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:37:08,193 - INFO - taking picture
MAIN: 2025-05-19 17:37:08,194 - INFO - we take 1334 photos in this while loop
MAIN: 2025-05-19 17:37:08,195 - INFO - /home/pi/Desktop/images/19052025/17/36/image_19052025_17_37_07_29841.jpg
MAIN: 2025-05-19 17:37:08,195 - INFO - duration: 1.9902151029964443
MAIN: 2025-05-19 17:37:08,392 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/37'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:37:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:37:38,893 - INFO - taking picture
MAIN: 2025-05-19 17:37:38,895 - INFO - we take 1335 photos in this while loop
MAIN: 2025-05-19 17:37:38,895 - INFO - /home/pi/Desktop/images/19052025/17/37/image_19052025_17_37_38_31258.jpg
MAIN: 2025-05-19 17:37:38,895 - INFO - duration: 1.431924421005533
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:38:08,540 - INFO - taking picture
MAIN: 2025-05-19 17:38:08,541 - INFO - we take 1336 photos in this while loop
MAIN: 2025-05-19 17:38:08,542 - INFO - /home/pi/Desktop/images/19052025/17/37/image_19052025_17_38_07_29071.jpg
MAIN: 2025-05-19 17:38:08,542 - INFO - duration: 2.0072154860026785
MAIN: 2025-05-19 17:38:08,543 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/38'
MAIN: 2025-05-19 17:38:09,523 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:38:37,854 - INFO - taking picture
MAIN: 2025-05-19 17:38:37,855 - INFO - we take 1337 photos in this while loop
MAIN: 2025-05-19 17:38:37,855 - INFO - /home/pi/Desktop/images/19052025/17/38/image_19052025_17_38_36_29890.jpg
MAIN: 2025-05-19 17:38:37,856 - INFO - duration: 1.4305942120045074
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:39:08,076 - INFO - taking picture
MAIN: 2025-05-19 17:39:08,077 - INFO - we take 1338 photos in this while loop
MAIN: 2025-05-19 17:39:08,077 - INFO - /home/pi/Desktop/images/19052025/17/38/image_19052025_17_39_07_30089.jpg
MAIN: 2025-05-19 17:39:08,078 - INFO - duration: 1.5630911760017625
MAIN: 2025-05-19 17:39:08,079 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/39'
MAIN: 2025-05-19 17:39:08,277 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:39:38,692 - INFO - taking picture
MAIN: 2025-05-19 17:39:38,693 - INFO - we take 1339 photos in this while loop
MAIN: 2025-05-19 17:39:38,693 - INFO - /home/pi/Desktop/images/19052025/17/39/image_19052025_17_39_37_30748.jpg
MAIN: 2025-05-19 17:39:38,694 - INFO - duration: 1.4311542020004708
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:40:10,283 - INFO - taking picture
MAIN: 2025-05-19 17:40:10,295 - INFO - we take 1340 photos in this while loop
MAIN: 2025-05-19 17:40:10,296 - INFO - /home/pi/Desktop/images/19052025/17/39/image_19052025_17_40_08_30772.jpg
MAIN: 2025-05-19 17:40:10,297 - INFO - duration: 2.2617218339946703
MAIN: 2025-05-19 17:40:10,299 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/40'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:40:11,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:40:38,119 - INFO - taking picture
MAIN: 2025-05-19 17:40:38,121 - INFO - we take 1341 photos in this while loop
MAIN: 2025-05-19 17:40:38,121 - INFO - /home/pi/Desktop/images/19052025/17/40/image_19052025_17_40_37_28653.jpg
MAIN: 2025-05-19 17:40:38,121 - INFO - duration: 1.4331253970012767
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:41:08,256 - INFO - taking picture
MAIN: 2025-05-19 17:41:08,257 - INFO - we take 1342 photos in this while loop
MAIN: 2025-05-19 17:41:08,258 - INFO - /home/pi/Desktop/images/19052025/17/40/image_19052025_17_41_07_29977.jpg
MAIN: 2025-05-19 17:41:08,258 - INFO - duration: 1.5922137900051894
MAIN: 2025-05-19 17:41:08,259 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/41'
MAIN: 2025-05-19 17:41:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:41:38,134 - INFO - taking picture
MAIN: 2025-05-19 17:41:38,135 - INFO - we take 1343 photos in this while loop
MAIN: 2025-05-19 17:41:38,135 - INFO - /home/pi/Desktop/images/19052025/17/41/image_19052025_17_41_36_29737.jpg
MAIN: 2025-05-19 17:41:38,136 - INFO - duration: 1.73213191999821
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:42:09,043 - INFO - taking picture
MAIN: 2025-05-19 17:42:09,044 - INFO - we take 1344 photos in this while loop
MAIN: 2025-05-19 17:42:09,044 - INFO - /home/pi/Desktop/images/19052025/17/41/image_19052025_17_42_08_30674.jpg
MAIN: 2025-05-19 17:42:09,045 - INFO - duration: 1.9670297030024813
MAIN: 2025-05-19 17:42:09,046 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/42'
MAIN: 2025-05-19 17:42:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:42:38,269 - INFO - taking picture
MAIN: 2025-05-19 17:42:38,270 - INFO - we take 1345 photos in this while loop
MAIN: 2025-05-19 17:42:38,271 - INFO - /home/pi/Desktop/images/19052025/17/42/image_19052025_17_42_37_29761.jpg
MAIN: 2025-05-19 17:42:38,271 - INFO - duration: 1.4313342410023324
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:43:07,948 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 17:43:08,566 - INFO - taking picture
MAIN: 2025-05-19 17:43:08,567 - INFO - we take 1346 photos in this while loop
MAIN: 2025-05-19 17:43:08,567 - INFO - /home/pi/Desktop/images/19052025/17/42/image_19052025_17_43_07_30248.jpg
MAIN: 2025-05-19 17:43:08,568 - INFO - duration: 1.478961357002845
MAIN: 2025-05-19 17:43:08,569 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:43:37,947 - INFO - taking picture
MAIN: 2025-05-19 17:43:37,948 - INFO - we take 1347 photos in this while loop
MAIN: 2025-05-19 17:43:37,949 - INFO - /home/pi/Desktop/images/19052025/17/43/image_19052025_17_43_37_29403.jpg
MAIN: 2025-05-19 17:43:37,949 - INFO - duration: 1.4569239599950379
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:44:09,031 - INFO - taking picture
MAIN: 2025-05-19 17:44:09,033 - INFO - we take 1348 photos in this while loop
MAIN: 2025-05-19 17:44:09,033 - INFO - /home/pi/Desktop/images/19052025/17/43/image_19052025_17_44_08_30906.jpg
MAIN: 2025-05-19 17:44:09,034 - INFO - duration: 1.6345400360005442
MAIN: 2025-05-19 17:44:09,034 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/44'
MAIN: 2025-05-19 17:44:09,288 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:44:38,159 - INFO - taking picture
MAIN: 2025-05-19 17:44:38,160 - INFO - we take 1349 photos in this while loop
MAIN: 2025-05-19 17:44:38,161 - INFO - /home/pi/Desktop/images/19052025/17/44/image_19052025_17_44_37_29332.jpg
MAIN: 2025-05-19 17:44:38,161 - INFO - duration: 1.4297837929989328
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:45:09,572 - INFO - taking picture
MAIN: 2025-05-19 17:45:09,573 - INFO - we take 1350 photos in this while loop
MAIN: 2025-05-19 17:45:09,574 - INFO - /home/pi/Desktop/images/19052025/17/44/image_19052025_17_45_08_31080.jpg
MAIN: 2025-05-19 17:45:09,574 - INFO - duration: 1.7625255919992924
MAIN: 2025-05-19 17:45:09,575 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/45'
MAIN: 2025-05-19 17:45:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:45:38,944 - INFO - taking picture
MAIN: 2025-05-19 17:45:38,945 - INFO - we take 1351 photos in this while loop
MAIN: 2025-05-19 17:45:38,945 - INFO - /home/pi/Desktop/images/19052025/17/45/image_19052025_17_45_38_29676.jpg
MAIN: 2025-05-19 17:45:38,946 - INFO - duration: 1.4576555370003916
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:46:08,831 - INFO - taking picture
MAIN: 2025-05-19 17:46:08,832 - INFO - we take 1352 photos in this while loop
MAIN: 2025-05-19 17:46:08,833 - INFO - /home/pi/Desktop/images/19052025/17/45/image_19052025_17_46_07_29195.jpg
MAIN: 2025-05-19 17:46:08,833 - INFO - duration: 2.149889977001294
MAIN: 2025-05-19 17:46:09,171 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/46'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:46:10,225 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:46:38,208 - INFO - taking picture
MAIN: 2025-05-19 17:46:38,209 - INFO - we take 1353 photos in this while loop
MAIN: 2025-05-19 17:46:38,210 - INFO - /home/pi/Desktop/images/19052025/17/46/image_19052025_17_46_37_30090.jpg
MAIN: 2025-05-19 17:46:38,210 - INFO - duration: 1.4365754880054737
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:47:08,215 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 17:47:08,405 - INFO - taking picture
MAIN: 2025-05-19 17:47:08,406 - INFO - we take 1354 photos in this while loop
MAIN: 2025-05-19 17:47:08,406 - INFO - /home/pi/Desktop/images/19052025/17/46/image_19052025_17_47_07_30060.jpg
MAIN: 2025-05-19 17:47:08,407 - INFO - duration: 1.5724212909990456
MAIN: 2025-05-19 17:47:08,408 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/47'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:47:37,661 - INFO - taking picture
MAIN: 2025-05-19 17:47:37,662 - INFO - we take 1355 photos in this while loop
MAIN: 2025-05-19 17:47:37,663 - INFO - /home/pi/Desktop/images/19052025/17/47/image_19052025_17_47_36_29398.jpg
MAIN: 2025-05-19 17:47:37,663 - INFO - duration: 1.430406153005606
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:48:08,448 - INFO - taking picture
MAIN: 2025-05-19 17:48:08,450 - INFO - we take 1356 photos in this while loop
MAIN: 2025-05-19 17:48:08,451 - INFO - /home/pi/Desktop/images/19052025/17/47/image_19052025_17_48_07_30193.jpg
MAIN: 2025-05-19 17:48:08,451 - INFO - duration: 2.025544397001795
MAIN: 2025-05-19 17:48:08,795 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/48'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:48:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:48:37,711 - INFO - taking picture
MAIN: 2025-05-19 17:48:37,712 - INFO - we take 1357 photos in this while loop
MAIN: 2025-05-19 17:48:37,712 - INFO - /home/pi/Desktop/images/19052025/17/48/image_19052025_17_48_36_29859.jpg
MAIN: 2025-05-19 17:48:37,712 - INFO - duration: 1.426911836999352
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:49:08,033 - INFO - taking picture
MAIN: 2025-05-19 17:49:08,035 - INFO - we take 1358 photos in this while loop
MAIN: 2025-05-19 17:49:08,035 - INFO - /home/pi/Desktop/images/19052025/17/48/image_19052025_17_49_07_29974.jpg
MAIN: 2025-05-19 17:49:08,036 - INFO - duration: 1.7756600980064832
MAIN: 2025-05-19 17:49:08,037 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/49'
MAIN: 2025-05-19 17:49:08,883 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:49:38,538 - INFO - taking picture
MAIN: 2025-05-19 17:49:38,539 - INFO - we take 1359 photos in this while loop
MAIN: 2025-05-19 17:49:38,539 - INFO - /home/pi/Desktop/images/19052025/17/49/image_19052025_17_49_37_30941.jpg
MAIN: 2025-05-19 17:49:38,540 - INFO - duration: 1.337799624998297
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:50:09,331 - INFO - taking picture
MAIN: 2025-05-19 17:50:09,332 - INFO - we take 1360 photos in this while loop
MAIN: 2025-05-19 17:50:09,333 - INFO - /home/pi/Desktop/images/19052025/17/49/image_19052025_17_50_07_29412.jpg
MAIN: 2025-05-19 17:50:09,334 - INFO - duration: 2.7189253070027917
MAIN: 2025-05-19 17:50:09,980 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/50'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:50:11,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:50:38,863 - INFO - taking picture
MAIN: 2025-05-19 17:50:38,864 - INFO - we take 1361 photos in this while loop
MAIN: 2025-05-19 17:50:38,865 - INFO - /home/pi/Desktop/images/19052025/17/50/image_19052025_17_50_37_30821.jpg
MAIN: 2025-05-19 17:50:38,865 - INFO - duration: 1.4291238810037612
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:51:07,710 - INFO - taking picture
MAIN: 2025-05-19 17:51:07,711 - INFO - we take 1362 photos in this while loop
MAIN: 2025-05-19 17:51:07,711 - INFO - /home/pi/Desktop/images/19052025/17/50/image_19052025_17_51_06_28682.jpg
MAIN: 2025-05-19 17:51:07,712 - INFO - duration: 1.593207961996086
MAIN: 2025-05-19 17:51:07,713 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/51'
MAIN: 2025-05-19 17:51:08,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:51:38,484 - INFO - taking picture
MAIN: 2025-05-19 17:51:38,485 - INFO - we take 1363 photos in this while loop
MAIN: 2025-05-19 17:51:38,486 - INFO - /home/pi/Desktop/images/19052025/17/51/image_19052025_17_51_37_31035.jpg
MAIN: 2025-05-19 17:51:38,486 - INFO - duration: 1.3324051999952644
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:52:09,415 - INFO - taking picture
MAIN: 2025-05-19 17:52:09,416 - INFO - we take 1364 photos in this while loop
MAIN: 2025-05-19 17:52:09,416 - INFO - /home/pi/Desktop/images/19052025/17/51/image_19052025_17_52_08_30691.jpg
MAIN: 2025-05-19 17:52:09,416 - INFO - duration: 1.5713079989945982
MAIN: 2025-05-19 17:52:09,417 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/52'
MAIN: 2025-05-19 17:52:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:52:38,953 - INFO - taking picture
MAIN: 2025-05-19 17:52:38,954 - INFO - we take 1365 photos in this while loop
MAIN: 2025-05-19 17:52:38,954 - INFO - /home/pi/Desktop/images/19052025/17/52/image_19052025_17_52_38_29652.jpg
MAIN: 2025-05-19 17:52:38,955 - INFO - duration: 1.4575613519991748
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:53:07,965 - INFO - taking picture
MAIN: 2025-05-19 17:53:07,966 - INFO - we take 1366 photos in this while loop
MAIN: 2025-05-19 17:53:07,967 - INFO - /home/pi/Desktop/images/19052025/17/52/image_19052025_17_53_06_28668.jpg
MAIN: 2025-05-19 17:53:07,967 - INFO - duration: 1.801776307002001
MAIN: 2025-05-19 17:53:07,969 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/53'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:53:09,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:53:38,828 - INFO - taking picture
MAIN: 2025-05-19 17:53:38,829 - INFO - we take 1367 photos in this while loop
MAIN: 2025-05-19 17:53:38,830 - INFO - /home/pi/Desktop/images/19052025/17/53/image_19052025_17_53_37_31226.jpg
MAIN: 2025-05-19 17:53:38,830 - INFO - duration: 1.4377772540028673
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:54:09,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-05-19 17:54:09,365 - INFO - taking picture
MAIN: 2025-05-19 17:54:09,367 - INFO - we take 1368 photos in this while loop
MAIN: 2025-05-19 17:54:09,367 - INFO - /home/pi/Desktop/images/19052025/17/53/image_19052025_17_54_08_30394.jpg
MAIN: 2025-05-19 17:54:09,368 - INFO - duration: 1.581239019993518
MAIN: 2025-05-19 17:54:09,369 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:54:39,000 - INFO - taking picture
MAIN: 2025-05-19 17:54:39,001 - INFO - we take 1369 photos in this while loop
MAIN: 2025-05-19 17:54:39,001 - INFO - /home/pi/Desktop/images/19052025/17/54/image_19052025_17_54_38_29762.jpg
MAIN: 2025-05-19 17:54:39,001 - INFO - duration: 1.452504006003437
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:55:08,884 - INFO - taking picture
MAIN: 2025-05-19 17:55:08,886 - INFO - we take 1370 photos in this while loop
MAIN: 2025-05-19 17:55:08,886 - INFO - /home/pi/Desktop/images/19052025/17/54/image_19052025_17_55_07_28850.jpg
MAIN: 2025-05-19 17:55:08,887 - INFO - duration: 2.487594846999855
MAIN: 2025-05-19 17:55:08,888 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/55'
MAIN: 2025-05-19 17:55:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:55:38,218 - INFO - taking picture
MAIN: 2025-05-19 17:55:38,219 - INFO - we take 1371 photos in this while loop
MAIN: 2025-05-19 17:55:38,220 - INFO - /home/pi/Desktop/images/19052025/17/55/image_19052025_17_55_37_30375.jpg
MAIN: 2025-05-19 17:55:38,220 - INFO - duration: 1.4455971179995686
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 17:56:09,210 - INFO - taking picture
MAIN: 2025-05-19 17:56:09,211 - INFO - we take 1372 photos in this while loop
MAIN: 2025-05-19 17:56:09,211 - INFO - /home/pi/Desktop/images/19052025/17/55/image_19052025_17_56_08_30788.jpg
MAIN: 2025-05-19 17:56:09,212 - INFO - duration: 1.6487775339992368
MAIN: 2025-05-19 17:56:09,213 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/56'
MAIN: 2025-05-19 17:56:09,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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:56:38,440 - INFO - taking picture
MAIN: 2025-05-19 17:56:38,441 - INFO - we take 1373 photos in this while loop
MAIN: 2025-05-19 17:56:38,442 - INFO - /home/pi/Desktop/images/19052025/17/56/image_19052025_17_56_37_29441.jpg
MAIN: 2025-05-19 17:56:38,442 - INFO - duration: 1.4373099760050536
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:57:07,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 ! 
MAIN: 2025-05-19 17:57:08,726 - INFO - taking picture
MAIN: 2025-05-19 17:57:08,727 - INFO - we take 1374 photos in this while loop
MAIN: 2025-05-19 17:57:08,727 - INFO - /home/pi/Desktop/images/19052025/17/56/image_19052025_17_57_07_30237.jpg
MAIN: 2025-05-19 17:57:08,728 - INFO - duration: 1.485362453997368
MAIN: 2025-05-19 17:57:08,728 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/57'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:57:38,274 - INFO - taking picture
MAIN: 2025-05-19 17:57:38,275 - INFO - we take 1375 photos in this while loop
MAIN: 2025-05-19 17:57:38,275 - INFO - /home/pi/Desktop/images/19052025/17/57/image_19052025_17_57_37_29606.jpg
MAIN: 2025-05-19 17:57:38,276 - INFO - duration: 1.4271496110013686
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:58:09,108 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 17:58:09,166 - INFO - taking picture
MAIN: 2025-05-19 17:58:09,167 - INFO - we take 1376 photos in this while loop
MAIN: 2025-05-19 17:58:09,168 - INFO - /home/pi/Desktop/images/19052025/17/57/image_19052025_17_58_08_30590.jpg
MAIN: 2025-05-19 17:58:09,168 - INFO - duration: 1.728902108996408
MAIN: 2025-05-19 17:58:09,170 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/17/58'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:58:38,498 - INFO - taking picture
MAIN: 2025-05-19 17:58:38,499 - INFO - we take 1377 photos in this while loop
MAIN: 2025-05-19 17:58:38,499 - INFO - /home/pi/Desktop/images/19052025/17/58/image_19052025_17_58_37_29688.jpg
MAIN: 2025-05-19 17:58:38,499 - INFO - duration: 1.3715085209987592
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:59:08,563 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 17:59:08,901 - INFO - taking picture
MAIN: 2025-05-19 17:59:08,902 - INFO - we take 1378 photos in this while loop
MAIN: 2025-05-19 17:59:08,902 - INFO - /home/pi/Desktop/images/19052025/17/58/image_19052025_17_59_07_30292.jpg
MAIN: 2025-05-19 17:59:08,903 - INFO - duration: 1.4820717870024964
MAIN: 2025-05-19 17:59:08,904 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 17:59:38,241 - INFO - taking picture
MAIN: 2025-05-19 17:59:38,242 - INFO - we take 1379 photos in this while loop
MAIN: 2025-05-19 17:59:38,243 - INFO - /home/pi/Desktop/images/19052025/17/59/image_19052025_17_59_37_29388.jpg
MAIN: 2025-05-19 17:59:38,243 - INFO - duration: 1.4339656709998962
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:00:09,843 - INFO - taking picture
MAIN: 2025-05-19 18:00:09,844 - INFO - we take 1380 photos in this while loop
MAIN: 2025-05-19 18:00:09,845 - INFO - /home/pi/Desktop/images/19052025/17/59/image_19052025_18_00_08_30766.jpg
MAIN: 2025-05-19 18:00:09,846 - INFO - duration: 2.2700257199976477
MAIN: 2025-05-19 18:00:10,388 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/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
Corrupt JPEG data: premature end of data segment
MAIN: 2025-05-19 18:00:11,464 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:00:37,678 - INFO - taking picture
MAIN: 2025-05-19 18:00:37,679 - INFO - we take 1381 photos in this while loop
MAIN: 2025-05-19 18:00:37,679 - INFO - /home/pi/Desktop/images/19052025/18/00/image_19052025_18_00_36_28633.jpg
MAIN: 2025-05-19 18:00:37,680 - INFO - duration: 1.4702064689990948
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:01:07,872 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:01:09,205 - INFO - taking picture
MAIN: 2025-05-19 18:01:09,206 - INFO - we take 1382 photos in this while loop
MAIN: 2025-05-19 18:01:09,206 - INFO - /home/pi/Desktop/images/19052025/18/00/image_19052025_18_01_08_31530.jpg
MAIN: 2025-05-19 18:01:09,207 - INFO - duration: 1.4666228060013964
MAIN: 2025-05-19 18:01:09,207 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:01:38,255 - INFO - taking picture
MAIN: 2025-05-19 18:01:38,256 - INFO - we take 1383 photos in this while loop
MAIN: 2025-05-19 18:01:38,256 - INFO - /home/pi/Desktop/images/19052025/18/01/image_19052025_18_01_37_29222.jpg
MAIN: 2025-05-19 18:01:38,257 - INFO - duration: 1.2947548240044853
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:02:09,197 - INFO - taking picture
MAIN: 2025-05-19 18:02:09,198 - INFO - we take 1384 photos in this while loop
MAIN: 2025-05-19 18:02:09,198 - INFO - /home/pi/Desktop/images/19052025/18/01/image_19052025_18_02_08_30572.jpg
MAIN: 2025-05-19 18:02:09,199 - INFO - duration: 1.6639012600062415
MAIN: 2025-05-19 18:02:09,200 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/02'
MAIN: 2025-05-19 18:02:09,781 - INFO - cam.read() return no image
Will output and 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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:02:38,320 - INFO - taking picture
MAIN: 2025-05-19 18:02:38,321 - INFO - we take 1385 photos in this while loop
MAIN: 2025-05-19 18:02:38,321 - INFO - /home/pi/Desktop/images/19052025/18/02/image_19052025_18_02_37_29357.jpg
MAIN: 2025-05-19 18:02:38,321 - INFO - duration: 1.4291833349998342
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:03:08,487 - INFO - taking picture
MAIN: 2025-05-19 18:03:08,488 - INFO - we take 1386 photos in this while loop
MAIN: 2025-05-19 18:03:08,489 - INFO - /home/pi/Desktop/images/19052025/18/02/image_19052025_18_03_07_30039.jpg
MAIN: 2025-05-19 18:03:08,489 - INFO - duration: 1.5580007649987238
MAIN: 2025-05-19 18:03:08,490 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/03'
MAIN: 2025-05-19 18:03:08,875 - INFO - cam.read() return no image
Will output and 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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:03:37,575 - INFO - taking picture
MAIN: 2025-05-19 18:03:37,576 - INFO - we take 1387 photos in this while loop
MAIN: 2025-05-19 18:03:37,576 - INFO - /home/pi/Desktop/images/19052025/18/03/image_19052025_18_03_36_29215.jpg
MAIN: 2025-05-19 18:03:37,577 - INFO - duration: 1.4303249770018738
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:04:08,166 - INFO - taking picture
MAIN: 2025-05-19 18:04:08,167 - INFO - we take 1388 photos in this while loop
MAIN: 2025-05-19 18:04:08,168 - INFO - /home/pi/Desktop/images/19052025/18/03/image_19052025_18_04_07_30286.jpg
MAIN: 2025-05-19 18:04:08,168 - INFO - duration: 1.7346792179960175
MAIN: 2025-05-19 18:04:08,226 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/04'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:04:09,277 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:04:38,855 - INFO - taking picture
MAIN: 2025-05-19 18:04:38,856 - INFO - we take 1389 photos in this while loop
MAIN: 2025-05-19 18:04:38,856 - INFO - /home/pi/Desktop/images/19052025/18/04/image_19052025_18_04_37_30977.jpg
MAIN: 2025-05-19 18:04:38,857 - INFO - duration: 1.445824692993483
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:05:08,447 - INFO - taking picture
MAIN: 2025-05-19 18:05:08,448 - INFO - we take 1390 photos in this while loop
MAIN: 2025-05-19 18:05:08,449 - INFO - /home/pi/Desktop/images/19052025/18/04/image_19052025_18_05_07_28745.jpg
MAIN: 2025-05-19 18:05:08,449 - INFO - duration: 2.2926732120031375
MAIN: 2025-05-19 18:05:08,980 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/05'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-05-19 18:05:10,053 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:05:37,704 - INFO - taking picture
MAIN: 2025-05-19 18:05:37,705 - INFO - we take 1391 photos in this while loop
MAIN: 2025-05-19 18:05:37,705 - INFO - /home/pi/Desktop/images/19052025/18/05/image_19052025_18_05_36_30119.jpg
MAIN: 2025-05-19 18:05:37,706 - INFO - duration: 1.4290869660035241
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:06:08,617 - INFO - taking picture
MAIN: 2025-05-19 18:06:08,619 - INFO - we take 1392 photos in this while loop
MAIN: 2025-05-19 18:06:08,620 - INFO - /home/pi/Desktop/images/19052025/18/05/image_19052025_18_06_07_30169.jpg
MAIN: 2025-05-19 18:06:08,620 - INFO - duration: 2.1744085570026073
MAIN: 2025-05-19 18:06:08,801 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/06'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:06:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:06:38,001 - INFO - taking picture
MAIN: 2025-05-19 18:06:38,002 - INFO - we take 1393 photos in this while loop
MAIN: 2025-05-19 18:06:38,002 - INFO - /home/pi/Desktop/images/19052025/18/06/image_19052025_18_06_37_30123.jpg
MAIN: 2025-05-19 18:06:38,003 - INFO - duration: 1.432913249998819
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:07:07,955 - INFO - taking picture
MAIN: 2025-05-19 18:07:07,956 - INFO - we take 1394 photos in this while loop
MAIN: 2025-05-19 18:07:07,956 - INFO - /home/pi/Desktop/images/19052025/18/06/image_19052025_18_07_07_29823.jpg
MAIN: 2025-05-19 18:07:07,957 - INFO - duration: 1.563429895999434
MAIN: 2025-05-19 18:07:07,958 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/07'
MAIN: 2025-05-19 18:07:08,039 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:07:38,806 - INFO - taking picture
MAIN: 2025-05-19 18:07:38,807 - INFO - we take 1395 photos in this while loop
MAIN: 2025-05-19 18:07:38,807 - INFO - /home/pi/Desktop/images/19052025/18/07/image_19052025_18_07_37_30927.jpg
MAIN: 2025-05-19 18:07:38,808 - INFO - duration: 1.4864644260014757
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:08:08,925 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 18:08:09,023 - INFO - taking picture
MAIN: 2025-05-19 18:08:09,024 - INFO - we take 1396 photos in this while loop
MAIN: 2025-05-19 18:08:09,025 - INFO - /home/pi/Desktop/images/19052025/18/07/image_19052025_18_08_08_30139.jpg
MAIN: 2025-05-19 18:08:09,025 - INFO - duration: 1.5644189409940736
MAIN: 2025-05-19 18:08:09,026 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/08'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:08:38,243 - INFO - taking picture
MAIN: 2025-05-19 18:08:38,245 - INFO - we take 1397 photos in this while loop
MAIN: 2025-05-19 18:08:38,245 - INFO - /home/pi/Desktop/images/19052025/18/08/image_19052025_18_08_37_29341.jpg
MAIN: 2025-05-19 18:08:38,246 - INFO - duration: 1.4435614480025833
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:09:07,972 - INFO - taking picture
MAIN: 2025-05-19 18:09:07,974 - INFO - we take 1398 photos in this while loop
MAIN: 2025-05-19 18:09:07,974 - INFO - /home/pi/Desktop/images/19052025/18/08/image_19052025_18_09_07_29595.jpg
MAIN: 2025-05-19 18:09:07,975 - INFO - duration: 1.5776861129997997
MAIN: 2025-05-19 18:09:07,976 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/09'
MAIN: 2025-05-19 18:09:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:09:38,825 - INFO - taking picture
MAIN: 2025-05-19 18:09:38,826 - INFO - we take 1399 photos in this while loop
MAIN: 2025-05-19 18:09:38,826 - INFO - /home/pi/Desktop/images/19052025/18/09/image_19052025_18_09_37_30972.jpg
MAIN: 2025-05-19 18:09:38,827 - INFO - duration: 1.4571674229955534
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:10:09,182 - INFO - taking picture
MAIN: 2025-05-19 18:10:09,183 - INFO - we take 1400 photos in this while loop
MAIN: 2025-05-19 18:10:09,194 - INFO - /home/pi/Desktop/images/19052025/18/09/image_19052025_18_10_07_29095.jpg
MAIN: 2025-05-19 18:10:09,195 - INFO - duration: 2.7304607249971014
MAIN: 2025-05-19 18:10:09,196 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/10'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:10:10,281 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:10:38,719 - INFO - taking picture
MAIN: 2025-05-19 18:10:38,720 - INFO - we take 1401 photos in this while loop
MAIN: 2025-05-19 18:10:38,721 - INFO - /home/pi/Desktop/images/19052025/18/10/image_19052025_18_10_37_30785.jpg
MAIN: 2025-05-19 18:10:38,721 - INFO - duration: 1.471291113004554
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:11:07,758 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:11:08,835 - INFO - taking picture
MAIN: 2025-05-19 18:11:08,836 - INFO - we take 1402 photos in this while loop
MAIN: 2025-05-19 18:11:08,837 - INFO - /home/pi/Desktop/images/19052025/18/10/image_19052025_18_11_07_30090.jpg
MAIN: 2025-05-19 18:11:08,837 - INFO - duration: 1.4968935329961823
MAIN: 2025-05-19 18:11:08,838 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:11:38,077 - INFO - taking picture
MAIN: 2025-05-19 18:11:38,078 - INFO - we take 1403 photos in this while loop
MAIN: 2025-05-19 18:11:38,078 - INFO - /home/pi/Desktop/images/19052025/18/11/image_19052025_18_11_37_29268.jpg
MAIN: 2025-05-19 18:11:38,079 - INFO - duration: 1.4704078700015089
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:12:08,997 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 18:12:09,059 - INFO - taking picture
MAIN: 2025-05-19 18:12:09,060 - INFO - we take 1404 photos in this while loop
MAIN: 2025-05-19 18:12:09,061 - INFO - /home/pi/Desktop/images/19052025/18/11/image_19052025_18_12_08_30701.jpg
MAIN: 2025-05-19 18:12:09,061 - INFO - duration: 1.7509789890027605
MAIN: 2025-05-19 18:12:09,062 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:12:38,395 - INFO - taking picture
MAIN: 2025-05-19 18:12:38,396 - INFO - we take 1405 photos in this while loop
MAIN: 2025-05-19 18:12:38,396 - INFO - /home/pi/Desktop/images/19052025/18/12/image_19052025_18_12_37_29631.jpg
MAIN: 2025-05-19 18:12:38,397 - INFO - duration: 1.4545579660043586
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:13:08,792 - INFO - taking picture
MAIN: 2025-05-19 18:13:08,793 - INFO - we take 1406 photos in this while loop
MAIN: 2025-05-19 18:13:08,794 - INFO - /home/pi/Desktop/images/19052025/18/12/image_19052025_18_13_07_30093.jpg
MAIN: 2025-05-19 18:13:08,795 - INFO - duration: 1.7595040289961617
MAIN: 2025-05-19 18:13:08,796 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/13'
MAIN: 2025-05-19 18:13:08,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:13:38,213 - INFO - taking picture
MAIN: 2025-05-19 18:13:38,214 - INFO - we take 1407 photos in this while loop
MAIN: 2025-05-19 18:13:38,215 - INFO - /home/pi/Desktop/images/19052025/18/13/image_19052025_18_13_37_29730.jpg
MAIN: 2025-05-19 18:13:38,215 - INFO - duration: 1.4496518730011303
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:14:08,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-05-19 18:14:09,097 - INFO - taking picture
MAIN: 2025-05-19 18:14:09,098 - INFO - we take 1408 photos in this while loop
MAIN: 2025-05-19 18:14:09,099 - INFO - /home/pi/Desktop/images/19052025/18/13/image_19052025_18_14_08_30531.jpg
MAIN: 2025-05-19 18:14:09,099 - INFO - duration: 1.8025382469932083
MAIN: 2025-05-19 18:14:09,100 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:14:38,614 - INFO - taking picture
MAIN: 2025-05-19 18:14:38,615 - INFO - we take 1409 photos in this while loop
MAIN: 2025-05-19 18:14:38,616 - INFO - /home/pi/Desktop/images/19052025/18/14/image_19052025_18_14_37_29836.jpg
MAIN: 2025-05-19 18:14:38,616 - INFO - duration: 1.4829893829955836
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:15:09,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-05-19 18:15:09,782 - INFO - taking picture
MAIN: 2025-05-19 18:15:09,784 - INFO - we take 1410 photos in this while loop
MAIN: 2025-05-19 18:15:09,785 - INFO - /home/pi/Desktop/images/19052025/18/14/image_19052025_18_15_08_30735.jpg
MAIN: 2025-05-19 18:15:09,786 - INFO - duration: 1.9175265390003915
MAIN: 2025-05-19 18:15:09,788 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:15:37,772 - INFO - taking picture
MAIN: 2025-05-19 18:15:37,773 - INFO - we take 1411 photos in this while loop
MAIN: 2025-05-19 18:15:37,773 - INFO - /home/pi/Desktop/images/19052025/18/15/image_19052025_18_15_36_28433.jpg
MAIN: 2025-05-19 18:15:37,773 - INFO - duration: 1.471335332003946
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:16:08,902 - INFO - taking picture
MAIN: 2025-05-19 18:16:08,903 - INFO - we take 1412 photos in this while loop
MAIN: 2025-05-19 18:16:08,903 - INFO - /home/pi/Desktop/images/19052025/18/15/image_19052025_18_16_07_30629.jpg
MAIN: 2025-05-19 18:16:08,904 - INFO - duration: 1.9720275869985926
MAIN: 2025-05-19 18:16:08,905 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/16'
MAIN: 2025-05-19 18:16:09,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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:16:38,092 - INFO - taking picture
MAIN: 2025-05-19 18:16:38,093 - INFO - we take 1413 photos in this while loop
MAIN: 2025-05-19 18:16:38,094 - INFO - /home/pi/Desktop/images/19052025/18/16/image_19052025_18_16_37_29721.jpg
MAIN: 2025-05-19 18:16:38,094 - INFO - duration: 1.4405808139999863
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:17:08,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-05-19 18:17:08,508 - INFO - taking picture
MAIN: 2025-05-19 18:17:08,510 - INFO - we take 1414 photos in this while loop
MAIN: 2025-05-19 18:17:08,510 - INFO - /home/pi/Desktop/images/19052025/18/16/image_19052025_18_17_07_30077.jpg
MAIN: 2025-05-19 18:17:08,511 - INFO - duration: 1.779325344003155
MAIN: 2025-05-19 18:17:08,512 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/17'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:17:38,147 - INFO - taking picture
MAIN: 2025-05-19 18:17:38,148 - INFO - we take 1415 photos in this while loop
MAIN: 2025-05-19 18:17:38,149 - INFO - /home/pi/Desktop/images/19052025/18/17/image_19052025_18_17_37_29973.jpg
MAIN: 2025-05-19 18:17:38,149 - INFO - duration: 1.4445489600038854
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:18:08,720 - INFO - taking picture
MAIN: 2025-05-19 18:18:08,721 - INFO - we take 1416 photos in this while loop
MAIN: 2025-05-19 18:18:08,722 - INFO - /home/pi/Desktop/images/19052025/18/17/image_19052025_18_18_07_29948.jpg
MAIN: 2025-05-19 18:18:08,722 - INFO - duration: 2.0692185970037826
MAIN: 2025-05-19 18:18:08,724 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/18'
MAIN: 2025-05-19 18:18:08,791 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:18:37,987 - INFO - taking picture
MAIN: 2025-05-19 18:18:37,988 - INFO - we take 1417 photos in this while loop
MAIN: 2025-05-19 18:18:37,989 - INFO - /home/pi/Desktop/images/19052025/18/18/image_19052025_18_18_37_29908.jpg
MAIN: 2025-05-19 18:18:37,989 - INFO - duration: 1.4274902859979193
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:19:08,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 ! 
MAIN: 2025-05-19 18:19:08,428 - INFO - taking picture
MAIN: 2025-05-19 18:19:08,429 - INFO - we take 1418 photos in this while loop
MAIN: 2025-05-19 18:19:08,429 - INFO - /home/pi/Desktop/images/19052025/18/18/image_19052025_18_19_07_30387.jpg
MAIN: 2025-05-19 18:19:08,430 - INFO - duration: 1.4803953770024236
MAIN: 2025-05-19 18:19:08,431 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:19:37,717 - INFO - taking picture
MAIN: 2025-05-19 18:19:37,718 - INFO - we take 1419 photos in this while loop
MAIN: 2025-05-19 18:19:37,719 - INFO - /home/pi/Desktop/images/19052025/18/19/image_19052025_18_19_36_29410.jpg
MAIN: 2025-05-19 18:19:37,719 - INFO - duration: 1.3593268230033573
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:20:09,675 - INFO - taking picture
MAIN: 2025-05-19 18:20:09,677 - INFO - we take 1420 photos in this while loop
MAIN: 2025-05-19 18:20:09,677 - INFO - /home/pi/Desktop/images/19052025/18/19/image_19052025_18_20_08_30747.jpg
MAIN: 2025-05-19 18:20:09,678 - INFO - duration: 2.570541854998737
MAIN: 2025-05-19 18:20:09,679 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/20'
MAIN: 2025-05-19 18:20:10,189 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:20:37,725 - INFO - taking picture
MAIN: 2025-05-19 18:20:37,726 - INFO - we take 1421 photos in this while loop
MAIN: 2025-05-19 18:20:37,726 - INFO - /home/pi/Desktop/images/19052025/18/20/image_19052025_18_20_36_29155.jpg
MAIN: 2025-05-19 18:20:37,727 - INFO - duration: 1.4637396129983244
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:21:08,133 - INFO - taking picture
MAIN: 2025-05-19 18:21:08,134 - INFO - we take 1422 photos in this while loop
MAIN: 2025-05-19 18:21:08,135 - INFO - /home/pi/Desktop/images/19052025/18/20/image_19052025_18_21_07_30147.jpg
MAIN: 2025-05-19 18:21:08,135 - INFO - duration: 1.7247000130009837
MAIN: 2025-05-19 18:21:08,136 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/21'
MAIN: 2025-05-19 18:21:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:21:38,762 - INFO - taking picture
MAIN: 2025-05-19 18:21:38,763 - INFO - we take 1423 photos in this while loop
MAIN: 2025-05-19 18:21:38,763 - INFO - /home/pi/Desktop/images/19052025/18/21/image_19052025_18_21_37_30929.jpg
MAIN: 2025-05-19 18:21:38,764 - INFO - duration: 1.4240706359996693
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:22:09,798 - INFO - taking picture
MAIN: 2025-05-19 18:22:09,799 - INFO - we take 1424 photos in this while loop
MAIN: 2025-05-19 18:22:09,799 - INFO - /home/pi/Desktop/images/19052025/18/21/image_19052025_18_22_08_30801.jpg
MAIN: 2025-05-19 18:22:09,800 - INFO - duration: 1.6581533790013054
MAIN: 2025-05-19 18:22:09,801 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/22'
MAIN: 2025-05-19 18:22:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:22:37,877 - INFO - taking picture
MAIN: 2025-05-19 18:22:37,878 - INFO - we take 1425 photos in this while loop
MAIN: 2025-05-19 18:22:37,879 - INFO - /home/pi/Desktop/images/19052025/18/22/image_19052025_18_22_36_28281.jpg
MAIN: 2025-05-19 18:22:37,879 - INFO - duration: 1.4562353569999686
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:23:08,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-05-19 18:23:08,637 - INFO - taking picture
MAIN: 2025-05-19 18:23:08,639 - INFO - we take 1426 photos in this while loop
MAIN: 2025-05-19 18:23:08,639 - INFO - /home/pi/Desktop/images/19052025/18/22/image_19052025_18_23_07_30687.jpg
MAIN: 2025-05-19 18:23:08,640 - INFO - duration: 1.5297967509977752
MAIN: 2025-05-19 18:23:08,641 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:23:37,992 - INFO - taking picture
MAIN: 2025-05-19 18:23:37,993 - INFO - we take 1427 photos in this while loop
MAIN: 2025-05-19 18:23:37,993 - INFO - /home/pi/Desktop/images/19052025/18/23/image_19052025_18_23_37_29428.jpg
MAIN: 2025-05-19 18:23:37,994 - INFO - duration: 1.4558643519994803
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:24:09,171 - INFO - taking picture
MAIN: 2025-05-19 18:24:09,172 - INFO - we take 1428 photos in this while loop
MAIN: 2025-05-19 18:24:09,173 - INFO - /home/pi/Desktop/images/19052025/18/23/image_19052025_18_24_08_30895.jpg
MAIN: 2025-05-19 18:24:09,174 - INFO - duration: 1.7400058389976039
MAIN: 2025-05-19 18:24:09,175 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/24'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:24:10,219 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:24:38,397 - INFO - taking picture
MAIN: 2025-05-19 18:24:38,398 - INFO - we take 1429 photos in this while loop
MAIN: 2025-05-19 18:24:38,399 - INFO - /home/pi/Desktop/images/19052025/18/24/image_19052025_18_24_37_29522.jpg
MAIN: 2025-05-19 18:24:38,399 - INFO - duration: 1.4430451719963457
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:25:08,939 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 18:25:09,646 - INFO - taking picture
MAIN: 2025-05-19 18:25:09,647 - INFO - we take 1430 photos in this while loop
MAIN: 2025-05-19 18:25:09,648 - INFO - /home/pi/Desktop/images/19052025/18/24/image_19052025_18_25_08_30809.jpg
MAIN: 2025-05-19 18:25:09,648 - INFO - duration: 1.8828071149982861
MAIN: 2025-05-19 18:25:09,649 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:25:37,617 - INFO - taking picture
MAIN: 2025-05-19 18:25:37,618 - INFO - we take 1431 photos in this while loop
MAIN: 2025-05-19 18:25:37,618 - INFO - /home/pi/Desktop/images/19052025/18/25/image_19052025_18_25_36_28424.jpg
MAIN: 2025-05-19 18:25:37,619 - INFO - duration: 1.4285570349966292
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:26:08,759 - INFO - taking picture
MAIN: 2025-05-19 18:26:08,760 - INFO - we take 1432 photos in this while loop
MAIN: 2025-05-19 18:26:08,761 - INFO - /home/pi/Desktop/images/19052025/18/25/image_19052025_18_26_07_30675.jpg
MAIN: 2025-05-19 18:26:08,761 - INFO - duration: 1.895365901000332
MAIN: 2025-05-19 18:26:08,762 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/26'
MAIN: 2025-05-19 18:26:09,586 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:26:38,066 - INFO - taking picture
MAIN: 2025-05-19 18:26:38,067 - INFO - we take 1433 photos in this while loop
MAIN: 2025-05-19 18:26:38,067 - INFO - /home/pi/Desktop/images/19052025/18/26/image_19052025_18_26_37_29768.jpg
MAIN: 2025-05-19 18:26:38,068 - INFO - duration: 1.4331590549991233
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:27:08,010 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 18:27:08,475 - INFO - taking picture
MAIN: 2025-05-19 18:27:08,476 - INFO - we take 1434 photos in this while loop
MAIN: 2025-05-19 18:27:08,477 - INFO - /home/pi/Desktop/images/19052025/18/26/image_19052025_18_27_07_30371.jpg
MAIN: 2025-05-19 18:27:08,477 - INFO - duration: 1.4712786820018664
MAIN: 2025-05-19 18:27:08,478 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/27'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:27:37,646 - INFO - taking picture
MAIN: 2025-05-19 18:27:37,647 - INFO - we take 1435 photos in this while loop
MAIN: 2025-05-19 18:27:37,648 - INFO - /home/pi/Desktop/images/19052025/18/27/image_19052025_18_27_36_29216.jpg
MAIN: 2025-05-19 18:27:37,648 - INFO - duration: 1.4259644100020523
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:28:09,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 ! 
MAIN: 2025-05-19 18:28:09,472 - INFO - taking picture
MAIN: 2025-05-19 18:28:09,473 - INFO - we take 1436 photos in this while loop
MAIN: 2025-05-19 18:28:09,474 - INFO - /home/pi/Desktop/images/19052025/18/27/image_19052025_18_28_08_31553.jpg
MAIN: 2025-05-19 18:28:09,475 - INFO - duration: 1.6983816220017616
MAIN: 2025-05-19 18:28:09,476 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:28:38,799 - INFO - taking picture
MAIN: 2025-05-19 18:28:38,800 - INFO - we take 1437 photos in this while loop
MAIN: 2025-05-19 18:28:38,801 - INFO - /home/pi/Desktop/images/19052025/18/28/image_19052025_18_28_37_29573.jpg
MAIN: 2025-05-19 18:28:38,801 - INFO - duration: 1.451433567002823
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:29:08,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-05-19 18:29:09,008 - INFO - taking picture
MAIN: 2025-05-19 18:29:09,009 - INFO - we take 1438 photos in this while loop
MAIN: 2025-05-19 18:29:09,010 - INFO - /home/pi/Desktop/images/19052025/18/28/image_19052025_18_29_08_30130.jpg
MAIN: 2025-05-19 18:29:09,010 - INFO - duration: 1.5295784510017256
MAIN: 2025-05-19 18:29:09,011 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:29:38,316 - INFO - taking picture
MAIN: 2025-05-19 18:29:38,317 - INFO - we take 1439 photos in this while loop
MAIN: 2025-05-19 18:29:38,317 - INFO - /home/pi/Desktop/images/19052025/18/29/image_19052025_18_29_37_29383.jpg
MAIN: 2025-05-19 18:29:38,318 - INFO - duration: 1.4536192360028508
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:30:10,152 - INFO - taking picture
MAIN: 2025-05-19 18:30:10,153 - INFO - we take 1440 photos in this while loop
MAIN: 2025-05-19 18:30:10,153 - INFO - /home/pi/Desktop/images/19052025/18/29/image_19052025_18_30_08_31162.jpg
MAIN: 2025-05-19 18:30:10,154 - INFO - duration: 2.127137966999726
MAIN: 2025-05-19 18:30:10,155 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/30'
MAIN: 2025-05-19 18:30:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:30:38,005 - INFO - taking picture
MAIN: 2025-05-19 18:30:38,006 - INFO - we take 1441 photos in this while loop
MAIN: 2025-05-19 18:30:38,006 - INFO - /home/pi/Desktop/images/19052025/18/30/image_19052025_18_30_37_28529.jpg
MAIN: 2025-05-19 18:30:38,007 - INFO - duration: 1.4503384479976376
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:31:08,023 - INFO - taking picture
MAIN: 2025-05-19 18:31:08,024 - INFO - we take 1442 photos in this while loop
MAIN: 2025-05-19 18:31:08,024 - INFO - /home/pi/Desktop/images/19052025/18/30/image_19052025_18_31_07_29922.jpg
MAIN: 2025-05-19 18:31:08,025 - INFO - duration: 1.5462081740042777
MAIN: 2025-05-19 18:31:08,026 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/31'
MAIN: 2025-05-19 18:31:08,185 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:31:38,858 - INFO - taking picture
MAIN: 2025-05-19 18:31:38,859 - INFO - we take 1443 photos in this while loop
MAIN: 2025-05-19 18:31:38,859 - INFO - /home/pi/Desktop/images/19052025/18/31/image_19052025_18_31_38_31038.jpg
MAIN: 2025-05-19 18:31:38,860 - INFO - duration: 1.3421767859981628
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:32:08,344 - INFO - taking picture
MAIN: 2025-05-19 18:32:08,345 - INFO - we take 1444 photos in this while loop
MAIN: 2025-05-19 18:32:08,346 - INFO - /home/pi/Desktop/images/19052025/18/31/image_19052025_18_32_07_28781.jpg
MAIN: 2025-05-19 18:32:08,347 - INFO - duration: 2.04726556300011
MAIN: 2025-05-19 18:32:08,744 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/32'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:32:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:32:37,631 - INFO - taking picture
MAIN: 2025-05-19 18:32:37,633 - INFO - we take 1445 photos in this while loop
MAIN: 2025-05-19 18:32:37,633 - INFO - /home/pi/Desktop/images/19052025/18/32/image_19052025_18_32_36_29907.jpg
MAIN: 2025-05-19 18:32:37,633 - INFO - duration: 1.4266829699990922
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:33:08,318 - INFO - taking picture
MAIN: 2025-05-19 18:33:08,319 - INFO - we take 1446 photos in this while loop
MAIN: 2025-05-19 18:33:08,320 - INFO - /home/pi/Desktop/images/19052025/18/32/image_19052025_18_33_07_30414.jpg
MAIN: 2025-05-19 18:33:08,321 - INFO - duration: 1.6994771039971965
MAIN: 2025-05-19 18:33:08,322 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/33'
MAIN: 2025-05-19 18:33:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:33:37,797 - INFO - taking picture
MAIN: 2025-05-19 18:33:37,798 - INFO - we take 1447 photos in this while loop
MAIN: 2025-05-19 18:33:37,798 - INFO - /home/pi/Desktop/images/19052025/18/33/image_19052025_18_33_36_29750.jpg
MAIN: 2025-05-19 18:33:37,799 - INFO - duration: 1.4270598399962182
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:34:08,933 - INFO - taking picture
MAIN: 2025-05-19 18:34:08,934 - INFO - we take 1448 photos in this while loop
MAIN: 2025-05-19 18:34:08,935 - INFO - /home/pi/Desktop/images/19052025/18/33/image_19052025_18_34_07_30894.jpg
MAIN: 2025-05-19 18:34:08,935 - INFO - duration: 1.6694172069983324
MAIN: 2025-05-19 18:34:08,936 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/34'
MAIN: 2025-05-19 18:34:09,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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:34:38,341 - INFO - taking picture
MAIN: 2025-05-19 18:34:38,342 - INFO - we take 1449 photos in this while loop
MAIN: 2025-05-19 18:34:38,343 - INFO - /home/pi/Desktop/images/19052025/18/34/image_19052025_18_34_37_29602.jpg
MAIN: 2025-05-19 18:34:38,343 - INFO - duration: 1.4742621219993453
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:35:09,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-05-19 18:35:09,445 - INFO - taking picture
MAIN: 2025-05-19 18:35:09,447 - INFO - we take 1450 photos in this while loop
MAIN: 2025-05-19 18:35:09,448 - INFO - /home/pi/Desktop/images/19052025/18/34/image_19052025_18_35_08_30795.jpg
MAIN: 2025-05-19 18:35:09,449 - INFO - duration: 1.7839641669997945
MAIN: 2025-05-19 18:35:09,450 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/35'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:35:38,540 - INFO - taking picture
MAIN: 2025-05-19 18:35:38,541 - INFO - we take 1451 photos in this while loop
MAIN: 2025-05-19 18:35:38,542 - INFO - /home/pi/Desktop/images/19052025/18/35/image_19052025_18_35_37_29448.jpg
MAIN: 2025-05-19 18:35:38,542 - INFO - duration: 1.4285667589938384
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:36:08,237 - INFO - taking picture
MAIN: 2025-05-19 18:36:08,239 - INFO - we take 1452 photos in this while loop
MAIN: 2025-05-19 18:36:08,239 - INFO - /home/pi/Desktop/images/19052025/18/35/image_19052025_18_36_07_29167.jpg
MAIN: 2025-05-19 18:36:08,240 - INFO - duration: 1.9592897149996134
MAIN: 2025-05-19 18:36:08,745 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/36'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-05-19 18:36:09,808 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:36:37,703 - INFO - taking picture
MAIN: 2025-05-19 18:36:37,705 - INFO - we take 1453 photos in this while loop
MAIN: 2025-05-19 18:36:37,705 - INFO - /home/pi/Desktop/images/19052025/18/36/image_19052025_18_36_36_29968.jpg
MAIN: 2025-05-19 18:36:37,706 - INFO - duration: 1.456347637998988
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:37:08,096 - INFO - taking picture
MAIN: 2025-05-19 18:37:08,097 - INFO - we take 1454 photos in this while loop
MAIN: 2025-05-19 18:37:08,098 - INFO - /home/pi/Desktop/images/19052025/18/36/image_19052025_18_37_07_30113.jpg
MAIN: 2025-05-19 18:37:08,099 - INFO - duration: 1.7362890609947499
MAIN: 2025-05-19 18:37:08,100 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/37'
MAIN: 2025-05-19 18:37:08,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:37:38,750 - INFO - taking picture
MAIN: 2025-05-19 18:37:38,751 - INFO - we take 1455 photos in this while loop
MAIN: 2025-05-19 18:37:38,752 - INFO - /home/pi/Desktop/images/19052025/18/37/image_19052025_18_37_37_30961.jpg
MAIN: 2025-05-19 18:37:38,752 - INFO - duration: 1.4286899819999235
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:38:09,292 - INFO - taking picture
MAIN: 2025-05-19 18:38:09,293 - INFO - we take 1456 photos in this while loop
MAIN: 2025-05-19 18:38:09,294 - INFO - /home/pi/Desktop/images/19052025/18/37/image_19052025_18_38_08_30481.jpg
MAIN: 2025-05-19 18:38:09,294 - INFO - duration: 1.4895612230029656
MAIN: 2025-05-19 18:38:09,295 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/38'
MAIN: 2025-05-19 18:38:09,387 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:38:38,543 - INFO - taking picture
MAIN: 2025-05-19 18:38:38,544 - INFO - we take 1457 photos in this while loop
MAIN: 2025-05-19 18:38:38,544 - INFO - /home/pi/Desktop/images/19052025/18/38/image_19052025_18_38_37_29265.jpg
MAIN: 2025-05-19 18:38:38,545 - INFO - duration: 1.47398132699891
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:39:08,600 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 18:39:08,768 - INFO - taking picture
MAIN: 2025-05-19 18:39:08,770 - INFO - we take 1458 photos in this while loop
MAIN: 2025-05-19 18:39:08,770 - INFO - /home/pi/Desktop/images/19052025/18/38/image_19052025_18_39_07_30144.jpg
MAIN: 2025-05-19 18:39:08,771 - INFO - duration: 1.5553819409979042
MAIN: 2025-05-19 18:39:08,772 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/39'
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:39:37,765 - INFO - taking picture
MAIN: 2025-05-19 18:39:37,766 - INFO - we take 1459 photos in this while loop
MAIN: 2025-05-19 18:39:37,766 - INFO - /home/pi/Desktop/images/19052025/18/39/image_19052025_18_39_36_29072.jpg
MAIN: 2025-05-19 18:39:37,767 - INFO - duration: 1.4790338769962545
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:40:09,297 - INFO - taking picture
MAIN: 2025-05-19 18:40:09,299 - INFO - we take 1460 photos in this while loop
MAIN: 2025-05-19 18:40:09,300 - INFO - /home/pi/Desktop/images/19052025/18/39/image_19052025_18_40_08_30870.jpg
MAIN: 2025-05-19 18:40:09,301 - INFO - duration: 2.1433034790024976
MAIN: 2025-05-19 18:40:09,482 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/40'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:40:10,578 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:40:37,654 - INFO - taking picture
MAIN: 2025-05-19 18:40:37,655 - INFO - we take 1461 photos in this while loop
MAIN: 2025-05-19 18:40:37,656 - INFO - /home/pi/Desktop/images/19052025/18/40/image_19052025_18_40_36_29042.jpg
MAIN: 2025-05-19 18:40:37,656 - INFO - duration: 1.4552530969958752
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:41:08,288 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 18:41:08,385 - INFO - taking picture
MAIN: 2025-05-19 18:41:08,387 - INFO - we take 1462 photos in this while loop
MAIN: 2025-05-19 18:41:08,387 - INFO - /home/pi/Desktop/images/19052025/18/40/image_19052025_18_41_07_30605.jpg
MAIN: 2025-05-19 18:41:08,388 - INFO - duration: 1.5810688609999488
MAIN: 2025-05-19 18:41:08,389 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/41'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:41:38,748 - INFO - taking picture
MAIN: 2025-05-19 18:41:38,749 - INFO - we take 1463 photos in this while loop
MAIN: 2025-05-19 18:41:38,750 - INFO - /home/pi/Desktop/images/19052025/18/41/image_19052025_18_41_37_30513.jpg
MAIN: 2025-05-19 18:41:38,750 - INFO - duration: 1.4293868480017409
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:42:08,267 - INFO - taking picture
MAIN: 2025-05-19 18:42:08,268 - INFO - we take 1464 photos in this while loop
MAIN: 2025-05-19 18:42:08,269 - INFO - /home/pi/Desktop/images/19052025/18/41/image_19052025_18_42_07_28924.jpg
MAIN: 2025-05-19 18:42:08,270 - INFO - duration: 2.0248577069942257
MAIN: 2025-05-19 18:42:08,368 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/42'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:42:09,426 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:42:37,622 - INFO - taking picture
MAIN: 2025-05-19 18:42:37,623 - INFO - we take 1465 photos in this while loop
MAIN: 2025-05-19 18:42:37,623 - INFO - /home/pi/Desktop/images/19052025/18/42/image_19052025_18_42_36_29922.jpg
MAIN: 2025-05-19 18:42:37,624 - INFO - duration: 1.456531009003811
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:43:07,822 - INFO - taking picture
MAIN: 2025-05-19 18:43:07,823 - INFO - we take 1466 photos in this while loop
MAIN: 2025-05-19 18:43:07,824 - INFO - /home/pi/Desktop/images/19052025/18/42/image_19052025_18_43_06_29948.jpg
MAIN: 2025-05-19 18:43:07,825 - INFO - duration: 1.7092002979989047
MAIN: 2025-05-19 18:43:07,826 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/43'
MAIN: 2025-05-19 18:43:08,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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:43:38,639 - INFO - taking picture
MAIN: 2025-05-19 18:43:38,640 - INFO - we take 1467 photos in this while loop
MAIN: 2025-05-19 18:43:38,641 - INFO - /home/pi/Desktop/images/19052025/18/43/image_19052025_18_43_37_31097.jpg
MAIN: 2025-05-19 18:43:38,641 - INFO - duration: 1.4283291370011284
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:44:09,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 ! 
MAIN: 2025-05-19 18:44:09,501 - INFO - taking picture
MAIN: 2025-05-19 18:44:09,503 - INFO - we take 1468 photos in this while loop
MAIN: 2025-05-19 18:44:09,503 - INFO - /home/pi/Desktop/images/19052025/18/43/image_19052025_18_44_08_30636.jpg
MAIN: 2025-05-19 18:44:09,504 - INFO - duration: 1.6543749749980634
MAIN: 2025-05-19 18:44:09,505 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/44'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:44:39,009 - INFO - taking picture
MAIN: 2025-05-19 18:44:39,010 - INFO - we take 1469 photos in this while loop
MAIN: 2025-05-19 18:44:39,010 - INFO - /home/pi/Desktop/images/19052025/18/44/image_19052025_18_44_38_29695.jpg
MAIN: 2025-05-19 18:44:39,011 - INFO - duration: 1.4659690049957135
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:45:08,501 - INFO - taking picture
MAIN: 2025-05-19 18:45:08,502 - INFO - we take 1470 photos in this while loop
MAIN: 2025-05-19 18:45:08,502 - INFO - /home/pi/Desktop/images/19052025/18/44/image_19052025_18_45_07_28779.jpg
MAIN: 2025-05-19 18:45:08,503 - INFO - duration: 2.1783421840009396
MAIN: 2025-05-19 18:45:08,902 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/45'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:45:10,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:45:38,163 - INFO - taking picture
MAIN: 2025-05-19 18:45:38,164 - INFO - we take 1471 photos in this while loop
MAIN: 2025-05-19 18:45:38,165 - INFO - /home/pi/Desktop/images/19052025/18/45/image_19052025_18_45_37_30377.jpg
MAIN: 2025-05-19 18:45:38,165 - INFO - duration: 1.46282605399756
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:46:08,869 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 18:46:08,949 - INFO - taking picture
MAIN: 2025-05-19 18:46:08,951 - INFO - we take 1472 photos in this while loop
MAIN: 2025-05-19 18:46:08,952 - INFO - /home/pi/Desktop/images/19052025/18/45/image_19052025_18_46_07_30600.jpg
MAIN: 2025-05-19 18:46:08,952 - INFO - duration: 1.6492701989991474
MAIN: 2025-05-19 18:46:08,954 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/46'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:46:38,187 - INFO - taking picture
MAIN: 2025-05-19 18:46:38,188 - INFO - we take 1473 photos in this while loop
MAIN: 2025-05-19 18:46:38,188 - INFO - /home/pi/Desktop/images/19052025/18/46/image_19052025_18_46_37_29426.jpg
MAIN: 2025-05-19 18:46:38,189 - INFO - duration: 1.4591710299937404
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:47:08,495 - INFO - taking picture
MAIN: 2025-05-19 18:47:08,496 - INFO - we take 1474 photos in this while loop
MAIN: 2025-05-19 18:47:08,496 - INFO - /home/pi/Desktop/images/19052025/18/46/image_19052025_18_47_07_30238.jpg
MAIN: 2025-05-19 18:47:08,497 - INFO - duration: 1.5279460170058883
MAIN: 2025-05-19 18:47:08,498 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/47'
MAIN: 2025-05-19 18:47:08,766 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:47:37,823 - INFO - taking picture
MAIN: 2025-05-19 18:47:37,824 - INFO - we take 1475 photos in this while loop
MAIN: 2025-05-19 18:47:37,824 - INFO - /home/pi/Desktop/images/19052025/18/47/image_19052025_18_47_36_29399.jpg
MAIN: 2025-05-19 18:47:37,825 - INFO - duration: 1.4570714309957111
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:48:08,730 - INFO - taking picture
MAIN: 2025-05-19 18:48:08,731 - INFO - we take 1476 photos in this while loop
MAIN: 2025-05-19 18:48:08,732 - INFO - /home/pi/Desktop/images/19052025/18/47/image_19052025_18_48_07_30288.jpg
MAIN: 2025-05-19 18:48:08,733 - INFO - duration: 2.0760393860036856
MAIN: 2025-05-19 18:48:09,073 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/48'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:48:10,141 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:48:38,034 - INFO - taking picture
MAIN: 2025-05-19 18:48:38,035 - INFO - we take 1477 photos in this while loop
MAIN: 2025-05-19 18:48:38,035 - INFO - /home/pi/Desktop/images/19052025/18/48/image_19052025_18_48_37_29945.jpg
MAIN: 2025-05-19 18:48:38,036 - INFO - duration: 1.4340124579975964
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:49:08,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-05-19 18:49:08,531 - INFO - taking picture
MAIN: 2025-05-19 18:49:08,532 - INFO - we take 1478 photos in this while loop
MAIN: 2025-05-19 18:49:08,533 - INFO - /home/pi/Desktop/images/19052025/18/48/image_19052025_18_49_07_30386.jpg
MAIN: 2025-05-19 18:49:08,533 - INFO - duration: 1.5447814690051018
MAIN: 2025-05-19 18:49:08,535 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/49'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:49:37,682 - INFO - taking picture
MAIN: 2025-05-19 18:49:37,683 - INFO - we take 1479 photos in this while loop
MAIN: 2025-05-19 18:49:37,683 - INFO - /home/pi/Desktop/images/19052025/18/49/image_19052025_18_49_36_29376.jpg
MAIN: 2025-05-19 18:49:37,684 - INFO - duration: 1.318836808000924
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:50:09,254 - INFO - taking picture
MAIN: 2025-05-19 18:50:09,256 - INFO - we take 1480 photos in this while loop
MAIN: 2025-05-19 18:50:09,256 - INFO - /home/pi/Desktop/images/19052025/18/49/image_19052025_18_50_07_30209.jpg
MAIN: 2025-05-19 18:50:09,257 - INFO - duration: 2.682591027994931
MAIN: 2025-05-19 18:50:09,258 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/50'
MAIN: 2025-05-19 18:50:10,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:50:38,437 - INFO - taking picture
MAIN: 2025-05-19 18:50:38,438 - INFO - we take 1481 photos in this while loop
MAIN: 2025-05-19 18:50:38,438 - INFO - /home/pi/Desktop/images/19052025/18/50/image_19052025_18_50_37_30544.jpg
MAIN: 2025-05-19 18:50:38,439 - INFO - duration: 1.319364213006338
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:51:08,700 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 18:51:08,779 - INFO - taking picture
MAIN: 2025-05-19 18:51:08,780 - INFO - we take 1482 photos in this while loop
MAIN: 2025-05-19 18:51:08,781 - INFO - /home/pi/Desktop/images/19052025/18/50/image_19052025_18_51_07_30127.jpg
MAIN: 2025-05-19 18:51:08,781 - INFO - duration: 1.5334420430008322
MAIN: 2025-05-19 18:51:08,782 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/51'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:51:37,703 - INFO - taking picture
MAIN: 2025-05-19 18:51:37,705 - INFO - we take 1483 photos in this while loop
MAIN: 2025-05-19 18:51:37,705 - INFO - /home/pi/Desktop/images/19052025/18/51/image_19052025_18_51_36_29163.jpg
MAIN: 2025-05-19 18:51:37,705 - INFO - duration: 1.2949037020007381
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:52:08,648 - INFO - taking picture
MAIN: 2025-05-19 18:52:08,649 - INFO - we take 1484 photos in this while loop
MAIN: 2025-05-19 18:52:08,650 - INFO - /home/pi/Desktop/images/19052025/18/51/image_19052025_18_52_07_30111.jpg
MAIN: 2025-05-19 18:52:08,651 - INFO - duration: 2.1289033420034684
MAIN: 2025-05-19 18:52:09,572 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/52'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:52:10,622 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:52:37,891 - INFO - taking picture
MAIN: 2025-05-19 18:52:37,892 - INFO - we take 1485 photos in this while loop
MAIN: 2025-05-19 18:52:37,893 - INFO - /home/pi/Desktop/images/19052025/18/52/image_19052025_18_52_37_29943.jpg
MAIN: 2025-05-19 18:52:37,893 - INFO - duration: 1.4280678020004416
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:53:08,140 - INFO - taking picture
MAIN: 2025-05-19 18:53:08,141 - INFO - we take 1486 photos in this while loop
MAIN: 2025-05-19 18:53:08,142 - INFO - /home/pi/Desktop/images/19052025/18/52/image_19052025_18_53_07_30145.jpg
MAIN: 2025-05-19 18:53:08,142 - INFO - duration: 1.5311918089937535
MAIN: 2025-05-19 18:53:08,143 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/53'
MAIN: 2025-05-19 18:53:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:53:38,789 - INFO - taking picture
MAIN: 2025-05-19 18:53:38,790 - INFO - we take 1487 photos in this while loop
MAIN: 2025-05-19 18:53:38,791 - INFO - /home/pi/Desktop/images/19052025/18/53/image_19052025_18_53_37_30752.jpg
MAIN: 2025-05-19 18:53:38,791 - INFO - duration: 1.427820894998149
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:54:08,509 - INFO - taking picture
MAIN: 2025-05-19 18:54:08,510 - INFO - we take 1488 photos in this while loop
MAIN: 2025-05-19 18:54:08,511 - INFO - /home/pi/Desktop/images/19052025/18/53/image_19052025_18_54_07_29161.jpg
MAIN: 2025-05-19 18:54:08,511 - INFO - duration: 1.986446563001664
MAIN: 2025-05-19 18:54:09,149 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/54'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:54:10,200 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:54:37,680 - INFO - taking picture
MAIN: 2025-05-19 18:54:37,681 - INFO - we take 1489 photos in this while loop
MAIN: 2025-05-19 18:54:37,682 - INFO - /home/pi/Desktop/images/19052025/18/54/image_19052025_18_54_36_29832.jpg
MAIN: 2025-05-19 18:54:37,682 - INFO - duration: 1.3248815330007346
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:55:08,971 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 18:55:08,988 - INFO - taking picture
MAIN: 2025-05-19 18:55:08,990 - INFO - we take 1490 photos in this while loop
MAIN: 2025-05-19 18:55:08,991 - INFO - /home/pi/Desktop/images/19052025/18/54/image_19052025_18_55_07_30565.jpg
MAIN: 2025-05-19 18:55:08,992 - INFO - duration: 2.0686550739992526
MAIN: 2025-05-19 18:55:08,993 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/55'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:55:38,194 - INFO - taking picture
MAIN: 2025-05-19 18:55:38,195 - INFO - we take 1491 photos in this while loop
MAIN: 2025-05-19 18:55:38,196 - INFO - /home/pi/Desktop/images/19052025/18/55/image_19052025_18_55_37_29845.jpg
MAIN: 2025-05-19 18:55:38,196 - INFO - duration: 1.427740110004379
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:56:09,279 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 18:56:09,499 - INFO - taking picture
MAIN: 2025-05-19 18:56:09,500 - INFO - we take 1492 photos in this while loop
MAIN: 2025-05-19 18:56:09,501 - INFO - /home/pi/Desktop/images/19052025/18/55/image_19052025_18_56_08_30737.jpg
MAIN: 2025-05-19 18:56:09,501 - INFO - duration: 1.995400398998754
MAIN: 2025-05-19 18:56:09,502 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/56'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:56:38,707 - INFO - taking picture
MAIN: 2025-05-19 18:56:38,708 - INFO - we take 1493 photos in this while loop
MAIN: 2025-05-19 18:56:38,708 - INFO - /home/pi/Desktop/images/19052025/18/56/image_19052025_18_56_37_29731.jpg
MAIN: 2025-05-19 18:56:38,709 - INFO - duration: 1.471313943999121
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:57:08,141 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 18:57:09,008 - INFO - taking picture
MAIN: 2025-05-19 18:57:09,010 - INFO - we take 1494 photos in this while loop
MAIN: 2025-05-19 18:57:09,010 - INFO - /home/pi/Desktop/images/19052025/18/56/image_19052025_18_57_08_30278.jpg
MAIN: 2025-05-19 18:57:09,010 - INFO - duration: 1.494270757000777
MAIN: 2025-05-19 18:57:09,011 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/57'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:57:38,181 - INFO - taking picture
MAIN: 2025-05-19 18:57:38,182 - INFO - we take 1495 photos in this while loop
MAIN: 2025-05-19 18:57:38,182 - INFO - /home/pi/Desktop/images/19052025/18/57/image_19052025_18_57_37_29335.jpg
MAIN: 2025-05-19 18:57:38,183 - INFO - duration: 1.3307613650031271
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 18:58:09,309 - INFO - taking picture
MAIN: 2025-05-19 18:58:09,310 - INFO - we take 1496 photos in this while loop
MAIN: 2025-05-19 18:58:09,310 - INFO - /home/pi/Desktop/images/19052025/18/57/image_19052025_18_58_08_30869.jpg
MAIN: 2025-05-19 18:58:09,310 - INFO - duration: 1.5891607419980573
MAIN: 2025-05-19 18:58:09,311 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/58'
MAIN: 2025-05-19 18:58:10,045 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:58:38,661 - INFO - taking picture
MAIN: 2025-05-19 18:58:38,662 - INFO - we take 1497 photos in this while loop
MAIN: 2025-05-19 18:58:38,662 - INFO - /home/pi/Desktop/images/19052025/18/58/image_19052025_18_58_37_29482.jpg
MAIN: 2025-05-19 18:58:38,663 - INFO - duration: 1.4585563520013238
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:59:08,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-05-19 18:59:08,672 - INFO - taking picture
MAIN: 2025-05-19 18:59:08,673 - INFO - we take 1498 photos in this while loop
MAIN: 2025-05-19 18:59:08,674 - INFO - /home/pi/Desktop/images/19052025/18/58/image_19052025_18_59_07_29974.jpg
MAIN: 2025-05-19 18:59:08,674 - INFO - duration: 1.4959296269953484
MAIN: 2025-05-19 18:59:08,675 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/18/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 18:59:37,633 - INFO - taking picture
MAIN: 2025-05-19 18:59:37,634 - INFO - we take 1499 photos in this while loop
MAIN: 2025-05-19 18:59:37,635 - INFO - /home/pi/Desktop/images/19052025/18/59/image_19052025_18_59_36_29215.jpg
MAIN: 2025-05-19 18:59:37,635 - INFO - duration: 1.2412332579988288
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:00:09,534 - INFO - taking picture
MAIN: 2025-05-19 19:00:09,536 - INFO - we take 1500 photos in this while loop
MAIN: 2025-05-19 19:00:09,537 - INFO - /home/pi/Desktop/images/19052025/18/59/image_19052025_19_00_08_30711.jpg
MAIN: 2025-05-19 19:00:09,538 - INFO - duration: 2.43244431399944
MAIN: 2025-05-19 19:00:09,722 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/00'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:00:10,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:00:37,863 - INFO - taking picture
MAIN: 2025-05-19 19:00:37,865 - INFO - we take 1501 photos in this while loop
MAIN: 2025-05-19 19:00:37,865 - INFO - /home/pi/Desktop/images/19052025/19/00/image_19052025_19_00_36_29304.jpg
MAIN: 2025-05-19 19:00:37,865 - INFO - duration: 1.4556788739937474
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:01:09,095 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 19:01:09,276 - INFO - taking picture
MAIN: 2025-05-19 19:01:09,277 - INFO - we take 1502 photos in this while loop
MAIN: 2025-05-19 19:01:09,278 - INFO - /home/pi/Desktop/images/19052025/19/00/image_19052025_19_01_08_31349.jpg
MAIN: 2025-05-19 19:01:09,278 - INFO - duration: 1.5185472530065454
MAIN: 2025-05-19 19:01:09,279 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/01'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:01:38,470 - INFO - taking picture
MAIN: 2025-05-19 19:01:38,471 - INFO - we take 1503 photos in this while loop
MAIN: 2025-05-19 19:01:38,472 - INFO - /home/pi/Desktop/images/19052025/19/01/image_19052025_19_01_37_29261.jpg
MAIN: 2025-05-19 19:01:38,472 - INFO - duration: 1.4513838610000676
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:02:08,445 - INFO - taking picture
MAIN: 2025-05-19 19:02:08,446 - INFO - we take 1504 photos in this while loop
MAIN: 2025-05-19 19:02:08,447 - INFO - /home/pi/Desktop/images/19052025/19/01/image_19052025_19_02_07_29203.jpg
MAIN: 2025-05-19 19:02:08,447 - INFO - duration: 2.22309640700405
MAIN: 2025-05-19 19:02:09,111 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/02'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:02:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:02:38,031 - INFO - taking picture
MAIN: 2025-05-19 19:02:38,032 - INFO - we take 1505 photos in this while loop
MAIN: 2025-05-19 19:02:38,033 - INFO - /home/pi/Desktop/images/19052025/19/02/image_19052025_19_02_37_30380.jpg
MAIN: 2025-05-19 19:02:38,033 - INFO - duration: 1.4286893179960316
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:03:08,113 - INFO - taking picture
MAIN: 2025-05-19 19:03:08,114 - INFO - we take 1506 photos in this while loop
MAIN: 2025-05-19 19:03:08,114 - INFO - /home/pi/Desktop/images/19052025/19/02/image_19052025_19_03_07_29821.jpg
MAIN: 2025-05-19 19:03:08,115 - INFO - duration: 1.688818946997344
MAIN: 2025-05-19 19:03:08,116 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/03'
MAIN: 2025-05-19 19:03:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:03:38,761 - INFO - taking picture
MAIN: 2025-05-19 19:03:38,762 - INFO - we take 1507 photos in this while loop
MAIN: 2025-05-19 19:03:38,762 - INFO - /home/pi/Desktop/images/19052025/19/03/image_19052025_19_03_37_30908.jpg
MAIN: 2025-05-19 19:03:38,762 - INFO - duration: 1.4278283699968597
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:04:09,289 - INFO - taking picture
MAIN: 2025-05-19 19:04:09,290 - INFO - we take 1508 photos in this while loop
MAIN: 2025-05-19 19:04:09,291 - INFO - /home/pi/Desktop/images/19052025/19/03/image_19052025_19_04_08_30373.jpg
MAIN: 2025-05-19 19:04:09,291 - INFO - duration: 1.5828997179996804
MAIN: 2025-05-19 19:04:09,292 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/04'
MAIN: 2025-05-19 19:04:09,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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:04:38,443 - INFO - taking picture
MAIN: 2025-05-19 19:04:38,444 - INFO - we take 1509 photos in this while loop
MAIN: 2025-05-19 19:04:38,445 - INFO - /home/pi/Desktop/images/19052025/19/04/image_19052025_19_04_37_29401.jpg
MAIN: 2025-05-19 19:04:38,445 - INFO - duration: 1.3351702380023198
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:05:09,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 ! 
MAIN: 2025-05-19 19:05:09,753 - INFO - taking picture
MAIN: 2025-05-19 19:05:09,754 - INFO - we take 1510 photos in this while loop
MAIN: 2025-05-19 19:05:09,755 - INFO - /home/pi/Desktop/images/19052025/19/04/image_19052025_19_05_08_30655.jpg
MAIN: 2025-05-19 19:05:09,756 - INFO - duration: 1.9897237109980779
MAIN: 2025-05-19 19:05:09,757 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/05'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:05:37,545 - INFO - taking picture
MAIN: 2025-05-19 19:05:37,547 - INFO - we take 1511 photos in this while loop
MAIN: 2025-05-19 19:05:37,547 - INFO - /home/pi/Desktop/images/19052025/19/05/image_19052025_19_05_36_28353.jpg
MAIN: 2025-05-19 19:05:37,547 - INFO - duration: 1.4284348639994278
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:06:08,425 - INFO - taking picture
MAIN: 2025-05-19 19:06:08,426 - INFO - we take 1512 photos in this while loop
MAIN: 2025-05-19 19:06:08,427 - INFO - /home/pi/Desktop/images/19052025/19/05/image_19052025_19_06_07_30335.jpg
MAIN: 2025-05-19 19:06:08,428 - INFO - duration: 1.9728906800010009
MAIN: 2025-05-19 19:06:08,429 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/06'
MAIN: 2025-05-19 19:06:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:06:38,768 - INFO - taking picture
MAIN: 2025-05-19 19:06:38,769 - INFO - we take 1513 photos in this while loop
MAIN: 2025-05-19 19:06:38,769 - INFO - /home/pi/Desktop/images/19052025/19/06/image_19052025_19_06_38_31021.jpg
MAIN: 2025-05-19 19:06:38,769 - INFO - duration: 1.2934829860023456
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:07:08,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 ! 
MAIN: 2025-05-19 19:07:08,777 - INFO - taking picture
MAIN: 2025-05-19 19:07:08,779 - INFO - we take 1514 photos in this while loop
MAIN: 2025-05-19 19:07:08,779 - INFO - /home/pi/Desktop/images/19052025/19/06/image_19052025_19_07_07_29787.jpg
MAIN: 2025-05-19 19:07:08,779 - INFO - duration: 1.5157869870017748
MAIN: 2025-05-19 19:07:08,780 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:07:37,858 - INFO - taking picture
MAIN: 2025-05-19 19:07:37,859 - INFO - we take 1515 photos in this while loop
MAIN: 2025-05-19 19:07:37,859 - INFO - /home/pi/Desktop/images/19052025/19/07/image_19052025_19_07_36_29175.jpg
MAIN: 2025-05-19 19:07:37,860 - INFO - duration: 1.420131257000321
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:08:08,622 - INFO - taking picture
MAIN: 2025-05-19 19:08:08,623 - INFO - we take 1516 photos in this while loop
MAIN: 2025-05-19 19:08:08,624 - INFO - /home/pi/Desktop/images/19052025/19/07/image_19052025_19_08_07_30055.jpg
MAIN: 2025-05-19 19:08:08,625 - INFO - duration: 2.129722272999061
MAIN: 2025-05-19 19:08:09,220 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/08'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:08:10,271 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:08:37,812 - INFO - taking picture
MAIN: 2025-05-19 19:08:37,813 - INFO - we take 1517 photos in this while loop
MAIN: 2025-05-19 19:08:37,814 - INFO - /home/pi/Desktop/images/19052025/19/08/image_19052025_19_08_36_29891.jpg
MAIN: 2025-05-19 19:08:37,814 - INFO - duration: 1.4273063040018314
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:09:07,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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:09:09,060 - INFO - taking picture
MAIN: 2025-05-19 19:09:09,061 - INFO - we take 1518 photos in this while loop
MAIN: 2025-05-19 19:09:09,061 - INFO - /home/pi/Desktop/images/19052025/19/08/image_19052025_19_09_08_31212.jpg
MAIN: 2025-05-19 19:09:09,062 - INFO - duration: 1.4621482270013075
MAIN: 2025-05-19 19:09:09,062 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:09:38,477 - INFO - taking picture
MAIN: 2025-05-19 19:09:38,478 - INFO - we take 1519 photos in this while loop
MAIN: 2025-05-19 19:09:38,478 - INFO - /home/pi/Desktop/images/19052025/19/09/image_19052025_19_09_37_29549.jpg
MAIN: 2025-05-19 19:09:38,479 - INFO - duration: 1.3301101050019497
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:10:09,191 - INFO - taking picture
MAIN: 2025-05-19 19:10:09,193 - INFO - we take 1520 photos in this while loop
MAIN: 2025-05-19 19:10:09,193 - INFO - /home/pi/Desktop/images/19052025/19/09/image_19052025_19_10_07_29220.jpg
MAIN: 2025-05-19 19:10:09,194 - INFO - duration: 2.8244382709963247
MAIN: 2025-05-19 19:10:09,887 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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-05-19 19:10:10,955 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:10:38,682 - INFO - taking picture
MAIN: 2025-05-19 19:10:38,683 - INFO - we take 1521 photos in this while loop
MAIN: 2025-05-19 19:10:38,683 - INFO - /home/pi/Desktop/images/19052025/19/10/image_19052025_19_10_37_30994.jpg
MAIN: 2025-05-19 19:10:38,684 - INFO - duration: 1.319239007003489
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:11:08,820 - INFO - taking picture
MAIN: 2025-05-19 19:11:08,821 - INFO - we take 1522 photos in this while loop
MAIN: 2025-05-19 19:11:08,821 - INFO - /home/pi/Desktop/images/19052025/19/10/image_19052025_19_11_07_29983.jpg
MAIN: 2025-05-19 19:11:08,822 - INFO - duration: 1.4733413939975435
MAIN: 2025-05-19 19:11:08,823 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/11'
MAIN: 2025-05-19 19:11:08,937 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:11:38,007 - INFO - taking picture
MAIN: 2025-05-19 19:11:38,008 - INFO - we take 1523 photos in this while loop
MAIN: 2025-05-19 19:11:38,008 - INFO - /home/pi/Desktop/images/19052025/19/11/image_19052025_19_11_37_29320.jpg
MAIN: 2025-05-19 19:11:38,009 - INFO - duration: 1.3398220750023029
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:12:08,760 - INFO - taking picture
MAIN: 2025-05-19 19:12:08,762 - INFO - we take 1524 photos in this while loop
MAIN: 2025-05-19 19:12:08,763 - INFO - /home/pi/Desktop/images/19052025/19/11/image_19052025_19_12_07_30192.jpg
MAIN: 2025-05-19 19:12:08,764 - INFO - duration: 1.903111995998188
MAIN: 2025-05-19 19:12:09,220 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/12'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-05-19 19:12:10,285 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:12:38,239 - INFO - taking picture
MAIN: 2025-05-19 19:12:38,240 - INFO - we take 1525 photos in this while loop
MAIN: 2025-05-19 19:12:38,241 - INFO - /home/pi/Desktop/images/19052025/19/12/image_19052025_19_12_37_29993.jpg
MAIN: 2025-05-19 19:12:38,241 - INFO - duration: 1.3866116529970895
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:13:08,531 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 19:13:08,577 - INFO - taking picture
MAIN: 2025-05-19 19:13:08,578 - INFO - we take 1526 photos in this while loop
MAIN: 2025-05-19 19:13:08,579 - INFO - /home/pi/Desktop/images/19052025/19/12/image_19052025_19_13_07_30144.jpg
MAIN: 2025-05-19 19:13:08,579 - INFO - duration: 1.580055236001499
MAIN: 2025-05-19 19:13:08,580 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/13'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:13:37,816 - INFO - taking picture
MAIN: 2025-05-19 19:13:37,817 - INFO - we take 1527 photos in this while loop
MAIN: 2025-05-19 19:13:37,818 - INFO - /home/pi/Desktop/images/19052025/19/13/image_19052025_19_13_36_29466.jpg
MAIN: 2025-05-19 19:13:37,818 - INFO - duration: 1.3518604540004162
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:14:08,828 - INFO - taking picture
MAIN: 2025-05-19 19:14:08,829 - INFO - we take 1528 photos in this while loop
MAIN: 2025-05-19 19:14:08,830 - INFO - /home/pi/Desktop/images/19052025/19/13/image_19052025_19_14_07_30550.jpg
MAIN: 2025-05-19 19:14:08,830 - INFO - duration: 1.8137138660022174
MAIN: 2025-05-19 19:14:08,831 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/14'
MAIN: 2025-05-19 19:14:09,828 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:14:38,026 - INFO - taking picture
MAIN: 2025-05-19 19:14:38,027 - INFO - we take 1529 photos in this while loop
MAIN: 2025-05-19 19:14:38,028 - INFO - /home/pi/Desktop/images/19052025/19/14/image_19052025_19_14_37_29569.jpg
MAIN: 2025-05-19 19:14:38,028 - INFO - duration: 1.4419636239981628
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:15:09,093 - INFO - taking picture
MAIN: 2025-05-19 19:15:09,105 - INFO - we take 1530 photos in this while loop
MAIN: 2025-05-19 19:15:09,106 - INFO - /home/pi/Desktop/images/19052025/19/14/image_19052025_19_15_07_30278.jpg
MAIN: 2025-05-19 19:15:09,107 - INFO - duration: 2.242808424998657
MAIN: 2025-05-19 19:15:09,110 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/15'
MAIN: 2025-05-19 19:15:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:15:38,279 - INFO - taking picture
MAIN: 2025-05-19 19:15:38,280 - INFO - we take 1531 photos in this while loop
MAIN: 2025-05-19 19:15:38,281 - INFO - /home/pi/Desktop/images/19052025/19/15/image_19052025_19_15_37_29962.jpg
MAIN: 2025-05-19 19:15:38,281 - INFO - duration: 1.4543416930027888
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:16:08,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 ! 
MAIN: 2025-05-19 19:16:08,952 - INFO - taking picture
MAIN: 2025-05-19 19:16:08,953 - INFO - we take 1532 photos in this while loop
MAIN: 2025-05-19 19:16:08,954 - INFO - /home/pi/Desktop/images/19052025/19/15/image_19052025_19_16_08_30248.jpg
MAIN: 2025-05-19 19:16:08,954 - INFO - duration: 1.8782305229979102
MAIN: 2025-05-19 19:16:08,955 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/16'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:16:38,166 - INFO - taking picture
MAIN: 2025-05-19 19:16:38,167 - INFO - we take 1533 photos in this while loop
MAIN: 2025-05-19 19:16:38,167 - INFO - /home/pi/Desktop/images/19052025/19/16/image_19052025_19_16_37_29595.jpg
MAIN: 2025-05-19 19:16:38,168 - INFO - duration: 1.495941376000701
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:17:08,131 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 19:17:08,460 - INFO - taking picture
MAIN: 2025-05-19 19:17:08,461 - INFO - we take 1534 photos in this while loop
MAIN: 2025-05-19 19:17:08,462 - INFO - /home/pi/Desktop/images/19052025/19/16/image_19052025_19_17_07_30168.jpg
MAIN: 2025-05-19 19:17:08,462 - INFO - duration: 1.6216964720006217
MAIN: 2025-05-19 19:17:08,463 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:17:37,787 - INFO - taking picture
MAIN: 2025-05-19 19:17:37,788 - INFO - we take 1535 photos in this while loop
MAIN: 2025-05-19 19:17:37,789 - INFO - /home/pi/Desktop/images/19052025/19/17/image_19052025_19_17_36_29496.jpg
MAIN: 2025-05-19 19:17:37,789 - INFO - duration: 1.4518323660013266
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:18:08,690 - INFO - taking picture
MAIN: 2025-05-19 19:18:08,692 - INFO - we take 1536 photos in this while loop
MAIN: 2025-05-19 19:18:08,693 - INFO - /home/pi/Desktop/images/19052025/19/17/image_19052025_19_18_07_30231.jpg
MAIN: 2025-05-19 19:18:08,693 - INFO - duration: 2.1250117300005513
MAIN: 2025-05-19 19:18:08,695 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/18'
MAIN: 2025-05-19 19:18:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:18:38,151 - INFO - taking picture
MAIN: 2025-05-19 19:18:38,152 - INFO - we take 1537 photos in this while loop
MAIN: 2025-05-19 19:18:38,153 - INFO - /home/pi/Desktop/images/19052025/19/18/image_19052025_19_18_37_30095.jpg
MAIN: 2025-05-19 19:18:38,153 - INFO - duration: 1.4894770159953623
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:19:08,617 - INFO - taking picture
MAIN: 2025-05-19 19:19:08,618 - INFO - we take 1538 photos in this while loop
MAIN: 2025-05-19 19:19:08,619 - INFO - /home/pi/Desktop/images/19052025/19/18/image_19052025_19_19_07_30172.jpg
MAIN: 2025-05-19 19:19:08,619 - INFO - duration: 1.7832878720000735
MAIN: 2025-05-19 19:19:08,620 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/19'
MAIN: 2025-05-19 19:19:08,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:19:38,093 - INFO - taking picture
MAIN: 2025-05-19 19:19:38,095 - INFO - we take 1539 photos in this while loop
MAIN: 2025-05-19 19:19:38,095 - INFO - /home/pi/Desktop/images/19052025/19/19/image_19052025_19_19_37_29770.jpg
MAIN: 2025-05-19 19:19:38,095 - INFO - duration: 1.488777544000186
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:20:09,810 - INFO - taking picture
MAIN: 2025-05-19 19:20:09,811 - INFO - we take 1540 photos in this while loop
MAIN: 2025-05-19 19:20:09,812 - INFO - /home/pi/Desktop/images/19052025/19/19/image_19052025_19_20_08_30862.jpg
MAIN: 2025-05-19 19:20:09,812 - INFO - duration: 2.3430425579936127
MAIN: 2025-05-19 19:20:09,814 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/20'
MAIN: 2025-05-19 19:20:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:20:37,705 - INFO - taking picture
MAIN: 2025-05-19 19:20:37,706 - INFO - we take 1541 photos in this while loop
MAIN: 2025-05-19 19:20:37,706 - INFO - /home/pi/Desktop/images/19052025/19/20/image_19052025_19_20_36_28744.jpg
MAIN: 2025-05-19 19:20:37,707 - INFO - duration: 1.4931922889954876
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:21:08,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-05-19 19:21:09,151 - INFO - taking picture
MAIN: 2025-05-19 19:21:09,152 - INFO - we take 1542 photos in this while loop
MAIN: 2025-05-19 19:21:09,153 - INFO - /home/pi/Desktop/images/19052025/19/20/image_19052025_19_21_08_31475.jpg
MAIN: 2025-05-19 19:21:09,153 - INFO - duration: 1.4636471899939352
MAIN: 2025-05-19 19:21:09,154 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:21:38,420 - INFO - taking picture
MAIN: 2025-05-19 19:21:38,421 - INFO - we take 1543 photos in this while loop
MAIN: 2025-05-19 19:21:38,422 - INFO - /home/pi/Desktop/images/19052025/19/21/image_19052025_19_21_37_29308.jpg
MAIN: 2025-05-19 19:21:38,422 - INFO - duration: 1.4246626139938598
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:22:08,788 - INFO - taking picture
MAIN: 2025-05-19 19:22:08,790 - INFO - we take 1544 photos in this while loop
MAIN: 2025-05-19 19:22:08,790 - INFO - /home/pi/Desktop/images/19052025/19/21/image_19052025_19_22_07_29984.jpg
MAIN: 2025-05-19 19:22:08,791 - INFO - duration: 1.8082694000040647
MAIN: 2025-05-19 19:22:08,792 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/22'
MAIN: 2025-05-19 19:22:09,171 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:22:37,941 - INFO - taking picture
MAIN: 2025-05-19 19:22:37,942 - INFO - we take 1545 photos in this while loop
MAIN: 2025-05-19 19:22:37,943 - INFO - /home/pi/Desktop/images/19052025/19/22/image_19052025_19_22_37_29529.jpg
MAIN: 2025-05-19 19:22:37,943 - INFO - duration: 1.4311959509941516
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:23:08,157 - INFO - taking picture
MAIN: 2025-05-19 19:23:08,158 - INFO - we take 1546 photos in this while loop
MAIN: 2025-05-19 19:23:08,159 - INFO - /home/pi/Desktop/images/19052025/19/22/image_19052025_19_23_07_29872.jpg
MAIN: 2025-05-19 19:23:08,160 - INFO - duration: 1.7751752420008415
MAIN: 2025-05-19 19:23:08,161 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/23'
MAIN: 2025-05-19 19:23:08,603 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:23:37,648 - INFO - taking picture
MAIN: 2025-05-19 19:23:37,649 - INFO - we take 1547 photos in this while loop
MAIN: 2025-05-19 19:23:37,649 - INFO - /home/pi/Desktop/images/19052025/19/23/image_19052025_19_23_36_29829.jpg
MAIN: 2025-05-19 19:23:37,649 - INFO - duration: 1.4352774119979586
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:24:08,711 - INFO - taking picture
MAIN: 2025-05-19 19:24:08,712 - INFO - we take 1548 photos in this while loop
MAIN: 2025-05-19 19:24:08,713 - INFO - /home/pi/Desktop/images/19052025/19/23/image_19052025_19_24_07_30142.jpg
MAIN: 2025-05-19 19:24:08,714 - INFO - duration: 2.3565786280014436
MAIN: 2025-05-19 19:24:09,121 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/24'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:24:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:24:37,823 - INFO - taking picture
MAIN: 2025-05-19 19:24:37,824 - INFO - we take 1549 photos in this while loop
MAIN: 2025-05-19 19:24:37,824 - INFO - /home/pi/Desktop/images/19052025/19/24/image_19052025_19_24_36_30042.jpg
MAIN: 2025-05-19 19:24:37,825 - INFO - duration: 1.4252431459972286
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:25:08,836 - INFO - taking picture
MAIN: 2025-05-19 19:25:08,838 - INFO - we take 1550 photos in this while loop
MAIN: 2025-05-19 19:25:08,838 - INFO - /home/pi/Desktop/images/19052025/19/24/image_19052025_19_25_07_29935.jpg
MAIN: 2025-05-19 19:25:08,839 - INFO - duration: 2.503610807005316
MAIN: 2025-05-19 19:25:08,840 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/25'
MAIN: 2025-05-19 19:25:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:25:38,332 - INFO - taking picture
MAIN: 2025-05-19 19:25:38,333 - INFO - we take 1551 photos in this while loop
MAIN: 2025-05-19 19:25:38,333 - INFO - /home/pi/Desktop/images/19052025/19/25/image_19052025_19_25_37_30538.jpg
MAIN: 2025-05-19 19:25:38,334 - INFO - duration: 1.460107936996792
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:26:09,299 - INFO - taking picture
MAIN: 2025-05-19 19:26:09,300 - INFO - we take 1552 photos in this while loop
MAIN: 2025-05-19 19:26:09,301 - INFO - /home/pi/Desktop/images/19052025/19/25/image_19052025_19_26_08_30706.jpg
MAIN: 2025-05-19 19:26:09,301 - INFO - duration: 1.7210993219996453
MAIN: 2025-05-19 19:26:09,302 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/26'
MAIN: 2025-05-19 19:26:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:26:38,646 - INFO - taking picture
MAIN: 2025-05-19 19:26:38,647 - INFO - we take 1553 photos in this while loop
MAIN: 2025-05-19 19:26:38,647 - INFO - /home/pi/Desktop/images/19052025/19/26/image_19052025_19_26_37_29642.jpg
MAIN: 2025-05-19 19:26:38,648 - INFO - duration: 1.4246360160032054
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:27:08,715 - INFO - taking picture
MAIN: 2025-05-19 19:27:08,716 - INFO - we take 1554 photos in this while loop
MAIN: 2025-05-19 19:27:08,717 - INFO - /home/pi/Desktop/images/19052025/19/26/image_19052025_19_27_07_29761.jpg
MAIN: 2025-05-19 19:27:08,717 - INFO - duration: 1.732630678001442
MAIN: 2025-05-19 19:27:08,718 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/27'
MAIN: 2025-05-19 19:27:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:27:38,235 - INFO - taking picture
MAIN: 2025-05-19 19:27:38,236 - INFO - we take 1555 photos in this while loop
MAIN: 2025-05-19 19:27:38,236 - INFO - /home/pi/Desktop/images/19052025/19/27/image_19052025_19_27_37_29797.jpg
MAIN: 2025-05-19 19:27:38,237 - INFO - duration: 1.4542676829951233
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:28:09,160 - INFO - taking picture
MAIN: 2025-05-19 19:28:09,162 - INFO - we take 1556 photos in this while loop
MAIN: 2025-05-19 19:28:09,162 - INFO - /home/pi/Desktop/images/19052025/19/27/image_19052025_19_28_08_30705.jpg
MAIN: 2025-05-19 19:28:09,163 - INFO - duration: 1.6753051129999221
MAIN: 2025-05-19 19:28:09,164 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/28'
MAIN: 2025-05-19 19:28:09,210 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:28:38,190 - INFO - taking picture
MAIN: 2025-05-19 19:28:38,191 - INFO - we take 1557 photos in this while loop
MAIN: 2025-05-19 19:28:38,191 - INFO - /home/pi/Desktop/images/19052025/19/28/image_19052025_19_28_37_29278.jpg
MAIN: 2025-05-19 19:28:38,192 - INFO - duration: 1.4251187820045743
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:29:08,428 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 19:29:08,493 - INFO - taking picture
MAIN: 2025-05-19 19:29:08,495 - INFO - we take 1558 photos in this while loop
MAIN: 2025-05-19 19:29:08,495 - INFO - /home/pi/Desktop/images/19052025/19/28/image_19052025_19_29_07_30194.jpg
MAIN: 2025-05-19 19:29:08,496 - INFO - duration: 1.5343831490026787
MAIN: 2025-05-19 19:29:08,497 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/29'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:29:37,662 - INFO - taking picture
MAIN: 2025-05-19 19:29:37,663 - INFO - we take 1559 photos in this while loop
MAIN: 2025-05-19 19:29:37,663 - INFO - /home/pi/Desktop/images/19052025/19/29/image_19052025_19_29_36_29249.jpg
MAIN: 2025-05-19 19:29:37,664 - INFO - duration: 1.4530299789985293
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:30:09,485 - INFO - taking picture
MAIN: 2025-05-19 19:30:09,487 - INFO - we take 1560 photos in this while loop
MAIN: 2025-05-19 19:30:09,488 - INFO - /home/pi/Desktop/images/19052025/19/29/image_19052025_19_30_07_30586.jpg
MAIN: 2025-05-19 19:30:09,489 - INFO - duration: 2.6910190929993405
MAIN: 2025-05-19 19:30:09,768 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/30'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:30:10,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:30:38,992 - INFO - taking picture
MAIN: 2025-05-19 19:30:38,993 - INFO - we take 1561 photos in this while loop
MAIN: 2025-05-19 19:30:38,994 - INFO - /home/pi/Desktop/images/19052025/19/30/image_19052025_19_30_38_30747.jpg
MAIN: 2025-05-19 19:30:38,995 - INFO - duration: 1.4492474290018436
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:31:07,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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:31:08,999 - INFO - taking picture
MAIN: 2025-05-19 19:31:09,000 - INFO - we take 1562 photos in this while loop
MAIN: 2025-05-19 19:31:09,001 - INFO - /home/pi/Desktop/images/19052025/19/30/image_19052025_19_31_08_29873.jpg
MAIN: 2025-05-19 19:31:09,001 - INFO - duration: 1.5821094499988249
MAIN: 2025-05-19 19:31:09,002 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/31'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:31:38,226 - INFO - taking picture
MAIN: 2025-05-19 19:31:38,227 - INFO - we take 1563 photos in this while loop
MAIN: 2025-05-19 19:31:38,228 - INFO - /home/pi/Desktop/images/19052025/19/31/image_19052025_19_31_37_29342.jpg
MAIN: 2025-05-19 19:31:38,228 - INFO - duration: 1.466440137999598
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:32:09,185 - INFO - taking picture
MAIN: 2025-05-19 19:32:09,186 - INFO - we take 1564 photos in this while loop
MAIN: 2025-05-19 19:32:09,187 - INFO - /home/pi/Desktop/images/19052025/19/31/image_19052025_19_32_08_30607.jpg
MAIN: 2025-05-19 19:32:09,187 - INFO - duration: 1.818569014998502
MAIN: 2025-05-19 19:32:09,188 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/32'
MAIN: 2025-05-19 19:32:09,271 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:32:38,608 - INFO - taking picture
MAIN: 2025-05-19 19:32:38,609 - INFO - we take 1565 photos in this while loop
MAIN: 2025-05-19 19:32:38,609 - INFO - /home/pi/Desktop/images/19052025/19/32/image_19052025_19_32_37_29748.jpg
MAIN: 2025-05-19 19:32:38,610 - INFO - duration: 1.492893731003278
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:33:08,443 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 19:33:08,742 - INFO - taking picture
MAIN: 2025-05-19 19:33:08,743 - INFO - we take 1566 photos in this while loop
MAIN: 2025-05-19 19:33:08,743 - INFO - /home/pi/Desktop/images/19052025/19/32/image_19052025_19_33_07_30011.jpg
MAIN: 2025-05-19 19:33:08,744 - INFO - duration: 1.6158982520064455
MAIN: 2025-05-19 19:33:08,745 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/33'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:33:37,912 - INFO - taking picture
MAIN: 2025-05-19 19:33:37,913 - INFO - we take 1567 photos in this while loop
MAIN: 2025-05-19 19:33:37,914 - INFO - /home/pi/Desktop/images/19052025/19/33/image_19052025_19_33_37_29349.jpg
MAIN: 2025-05-19 19:33:37,914 - INFO - duration: 1.4372648310018121
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:34:08,736 - INFO - taking picture
MAIN: 2025-05-19 19:34:08,737 - INFO - we take 1568 photos in this while loop
MAIN: 2025-05-19 19:34:08,737 - INFO - /home/pi/Desktop/images/19052025/19/33/image_19052025_19_34_07_30263.jpg
MAIN: 2025-05-19 19:34:08,738 - INFO - duration: 1.9973264509972068
MAIN: 2025-05-19 19:34:08,739 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/34'
MAIN: 2025-05-19 19:34:08,861 - INFO - cam.read() return no image
Will output and 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=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:34:37,806 - INFO - taking picture
MAIN: 2025-05-19 19:34:37,807 - INFO - we take 1569 photos in this while loop
MAIN: 2025-05-19 19:34:37,807 - INFO - /home/pi/Desktop/images/19052025/19/34/image_19052025_19_34_36_29628.jpg
MAIN: 2025-05-19 19:34:37,808 - INFO - duration: 1.4384301440004492
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:35:08,386 - INFO - taking picture
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:35:08,387 - INFO - we take 1570 photos in this while loop
MAIN: 2025-05-19 19:35:08,388 - INFO - /home/pi/Desktop/images/19052025/19/34/image_19052025_19_35_07_29885.jpg
MAIN: 2025-05-19 19:35:08,388 - INFO - duration: 2.1331648799969116
MAIN: 2025-05-19 19:35:08,389 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/35'
MAIN: 2025-05-19 19:35:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:35:37,714 - INFO - taking picture
MAIN: 2025-05-19 19:35:37,716 - INFO - we take 1571 photos in this while loop
MAIN: 2025-05-19 19:35:37,716 - INFO - /home/pi/Desktop/images/19052025/19/35/image_19052025_19_35_36_30018.jpg
MAIN: 2025-05-19 19:35:37,716 - INFO - duration: 1.4433279559962102
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:36:09,400 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 19:36:09,492 - INFO - taking picture
MAIN: 2025-05-19 19:36:09,493 - INFO - we take 1572 photos in this while loop
MAIN: 2025-05-19 19:36:09,494 - INFO - /home/pi/Desktop/images/19052025/19/35/image_19052025_19_36_08_31412.jpg
MAIN: 2025-05-19 19:36:09,495 - INFO - duration: 1.808774541997991
MAIN: 2025-05-19 19:36:09,496 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:36:38,677 - INFO - taking picture
MAIN: 2025-05-19 19:36:38,678 - INFO - we take 1573 photos in this while loop
MAIN: 2025-05-19 19:36:38,679 - INFO - /home/pi/Desktop/images/19052025/19/36/image_19052025_19_36_37_29550.jpg
MAIN: 2025-05-19 19:36:38,679 - INFO - duration: 1.4421056139981374
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:37:07,902 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 19:37:08,717 - INFO - taking picture
MAIN: 2025-05-19 19:37:08,718 - INFO - we take 1574 photos in this while loop
MAIN: 2025-05-19 19:37:08,718 - INFO - /home/pi/Desktop/images/19052025/19/36/image_19052025_19_37_07_29993.jpg
MAIN: 2025-05-19 19:37:08,718 - INFO - duration: 1.4884476419974817
MAIN: 2025-05-19 19:37:08,719 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:37:37,693 - INFO - taking picture
MAIN: 2025-05-19 19:37:37,694 - INFO - we take 1575 photos in this while loop
MAIN: 2025-05-19 19:37:37,695 - INFO - /home/pi/Desktop/images/19052025/19/37/image_19052025_19_37_36_29014.jpg
MAIN: 2025-05-19 19:37:37,695 - INFO - duration: 1.4506036870006938
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:38:08,617 - INFO - taking picture
MAIN: 2025-05-19 19:38:08,618 - INFO - we take 1576 photos in this while loop
MAIN: 2025-05-19 19:38:08,619 - INFO - /home/pi/Desktop/images/19052025/19/37/image_19052025_19_38_07_29974.jpg
MAIN: 2025-05-19 19:38:08,619 - INFO - duration: 2.399731007993978
MAIN: 2025-05-19 19:38:08,620 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/38'
MAIN: 2025-05-19 19:38:09,225 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:38:37,661 - INFO - taking picture
MAIN: 2025-05-19 19:38:37,662 - INFO - we take 1577 photos in this while loop
MAIN: 2025-05-19 19:38:37,662 - INFO - /home/pi/Desktop/images/19052025/19/38/image_19052025_19_38_36_29986.jpg
MAIN: 2025-05-19 19:38:37,663 - INFO - duration: 1.4563781670003664
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:39:08,057 - INFO - taking picture
MAIN: 2025-05-19 19:39:08,059 - INFO - we take 1578 photos in this while loop
MAIN: 2025-05-19 19:39:08,059 - INFO - /home/pi/Desktop/images/19052025/19/38/image_19052025_19_39_06_30040.jpg
MAIN: 2025-05-19 19:39:08,060 - INFO - duration: 1.812567774002673
MAIN: 2025-05-19 19:39:08,061 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/39'
MAIN: 2025-05-19 19:39:08,247 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:39:38,745 - INFO - taking picture
MAIN: 2025-05-19 19:39:38,746 - INFO - we take 1579 photos in this while loop
MAIN: 2025-05-19 19:39:38,746 - INFO - /home/pi/Desktop/images/19052025/19/39/image_19052025_19_39_37_31072.jpg
MAIN: 2025-05-19 19:39:38,747 - INFO - duration: 1.4271404610044556
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:40:09,332 - INFO - taking picture
MAIN: 2025-05-19 19:40:09,333 - INFO - we take 1580 photos in this while loop
MAIN: 2025-05-19 19:40:09,334 - INFO - /home/pi/Desktop/images/19052025/19/39/image_19052025_19_40_07_29134.jpg
MAIN: 2025-05-19 19:40:09,335 - INFO - duration: 2.8803375349962153
MAIN: 2025-05-19 19:40:10,345 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/40'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:40:11,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:40:38,865 - INFO - taking picture
MAIN: 2025-05-19 19:40:38,866 - INFO - we take 1581 photos in this while loop
MAIN: 2025-05-19 19:40:38,867 - INFO - /home/pi/Desktop/images/19052025/19/40/image_19052025_19_40_37_30967.jpg
MAIN: 2025-05-19 19:40:38,867 - INFO - duration: 1.4452934289947734
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:41:07,825 - INFO - taking picture
MAIN: 2025-05-19 19:41:07,826 - INFO - we take 1582 photos in this while loop
MAIN: 2025-05-19 19:41:07,826 - INFO - /home/pi/Desktop/images/19052025/19/40/image_19052025_19_41_06_28774.jpg
MAIN: 2025-05-19 19:41:07,827 - INFO - duration: 1.6308407059987076
MAIN: 2025-05-19 19:41:07,828 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/41'
MAIN: 2025-05-19 19:41:08,205 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:41:38,647 - INFO - taking picture
MAIN: 2025-05-19 19:41:38,648 - INFO - we take 1583 photos in this while loop
MAIN: 2025-05-19 19:41:38,648 - INFO - /home/pi/Desktop/images/19052025/19/41/image_19052025_19_41_37_30978.jpg
MAIN: 2025-05-19 19:41:38,649 - INFO - duration: 1.4739223329961533
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:42:09,250 - INFO - taking picture
MAIN: 2025-05-19 19:42:09,251 - INFO - we take 1584 photos in this while loop
MAIN: 2025-05-19 19:42:09,251 - INFO - /home/pi/Desktop/images/19052025/19/41/image_19052025_19_42_08_30398.jpg
MAIN: 2025-05-19 19:42:09,252 - INFO - duration: 1.6788233070037677
MAIN: 2025-05-19 19:42:09,253 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/42'
MAIN: 2025-05-19 19:42:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:42:38,517 - INFO - taking picture
MAIN: 2025-05-19 19:42:38,518 - INFO - we take 1585 photos in this while loop
MAIN: 2025-05-19 19:42:38,518 - INFO - /home/pi/Desktop/images/19052025/19/42/image_19052025_19_42_37_29518.jpg
MAIN: 2025-05-19 19:42:38,519 - INFO - duration: 1.4275778580049518
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:43:08,953 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 19:43:09,248 - INFO - taking picture
MAIN: 2025-05-19 19:43:09,249 - INFO - we take 1586 photos in this while loop
MAIN: 2025-05-19 19:43:09,249 - INFO - /home/pi/Desktop/images/19052025/19/42/image_19052025_19_43_08_30644.jpg
MAIN: 2025-05-19 19:43:09,250 - INFO - duration: 1.5144900390005205
MAIN: 2025-05-19 19:43:09,251 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/43'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:43:38,455 - INFO - taking picture
MAIN: 2025-05-19 19:43:38,456 - INFO - we take 1587 photos in this while loop
MAIN: 2025-05-19 19:43:38,457 - INFO - /home/pi/Desktop/images/19052025/19/43/image_19052025_19_43_37_29296.jpg
MAIN: 2025-05-19 19:43:38,457 - INFO - duration: 1.4250821300011012
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:44:09,114 - INFO - taking picture
MAIN: 2025-05-19 19:44:09,115 - INFO - we take 1588 photos in this while loop
MAIN: 2025-05-19 19:44:09,116 - INFO - /home/pi/Desktop/images/19052025/19/43/image_19052025_19_44_08_30473.jpg
MAIN: 2025-05-19 19:44:09,116 - INFO - duration: 1.6108094590017572
MAIN: 2025-05-19 19:44:09,117 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/44'
MAIN: 2025-05-19 19:44:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:44:38,424 - INFO - taking picture
MAIN: 2025-05-19 19:44:38,425 - INFO - we take 1589 photos in this while loop
MAIN: 2025-05-19 19:44:38,426 - INFO - /home/pi/Desktop/images/19052025/19/44/image_19052025_19_44_37_29497.jpg
MAIN: 2025-05-19 19:44:38,426 - INFO - duration: 1.4234156710008392
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:45:09,345 - INFO - taking picture
MAIN: 2025-05-19 19:45:09,346 - INFO - we take 1590 photos in this while loop
MAIN: 2025-05-19 19:45:09,347 - INFO - /home/pi/Desktop/images/19052025/19/44/image_19052025_19_45_08_30496.jpg
MAIN: 2025-05-19 19:45:09,348 - INFO - duration: 1.84870345100353
MAIN: 2025-05-19 19:45:09,350 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/45'
MAIN: 2025-05-19 19:45:09,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:45:38,716 - INFO - taking picture
MAIN: 2025-05-19 19:45:38,717 - INFO - we take 1591 photos in this while loop
MAIN: 2025-05-19 19:45:38,718 - INFO - /home/pi/Desktop/images/19052025/19/45/image_19052025_19_45_37_29766.jpg
MAIN: 2025-05-19 19:45:38,718 - INFO - duration: 1.4523129090011935
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:46:09,566 - INFO - taking picture
MAIN: 2025-05-19 19:46:09,567 - INFO - we take 1592 photos in this while loop
MAIN: 2025-05-19 19:46:09,568 - INFO - /home/pi/Desktop/images/19052025/19/45/image_19052025_19_46_08_30713.jpg
MAIN: 2025-05-19 19:46:09,569 - INFO - duration: 1.5888068060012301
MAIN: 2025-05-19 19:46:09,570 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/46'
MAIN: 2025-05-19 19:46:09,696 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:46:38,552 - INFO - taking picture
MAIN: 2025-05-19 19:46:38,553 - INFO - we take 1593 photos in this while loop
MAIN: 2025-05-19 19:46:38,553 - INFO - /home/pi/Desktop/images/19052025/19/46/image_19052025_19_46_37_29143.jpg
MAIN: 2025-05-19 19:46:38,553 - INFO - duration: 1.4298142129991902
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:47:08,277 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 19:47:08,882 - INFO - taking picture
MAIN: 2025-05-19 19:47:08,883 - INFO - we take 1594 photos in this while loop
MAIN: 2025-05-19 19:47:08,884 - INFO - /home/pi/Desktop/images/19052025/19/46/image_19052025_19_47_07_30294.jpg
MAIN: 2025-05-19 19:47:08,884 - INFO - duration: 1.466637752004317
MAIN: 2025-05-19 19:47:08,885 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/47'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=26 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 19:47:38,057 - INFO - taking picture
MAIN: 2025-05-19 19:47:38,058 - INFO - we take 1595 photos in this while loop
MAIN: 2025-05-19 19:47:38,058 - INFO - /home/pi/Desktop/images/19052025/19/47/image_19052025_19_47_37_29216.jpg
MAIN: 2025-05-19 19:47:38,059 - INFO - duration: 1.4238464009977179
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:48:08,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 ! 
MAIN: 2025-05-19 19:48:09,046 - INFO - taking picture
MAIN: 2025-05-19 19:48:09,048 - INFO - we take 1596 photos in this while loop
MAIN: 2025-05-19 19:48:09,048 - INFO - /home/pi/Desktop/images/19052025/19/47/image_19052025_19_48_07_30646.jpg
MAIN: 2025-05-19 19:48:09,049 - INFO - duration: 1.7682881459986675
MAIN: 2025-05-19 19:48:09,050 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/48'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:48:38,048 - INFO - taking picture
MAIN: 2025-05-19 19:48:38,049 - INFO - we take 1597 photos in this while loop
MAIN: 2025-05-19 19:48:38,050 - INFO - /home/pi/Desktop/images/19052025/19/48/image_19052025_19_48_37_29343.jpg
MAIN: 2025-05-19 19:48:38,050 - INFO - duration: 1.425555047004309
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:49:08,265 - INFO - taking picture
MAIN: 2025-05-19 19:49:08,266 - INFO - we take 1598 photos in this while loop
MAIN: 2025-05-19 19:49:08,266 - INFO - /home/pi/Desktop/images/19052025/19/48/image_19052025_19_49_07_30040.jpg
MAIN: 2025-05-19 19:49:08,267 - INFO - duration: 1.6017471689992817
MAIN: 2025-05-19 19:49:08,268 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/49'
MAIN: 2025-05-19 19:49:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:49:38,754 - INFO - taking picture
MAIN: 2025-05-19 19:49:38,755 - INFO - we take 1599 photos in this while loop
MAIN: 2025-05-19 19:49:38,756 - INFO - /home/pi/Desktop/images/19052025/19/49/image_19052025_19_49_37_30650.jpg
MAIN: 2025-05-19 19:49:38,756 - INFO - duration: 1.4403923900026712
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-05-19 19:50:09,743 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 19:50:10,401 - INFO - taking picture
MAIN: 2025-05-19 19:50:10,402 - INFO - we take 1600 photos in this while loop
MAIN: 2025-05-19 19:50:10,402 - INFO - /home/pi/Desktop/images/19052025/19/49/image_19052025_19_50_09_30909.jpg
MAIN: 2025-05-19 19:50:10,403 - INFO - duration: 2.177410876000067
MAIN: 2025-05-19 19:50:10,404 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/50'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:50:38,150 - INFO - taking picture
MAIN: 2025-05-19 19:50:38,151 - INFO - we take 1601 photos in this while loop
MAIN: 2025-05-19 19:50:38,152 - INFO - /home/pi/Desktop/images/19052025/19/50/image_19052025_19_50_37_28495.jpg
MAIN: 2025-05-19 19:50:38,152 - INFO - duration: 1.431261974001245
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:51:08,070 - INFO - taking picture
MAIN: 2025-05-19 19:51:08,071 - INFO - we take 1602 photos in this while loop
MAIN: 2025-05-19 19:51:08,072 - INFO - /home/pi/Desktop/images/19052025/19/50/image_19052025_19_51_07_29754.jpg
MAIN: 2025-05-19 19:51:08,072 - INFO - duration: 1.597271856997395
MAIN: 2025-05-19 19:51:08,073 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/51'
MAIN: 2025-05-19 19:51:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:51:38,947 - INFO - taking picture
MAIN: 2025-05-19 19:51:38,948 - INFO - we take 1603 photos in this while loop
MAIN: 2025-05-19 19:51:38,949 - INFO - /home/pi/Desktop/images/19052025/19/51/image_19052025_19_51_38_31015.jpg
MAIN: 2025-05-19 19:51:38,949 - INFO - duration: 1.4590292639986728
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:52:08,307 - INFO - taking picture
MAIN: 2025-05-19 19:52:08,308 - INFO - we take 1604 photos in this while loop
MAIN: 2025-05-19 19:52:08,309 - INFO - /home/pi/Desktop/images/19052025/19/51/image_19052025_19_52_06_28666.jpg
MAIN: 2025-05-19 19:52:08,310 - INFO - duration: 2.1530707310012076
MAIN: 2025-05-19 19:52:08,402 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/52'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:52:09,484 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:52:38,945 - INFO - taking picture
MAIN: 2025-05-19 19:52:38,946 - INFO - we take 1605 photos in this while loop
MAIN: 2025-05-19 19:52:38,946 - INFO - /home/pi/Desktop/images/19052025/19/52/image_19052025_19_52_38_31293.jpg
MAIN: 2025-05-19 19:52:38,947 - INFO - duration: 1.4973096409958089
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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-05-19 19:53:07,909 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 19:53:09,013 - INFO - taking picture
MAIN: 2025-05-19 19:53:09,014 - INFO - we take 1606 photos in this while loop
MAIN: 2025-05-19 19:53:09,014 - INFO - /home/pi/Desktop/images/19052025/19/52/image_19052025_19_53_08_30075.jpg
MAIN: 2025-05-19 19:53:09,015 - INFO - duration: 1.4900495309993858
MAIN: 2025-05-19 19:53:09,016 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/53'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:53:37,959 - INFO - taking picture
MAIN: 2025-05-19 19:53:37,960 - INFO - we take 1607 photos in this while loop
MAIN: 2025-05-19 19:53:37,960 - INFO - /home/pi/Desktop/images/19052025/19/53/image_19052025_19_53_37_29087.jpg
MAIN: 2025-05-19 19:53:37,961 - INFO - duration: 1.3481168389989762
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:54:09,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-05-19 19:54:09,108 - INFO - taking picture
MAIN: 2025-05-19 19:54:09,109 - INFO - we take 1608 photos in this while loop
MAIN: 2025-05-19 19:54:09,110 - INFO - /home/pi/Desktop/images/19052025/19/53/image_19052025_19_54_08_30767.jpg
MAIN: 2025-05-19 19:54:09,111 - INFO - duration: 1.7305014629964717
MAIN: 2025-05-19 19:54:09,112 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:54:38,168 - INFO - taking picture
MAIN: 2025-05-19 19:54:38,169 - INFO - we take 1609 photos in this while loop
MAIN: 2025-05-19 19:54:38,169 - INFO - /home/pi/Desktop/images/19052025/19/54/image_19052025_19_54_37_29475.jpg
MAIN: 2025-05-19 19:54:38,170 - INFO - duration: 1.3138671359993168
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:55:09,365 - INFO - taking picture
MAIN: 2025-05-19 19:55:09,367 - INFO - we take 1610 photos in this while loop
MAIN: 2025-05-19 19:55:09,368 - INFO - /home/pi/Desktop/images/19052025/19/54/image_19052025_19_55_08_30109.jpg
MAIN: 2025-05-19 19:55:09,369 - INFO - duration: 2.403846731998783
MAIN: 2025-05-19 19:55:09,370 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/55'
MAIN: 2025-05-19 19:55:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:55:38,495 - INFO - taking picture
MAIN: 2025-05-19 19:55:38,496 - INFO - we take 1611 photos in this while loop
MAIN: 2025-05-19 19:55:38,496 - INFO - /home/pi/Desktop/images/19052025/19/55/image_19052025_19_55_37_30104.jpg
MAIN: 2025-05-19 19:55:38,497 - INFO - duration: 1.4270719750056742
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:56:08,984 - INFO - taking picture
MAIN: 2025-05-19 19:56:08,985 - INFO - we take 1612 photos in this while loop
MAIN: 2025-05-19 19:56:08,986 - INFO - /home/pi/Desktop/images/19052025/19/55/image_19052025_19_56_08_30307.jpg
MAIN: 2025-05-19 19:56:08,986 - INFO - duration: 1.6090637769957539
MAIN: 2025-05-19 19:56:08,987 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/56'
MAIN: 2025-05-19 19:56:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:56:38,155 - INFO - taking picture
MAIN: 2025-05-19 19:56:38,156 - INFO - we take 1613 photos in this while loop
MAIN: 2025-05-19 19:56:38,156 - INFO - /home/pi/Desktop/images/19052025/19/56/image_19052025_19_56_37_29460.jpg
MAIN: 2025-05-19 19:56:38,156 - INFO - duration: 1.3191217979983776
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:57:08,340 - INFO - taking picture
MAIN: 2025-05-19 19:57:08,341 - INFO - we take 1614 photos in this while loop
MAIN: 2025-05-19 19:57:08,341 - INFO - /home/pi/Desktop/images/19052025/19/56/image_19052025_19_57_07_29988.jpg
MAIN: 2025-05-19 19:57:08,342 - INFO - duration: 1.5154924199960078
MAIN: 2025-05-19 19:57:08,342 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/57'
MAIN: 2025-05-19 19:57:08,737 - INFO - cam.read() return no image
Will output and 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=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-05-19 19:57:38,858 - INFO - taking picture
MAIN: 2025-05-19 19:57:38,859 - INFO - we take 1615 photos in this while loop
MAIN: 2025-05-19 19:57:38,859 - INFO - /home/pi/Desktop/images/19052025/19/57/image_19052025_19_57_37_30608.jpg
MAIN: 2025-05-19 19:57:38,859 - INFO - duration: 1.4249877869951888
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:58:08,356 - INFO - taking picture
MAIN: 2025-05-19 19:58:08,357 - INFO - we take 1616 photos in this while loop
MAIN: 2025-05-19 19:58:08,358 - INFO - /home/pi/Desktop/images/19052025/19/57/image_19052025_19_58_07_28780.jpg
MAIN: 2025-05-19 19:58:08,359 - INFO - duration: 2.1431864839978516
MAIN: 2025-05-19 19:58:08,906 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/19/58'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 19:58:09,968 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:58:38,871 - INFO - taking picture
MAIN: 2025-05-19 19:58:38,872 - INFO - we take 1617 photos in this while loop
MAIN: 2025-05-19 19:58:38,873 - INFO - /home/pi/Desktop/images/19052025/19/58/image_19052025_19_58_37_31231.jpg
MAIN: 2025-05-19 19:58:38,873 - INFO - duration: 1.4264022209972609
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 19:59:08,847 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 19:59:09,160 - INFO - taking picture
MAIN: 2025-05-19 19:59:09,161 - INFO - we take 1618 photos in this while loop
MAIN: 2025-05-19 19:59:09,162 - INFO - /home/pi/Desktop/images/19052025/19/58/image_19052025_19_59_08_30168.jpg
MAIN: 2025-05-19 19:59:09,162 - INFO - duration: 1.5467265039987979
MAIN: 2025-05-19 19:59:09,163 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=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-05-19 19:59:38,096 - INFO - taking picture
MAIN: 2025-05-19 19:59:38,097 - INFO - we take 1619 photos in this while loop
MAIN: 2025-05-19 19:59:38,098 - INFO - /home/pi/Desktop/images/19052025/19/59/image_19052025_19_59_37_29029.jpg
MAIN: 2025-05-19 19:59:38,098 - INFO - duration: 1.4526629609972588
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:00:09,183 - INFO - taking picture
MAIN: 2025-05-19 20:00:09,184 - INFO - we take 1620 photos in this while loop
MAIN: 2025-05-19 20:00:09,190 - INFO - /home/pi/Desktop/images/19052025/19/59/image_19052025_20_00_07_29609.jpg
MAIN: 2025-05-19 20:00:09,191 - INFO - duration: 2.935961153001699
MAIN: 2025-05-19 20:00:09,518 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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-05-19 20:00:10,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=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-05-19 20:00:38,968 - INFO - taking picture
MAIN: 2025-05-19 20:00:38,970 - INFO - we take 1621 photos in this while loop
MAIN: 2025-05-19 20:00:38,970 - INFO - /home/pi/Desktop/images/19052025/20/00/image_19052025_20_00_38_31249.jpg
MAIN: 2025-05-19 20:00:38,970 - INFO - duration: 1.4660873940010788
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:01:07,915 - INFO - taking picture
MAIN: 2025-05-19 20:01:07,917 - INFO - we take 1622 photos in this while loop
MAIN: 2025-05-19 20:01:07,917 - INFO - /home/pi/Desktop/images/19052025/20/00/image_19052025_20_01_06_28660.jpg
MAIN: 2025-05-19 20:01:07,918 - INFO - duration: 1.75275825800054
MAIN: 2025-05-19 20:01:07,919 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/01'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:01:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:01:38,548 - INFO - taking picture
MAIN: 2025-05-19 20:01:38,549 - INFO - we take 1623 photos in this while loop
MAIN: 2025-05-19 20:01:38,550 - INFO - /home/pi/Desktop/images/19052025/20/01/image_19052025_20_01_37_30933.jpg
MAIN: 2025-05-19 20:01:38,550 - INFO - duration: 1.451994889001071
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:02:08,510 - INFO - taking picture
MAIN: 2025-05-19 20:02:08,512 - INFO - we take 1624 photos in this while loop
MAIN: 2025-05-19 20:02:08,512 - INFO - /home/pi/Desktop/images/19052025/20/01/image_19052025_20_02_07_29462.jpg
MAIN: 2025-05-19 20:02:08,513 - INFO - duration: 1.9527541220013518
MAIN: 2025-05-19 20:02:08,744 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/02'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:02:09,823 - INFO - cam.read() return no image
Will output and 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=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-05-19 20:02:38,818 - INFO - taking picture
MAIN: 2025-05-19 20:02:38,819 - INFO - we take 1625 photos in this while loop
MAIN: 2025-05-19 20:02:38,819 - INFO - /home/pi/Desktop/images/19052025/20/02/image_19052025_20_02_37_30835.jpg
MAIN: 2025-05-19 20:02:38,820 - INFO - duration: 1.4238619729949278
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-05-19 20:03:08,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 ! 
MAIN: 2025-05-19 20:03:08,889 - INFO - taking picture
MAIN: 2025-05-19 20:03:08,890 - INFO - we take 1626 photos in this while loop
MAIN: 2025-05-19 20:03:08,891 - INFO - /home/pi/Desktop/images/19052025/20/02/image_19052025_20_03_07_30043.jpg
MAIN: 2025-05-19 20:03:08,891 - INFO - duration: 1.4523532430030173
MAIN: 2025-05-19 20:03:08,892 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=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-05-19 20:03:37,728 - INFO - taking picture
MAIN: 2025-05-19 20:03:37,729 - INFO - we take 1627 photos in this while loop
MAIN: 2025-05-19 20:03:37,729 - INFO - /home/pi/Desktop/images/19052025/20/03/image_19052025_20_03_36_28910.jpg
MAIN: 2025-05-19 20:03:37,729 - INFO - duration: 1.3803485430034925
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:04:08,383 - INFO - taking picture
MAIN: 2025-05-19 20:04:08,384 - INFO - we take 1628 photos in this while loop
MAIN: 2025-05-19 20:04:08,385 - INFO - /home/pi/Desktop/images/19052025/20/03/image_19052025_20_04_07_30032.jpg
MAIN: 2025-05-19 20:04:08,386 - INFO - duration: 2.004150156994001
MAIN: 2025-05-19 20:04:08,456 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/04'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:04:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:04:38,746 - INFO - taking picture
MAIN: 2025-05-19 20:04:38,747 - INFO - we take 1629 photos in this while loop
MAIN: 2025-05-19 20:04:38,748 - INFO - /home/pi/Desktop/images/19052025/20/04/image_19052025_20_04_37_30943.jpg
MAIN: 2025-05-19 20:04:38,748 - INFO - duration: 1.4230224359998829
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:05:08,477 - INFO - taking picture
MAIN: 2025-05-19 20:05:08,479 - INFO - we take 1630 photos in this while loop
MAIN: 2025-05-19 20:05:08,480 - INFO - /home/pi/Desktop/images/19052025/20/04/image_19052025_20_05_07_28980.jpg
MAIN: 2025-05-19 20:05:08,481 - INFO - duration: 2.175855728004535
MAIN: 2025-05-19 20:05:08,782 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/05'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:05:09,848 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 20:05:37,447 - INFO - taking picture
MAIN: 2025-05-19 20:05:37,448 - INFO - we take 1631 photos in this while loop
MAIN: 2025-05-19 20:05:37,449 - INFO - /home/pi/Desktop/images/19052025/20/05/image_19052025_20_05_36_29793.jpg
MAIN: 2025-05-19 20:05:37,449 - INFO - duration: 1.3508496919967001
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:06:09,572 - INFO - taking picture
MAIN: 2025-05-19 20:06:09,573 - INFO - we take 1632 photos in this while loop
MAIN: 2025-05-19 20:06:09,573 - INFO - /home/pi/Desktop/images/19052025/20/05/image_19052025_20_06_08_31697.jpg
MAIN: 2025-05-19 20:06:09,574 - INFO - duration: 1.7778780770022422
MAIN: 2025-05-19 20:06:09,575 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/06'
MAIN: 2025-05-19 20:06:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:06:38,149 - INFO - taking picture
MAIN: 2025-05-19 20:06:38,150 - INFO - we take 1633 photos in this while loop
MAIN: 2025-05-19 20:06:38,151 - INFO - /home/pi/Desktop/images/19052025/20/06/image_19052025_20_06_37_29006.jpg
MAIN: 2025-05-19 20:06:38,151 - INFO - duration: 1.3485465409976314
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:07:07,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-05-19 20:07:08,188 - INFO - taking picture
MAIN: 2025-05-19 20:07:08,189 - INFO - we take 1634 photos in this while loop
MAIN: 2025-05-19 20:07:08,189 - INFO - /home/pi/Desktop/images/19052025/20/06/image_19052025_20_07_07_29818.jpg
MAIN: 2025-05-19 20:07:08,190 - INFO - duration: 1.5683946190038114
MAIN: 2025-05-19 20:07:08,191 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:07:38,782 - INFO - taking picture
MAIN: 2025-05-19 20:07:38,783 - INFO - we take 1635 photos in this while loop
MAIN: 2025-05-19 20:07:38,783 - INFO - /home/pi/Desktop/images/19052025/20/07/image_19052025_20_07_37_30709.jpg
MAIN: 2025-05-19 20:07:38,784 - INFO - duration: 1.4528946640057256
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:08:09,081 - INFO - taking picture
MAIN: 2025-05-19 20:08:09,083 - INFO - we take 1636 photos in this while loop
MAIN: 2025-05-19 20:08:09,083 - INFO - /home/pi/Desktop/images/19052025/20/07/image_19052025_20_08_08_30229.jpg
MAIN: 2025-05-19 20:08:09,083 - INFO - duration: 1.5229235799997696
MAIN: 2025-05-19 20:08:09,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/08'
MAIN: 2025-05-19 20:08:09,278 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:08:38,973 - INFO - taking picture
MAIN: 2025-05-19 20:08:38,974 - INFO - we take 1637 photos in this while loop
MAIN: 2025-05-19 20:08:38,975 - INFO - /home/pi/Desktop/images/19052025/20/08/image_19052025_20_08_38_29991.jpg
MAIN: 2025-05-19 20:08:38,975 - INFO - duration: 1.423198124000919
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:09:08,538 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 20:09:09,198 - INFO - taking picture
MAIN: 2025-05-19 20:09:09,199 - INFO - we take 1638 photos in this while loop
MAIN: 2025-05-19 20:09:09,199 - INFO - /home/pi/Desktop/images/19052025/20/08/image_19052025_20_09_08_30183.jpg
MAIN: 2025-05-19 20:09:09,200 - INFO - duration: 1.4636130660001072
MAIN: 2025-05-19 20:09:09,200 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/09'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 20:09:38,208 - INFO - taking picture
MAIN: 2025-05-19 20:09:38,209 - INFO - we take 1639 photos in this while loop
MAIN: 2025-05-19 20:09:38,210 - INFO - /home/pi/Desktop/images/19052025/20/09/image_19052025_20_09_37_29140.jpg
MAIN: 2025-05-19 20:09:38,210 - INFO - duration: 1.3335455199994612
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:10:09,507 - INFO - taking picture
MAIN: 2025-05-19 20:10:09,509 - INFO - we take 1640 photos in this while loop
MAIN: 2025-05-19 20:10:09,510 - INFO - /home/pi/Desktop/images/19052025/20/09/image_19052025_20_10_08_29932.jpg
MAIN: 2025-05-19 20:10:09,511 - INFO - duration: 2.7011097590002464
MAIN: 2025-05-19 20:10:09,599 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/10'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:10:10,678 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:10:38,440 - INFO - taking picture
MAIN: 2025-05-19 20:10:38,441 - INFO - we take 1641 photos in this while loop
MAIN: 2025-05-19 20:10:38,441 - INFO - /home/pi/Desktop/images/19052025/20/10/image_19052025_20_10_37_30336.jpg
MAIN: 2025-05-19 20:10:38,442 - INFO - duration: 1.2952880059965537
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-05-19 20:11:08,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 ! 
MAIN: 2025-05-19 20:11:08,226 - INFO - taking picture
MAIN: 2025-05-19 20:11:08,228 - INFO - we take 1642 photos in this while loop
MAIN: 2025-05-19 20:11:08,228 - INFO - /home/pi/Desktop/images/19052025/20/10/image_19052025_20_11_07_29541.jpg
MAIN: 2025-05-19 20:11:08,229 - INFO - duration: 1.5409117529998184
MAIN: 2025-05-19 20:11:08,230 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/11'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:11:38,336 - INFO - taking picture
MAIN: 2025-05-19 20:11:38,337 - INFO - we take 1643 photos in this while loop
MAIN: 2025-05-19 20:11:38,337 - INFO - /home/pi/Desktop/images/19052025/20/11/image_19052025_20_11_37_30227.jpg
MAIN: 2025-05-19 20:11:38,338 - INFO - duration: 1.4223305790001177
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:12:09,313 - INFO - taking picture
MAIN: 2025-05-19 20:12:09,315 - INFO - we take 1644 photos in this while loop
MAIN: 2025-05-19 20:12:09,316 - INFO - /home/pi/Desktop/images/19052025/20/11/image_19052025_20_12_08_30786.jpg
MAIN: 2025-05-19 20:12:09,316 - INFO - duration: 1.6141096579958685
MAIN: 2025-05-19 20:12:09,317 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/12'
MAIN: 2025-05-19 20:12:09,487 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:12:38,359 - INFO - taking picture
MAIN: 2025-05-19 20:12:38,360 - INFO - we take 1645 photos in this while loop
MAIN: 2025-05-19 20:12:38,360 - INFO - /home/pi/Desktop/images/19052025/20/12/image_19052025_20_12_37_29299.jpg
MAIN: 2025-05-19 20:12:38,361 - INFO - duration: 1.3591571780052618
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:13:08,512 - INFO - taking picture
MAIN: 2025-05-19 20:13:08,513 - INFO - we take 1646 photos in this while loop
MAIN: 2025-05-19 20:13:08,514 - INFO - /home/pi/Desktop/images/19052025/20/12/image_19052025_20_13_07_29925.jpg
MAIN: 2025-05-19 20:13:08,514 - INFO - duration: 1.5874226779997116
MAIN: 2025-05-19 20:13:08,515 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/13'
MAIN: 2025-05-19 20:13:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:13:37,524 - INFO - taking picture
MAIN: 2025-05-19 20:13:37,525 - INFO - we take 1647 photos in this while loop
MAIN: 2025-05-19 20:13:37,526 - INFO - /home/pi/Desktop/images/19052025/20/13/image_19052025_20_13_36_29170.jpg
MAIN: 2025-05-19 20:13:37,526 - INFO - duration: 1.4284303000022192
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:14:09,247 - INFO - taking picture
MAIN: 2025-05-19 20:14:09,248 - INFO - we take 1648 photos in this while loop
MAIN: 2025-05-19 20:14:09,249 - INFO - /home/pi/Desktop/images/19052025/20/13/image_19052025_20_14_08_31137.jpg
MAIN: 2025-05-19 20:14:09,250 - INFO - duration: 2.0142442249998567
MAIN: 2025-05-19 20:14:09,251 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/14'
MAIN: 2025-05-19 20:14:10,125 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 20:14:37,753 - INFO - taking picture
MAIN: 2025-05-19 20:14:37,753 - INFO - we take 1649 photos in this while loop
MAIN: 2025-05-19 20:14:37,753 - INFO - /home/pi/Desktop/images/19052025/20/14/image_19052025_20_14_37_29509.jpg
MAIN: 2025-05-19 20:14:37,754 - INFO - duration: 1.0083522330023698
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:15:09,142 - INFO - taking picture
MAIN: 2025-05-19 20:15:09,143 - INFO - we take 1650 photos in this while loop
MAIN: 2025-05-19 20:15:09,144 - INFO - /home/pi/Desktop/images/19052025/20/14/image_19052025_20_15_08_30489.jpg
MAIN: 2025-05-19 20:15:09,145 - INFO - duration: 1.909837579994928
MAIN: 2025-05-19 20:15:09,147 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/15'
MAIN: 2025-05-19 20:15:09,900 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:15:38,105 - INFO - taking picture
MAIN: 2025-05-19 20:15:38,105 - INFO - we take 1651 photos in this while loop
MAIN: 2025-05-19 20:15:38,105 - INFO - /home/pi/Desktop/images/19052025/20/15/image_19052025_20_15_37_29791.jpg
MAIN: 2025-05-19 20:15:38,106 - INFO - duration: 1.0795220319996588
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:16:08,995 - INFO - taking picture
MAIN: 2025-05-19 20:16:08,996 - INFO - we take 1652 photos in this while loop
MAIN: 2025-05-19 20:16:08,997 - INFO - /home/pi/Desktop/images/19052025/20/15/image_19052025_20_16_08_29941.jpg
MAIN: 2025-05-19 20:16:08,997 - INFO - duration: 2.02924998600065
MAIN: 2025-05-19 20:16:08,998 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/16'
MAIN: 2025-05-19 20:16:09,567 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:16:38,218 - INFO - taking picture
MAIN: 2025-05-19 20:16:38,219 - INFO - we take 1653 photos in this while loop
MAIN: 2025-05-19 20:16:38,219 - INFO - /home/pi/Desktop/images/19052025/20/16/image_19052025_20_16_37_29931.jpg
MAIN: 2025-05-19 20:16:38,220 - INFO - duration: 1.32086694699683
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:17:08,884 - INFO - taking picture
MAIN: 2025-05-19 20:17:08,886 - INFO - we take 1654 photos in this while loop
MAIN: 2025-05-19 20:17:08,886 - INFO - /home/pi/Desktop/images/19052025/20/16/image_19052025_20_17_07_30423.jpg
MAIN: 2025-05-19 20:17:08,886 - INFO - duration: 1.5642538469983265
MAIN: 2025-05-19 20:17:08,887 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/17'
MAIN: 2025-05-19 20:17:09,360 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:17:38,622 - INFO - taking picture
MAIN: 2025-05-19 20:17:38,623 - INFO - we take 1655 photos in this while loop
MAIN: 2025-05-19 20:17:38,623 - INFO - /home/pi/Desktop/images/19052025/20/17/image_19052025_20_17_37_30215.jpg
MAIN: 2025-05-19 20:17:38,624 - INFO - duration: 1.0861367910038098
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:18:08,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-05-19 20:18:09,027 - INFO - taking picture
MAIN: 2025-05-19 20:18:09,029 - INFO - we take 1656 photos in this while loop
MAIN: 2025-05-19 20:18:09,029 - INFO - /home/pi/Desktop/images/19052025/20/17/image_19052025_20_18_08_29881.jpg
MAIN: 2025-05-19 20:18:09,030 - INFO - duration: 1.6112394140000106
MAIN: 2025-05-19 20:18:09,031 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/18'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 20:18:37,949 - INFO - taking picture
MAIN: 2025-05-19 20:18:37,950 - INFO - we take 1657 photos in this while loop
MAIN: 2025-05-19 20:18:37,951 - INFO - /home/pi/Desktop/images/19052025/20/18/image_19052025_20_18_37_29075.jpg
MAIN: 2025-05-19 20:18:37,951 - INFO - duration: 1.4569727880007122
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:19:08,013 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 20:19:09,093 - INFO - taking picture
MAIN: 2025-05-19 20:19:09,094 - INFO - we take 1658 photos in this while loop
MAIN: 2025-05-19 20:19:09,094 - INFO - /home/pi/Desktop/images/19052025/20/18/image_19052025_20_19_08_31016.jpg
MAIN: 2025-05-19 20:19:09,095 - INFO - duration: 1.5846382899981108
MAIN: 2025-05-19 20:19:09,096 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/19'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:19:37,695 - INFO - taking picture
MAIN: 2025-05-19 20:19:37,696 - INFO - we take 1659 photos in this while loop
MAIN: 2025-05-19 20:19:37,696 - INFO - /home/pi/Desktop/images/19052025/20/19/image_19052025_20_19_36_28731.jpg
MAIN: 2025-05-19 20:19:37,697 - INFO - duration: 1.4552496969990898
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:20:09,221 - INFO - taking picture
MAIN: 2025-05-19 20:20:09,222 - INFO - we take 1660 photos in this while loop
MAIN: 2025-05-19 20:20:09,223 - INFO - /home/pi/Desktop/images/19052025/20/19/image_19052025_20_20_07_29894.jpg
MAIN: 2025-05-19 20:20:09,245 - INFO - duration: 3.109237046999624
MAIN: 2025-05-19 20:20:09,722 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/20'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:20:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:20:38,183 - INFO - taking picture
MAIN: 2025-05-19 20:20:38,184 - INFO - we take 1661 photos in this while loop
MAIN: 2025-05-19 20:20:38,184 - INFO - /home/pi/Desktop/images/19052025/20/20/image_19052025_20_20_37_30742.jpg
MAIN: 2025-05-19 20:20:38,185 - INFO - duration: 1.306131457000447
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:21:08,568 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 20:21:09,299 - INFO - taking picture
MAIN: 2025-05-19 20:21:09,301 - INFO - we take 1662 photos in this while loop
MAIN: 2025-05-19 20:21:09,301 - INFO - /home/pi/Desktop/images/19052025/20/20/image_19052025_20_21_08_30963.jpg
MAIN: 2025-05-19 20:21:09,301 - INFO - duration: 1.4591493629995966
MAIN: 2025-05-19 20:21:09,302 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 20:21:38,017 - INFO - taking picture
MAIN: 2025-05-19 20:21:38,018 - INFO - we take 1663 photos in this while loop
MAIN: 2025-05-19 20:21:38,018 - INFO - /home/pi/Desktop/images/19052025/20/21/image_19052025_20_21_37_28874.jpg
MAIN: 2025-05-19 20:21:38,019 - INFO - duration: 1.3020823290062253
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:22:08,119 - INFO - taking picture
MAIN: 2025-05-19 20:22:08,121 - INFO - we take 1664 photos in this while loop
MAIN: 2025-05-19 20:22:08,121 - INFO - /home/pi/Desktop/images/19052025/20/21/image_19052025_20_22_07_29471.jpg
MAIN: 2025-05-19 20:22:08,122 - INFO - duration: 1.9336599630041746
MAIN: 2025-05-19 20:22:08,123 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/22'
MAIN: 2025-05-19 20:22:09,049 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:22:38,538 - INFO - taking picture
MAIN: 2025-05-19 20:22:38,539 - INFO - we take 1665 photos in this while loop
MAIN: 2025-05-19 20:22:38,539 - INFO - /home/pi/Desktop/images/19052025/20/22/image_19052025_20_22_37_31050.jpg
MAIN: 2025-05-19 20:22:38,540 - INFO - duration: 1.3014982550012064
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:23:08,110 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 20:23:08,719 - INFO - taking picture
MAIN: 2025-05-19 20:23:08,720 - INFO - we take 1666 photos in this while loop
MAIN: 2025-05-19 20:23:08,720 - INFO - /home/pi/Desktop/images/19052025/20/22/image_19052025_20_23_07_29994.jpg
MAIN: 2025-05-19 20:23:08,721 - INFO - duration: 1.4879622630032827
MAIN: 2025-05-19 20:23:08,722 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=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-05-19 20:23:37,855 - INFO - taking picture
MAIN: 2025-05-19 20:23:37,855 - INFO - we take 1667 photos in this while loop
MAIN: 2025-05-19 20:23:37,855 - INFO - /home/pi/Desktop/images/19052025/20/23/image_19052025_20_23_37_29235.jpg
MAIN: 2025-05-19 20:23:37,856 - INFO - duration: 1.3877543119961047
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:24:08,304 - INFO - taking picture
MAIN: 2025-05-19 20:24:08,305 - INFO - we take 1668 photos in this while loop
MAIN: 2025-05-19 20:24:08,306 - INFO - /home/pi/Desktop/images/19052025/20/23/image_19052025_20_24_06_29685.jpg
MAIN: 2025-05-19 20:24:08,307 - INFO - duration: 2.153016247000778
MAIN: 2025-05-19 20:24:08,308 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/24'
MAIN: 2025-05-19 20:24:08,454 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:24:38,522 - INFO - taking picture
MAIN: 2025-05-19 20:24:38,523 - INFO - we take 1669 photos in this while loop
MAIN: 2025-05-19 20:24:38,523 - INFO - /home/pi/Desktop/images/19052025/20/24/image_19052025_20_24_37_31031.jpg
MAIN: 2025-05-19 20:24:38,524 - INFO - duration: 1.3386195999992196
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:25:08,782 - INFO - taking picture
MAIN: 2025-05-19 20:25:08,783 - INFO - we take 1670 photos in this while loop
MAIN: 2025-05-19 20:25:08,784 - INFO - /home/pi/Desktop/images/19052025/20/24/image_19052025_20_25_07_29518.jpg
MAIN: 2025-05-19 20:25:08,785 - INFO - duration: 2.0814818370054127
MAIN: 2025-05-19 20:25:08,823 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/25'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:25:09,912 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:25:38,272 - INFO - taking picture
MAIN: 2025-05-19 20:25:38,273 - INFO - we take 1671 photos in this while loop
MAIN: 2025-05-19 20:25:38,273 - INFO - /home/pi/Desktop/images/19052025/20/25/image_19052025_20_25_37_30230.jpg
MAIN: 2025-05-19 20:25:38,274 - INFO - duration: 1.3404168849956477
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:26:08,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 ! 
MAIN: 2025-05-19 20:26:09,039 - INFO - taking picture
MAIN: 2025-05-19 20:26:09,041 - INFO - we take 1672 photos in this while loop
MAIN: 2025-05-19 20:26:09,041 - INFO - /home/pi/Desktop/images/19052025/20/25/image_19052025_20_26_08_30499.jpg
MAIN: 2025-05-19 20:26:09,042 - INFO - duration: 1.60874836199946
MAIN: 2025-05-19 20:26:09,043 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:26:37,797 - INFO - taking picture
MAIN: 2025-05-19 20:26:37,798 - INFO - we take 1673 photos in this while loop
MAIN: 2025-05-19 20:26:37,799 - INFO - /home/pi/Desktop/images/19052025/20/26/image_19052025_20_26_37_29060.jpg
MAIN: 2025-05-19 20:26:37,799 - INFO - duration: 1.3055690550027066
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:27:07,920 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 20:27:09,228 - INFO - taking picture
MAIN: 2025-05-19 20:27:09,229 - INFO - we take 1674 photos in this while loop
MAIN: 2025-05-19 20:27:09,230 - INFO - /home/pi/Desktop/images/19052025/20/26/image_19052025_20_27_08_31382.jpg
MAIN: 2025-05-19 20:27:09,230 - INFO - duration: 1.354319669000688
MAIN: 2025-05-19 20:27:09,231 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:27:37,453 - INFO - taking picture
MAIN: 2025-05-19 20:27:37,454 - INFO - we take 1675 photos in this while loop
MAIN: 2025-05-19 20:27:37,455 - INFO - /home/pi/Desktop/images/19052025/20/27/image_19052025_20_27_36_28563.jpg
MAIN: 2025-05-19 20:27:37,455 - INFO - duration: 1.0160181079991162
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:28:09,278 - INFO - taking picture
MAIN: 2025-05-19 20:28:09,280 - INFO - we take 1676 photos in this while loop
MAIN: 2025-05-19 20:28:09,280 - INFO - /home/pi/Desktop/images/19052025/20/27/image_19052025_20_28_08_31176.jpg
MAIN: 2025-05-19 20:28:09,281 - INFO - duration: 1.664651633000176
MAIN: 2025-05-19 20:28:09,282 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/28'
MAIN: 2025-05-19 20:28:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:28:37,499 - INFO - taking picture
MAIN: 2025-05-19 20:28:37,500 - INFO - we take 1677 photos in this while loop
MAIN: 2025-05-19 20:28:37,500 - INFO - /home/pi/Desktop/images/19052025/20/28/image_19052025_20_28_36_28704.jpg
MAIN: 2025-05-19 20:28:37,501 - INFO - duration: 1.1802534490052494
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:29:09,310 - INFO - taking picture
MAIN: 2025-05-19 20:29:09,311 - INFO - we take 1678 photos in this while loop
MAIN: 2025-05-19 20:29:09,311 - INFO - /home/pi/Desktop/images/19052025/20/28/image_19052025_20_29_08_31465.jpg
MAIN: 2025-05-19 20:29:09,312 - INFO - duration: 1.525089119997574
MAIN: 2025-05-19 20:29:09,313 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/29'
MAIN: 2025-05-19 20:29:09,530 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:29:38,095 - INFO - taking picture
MAIN: 2025-05-19 20:29:38,096 - INFO - we take 1679 photos in this while loop
MAIN: 2025-05-19 20:29:38,096 - INFO - /home/pi/Desktop/images/19052025/20/29/image_19052025_20_29_37_29136.jpg
MAIN: 2025-05-19 20:29:38,097 - INFO - duration: 1.173403110995423
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:30:09,229 - INFO - taking picture
MAIN: 2025-05-19 20:30:09,231 - INFO - we take 1680 photos in this while loop
MAIN: 2025-05-19 20:30:09,232 - INFO - /home/pi/Desktop/images/19052025/20/29/image_19052025_20_30_07_29594.jpg
MAIN: 2025-05-19 20:30:09,233 - INFO - duration: 2.7148670079986914
MAIN: 2025-05-19 20:30:09,235 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/30'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:30:10,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:30:38,592 - INFO - taking picture
MAIN: 2025-05-19 20:30:38,593 - INFO - we take 1681 photos in this while loop
MAIN: 2025-05-19 20:30:38,593 - INFO - /home/pi/Desktop/images/19052025/20/30/image_19052025_20_30_37_30764.jpg
MAIN: 2025-05-19 20:30:38,594 - INFO - duration: 1.3117914609974832
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:31:08,172 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 20:31:08,620 - INFO - taking picture
MAIN: 2025-05-19 20:31:08,621 - INFO - we take 1682 photos in this while loop
MAIN: 2025-05-19 20:31:08,622 - INFO - /home/pi/Desktop/images/19052025/20/30/image_19052025_20_31_07_29750.jpg
MAIN: 2025-05-19 20:31:08,622 - INFO - duration: 1.5892393100002664
MAIN: 2025-05-19 20:31:08,623 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/31'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:31:39,005 - INFO - taking picture
MAIN: 2025-05-19 20:31:39,006 - INFO - we take 1683 photos in this while loop
MAIN: 2025-05-19 20:31:39,007 - INFO - /home/pi/Desktop/images/19052025/20/31/image_19052025_20_31_38_30520.jpg
MAIN: 2025-05-19 20:31:39,007 - INFO - duration: 1.4536204440009897
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:32:08,342 - INFO - taking picture
MAIN: 2025-05-19 20:32:08,343 - INFO - we take 1684 photos in this while loop
MAIN: 2025-05-19 20:32:08,353 - INFO - /home/pi/Desktop/images/19052025/20/31/image_19052025_20_32_07_28711.jpg
MAIN: 2025-05-19 20:32:08,354 - INFO - duration: 2.0886532719960087
MAIN: 2025-05-19 20:32:08,483 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/32'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:32:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:32:38,827 - INFO - taking picture
MAIN: 2025-05-19 20:32:38,828 - INFO - we take 1685 photos in this while loop
MAIN: 2025-05-19 20:32:38,829 - INFO - /home/pi/Desktop/images/19052025/20/32/image_19052025_20_32_37_31121.jpg
MAIN: 2025-05-19 20:32:38,829 - INFO - duration: 1.4427816509996774
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:33:08,464 - INFO - taking picture
MAIN: 2025-05-19 20:33:08,466 - INFO - we take 1686 photos in this while loop
MAIN: 2025-05-19 20:33:08,466 - INFO - /home/pi/Desktop/images/19052025/20/32/image_19052025_20_33_07_29558.jpg
MAIN: 2025-05-19 20:33:08,466 - INFO - duration: 1.521309994001058
MAIN: 2025-05-19 20:33:08,467 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/33'
MAIN: 2025-05-19 20:33:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:33:38,817 - INFO - taking picture
MAIN: 2025-05-19 20:33:38,818 - INFO - we take 1687 photos in this while loop
MAIN: 2025-05-19 20:33:38,818 - INFO - /home/pi/Desktop/images/19052025/20/33/image_19052025_20_33_37_30381.jpg
MAIN: 2025-05-19 20:33:38,819 - INFO - duration: 1.491735889998381
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:34:09,439 - INFO - taking picture
MAIN: 2025-05-19 20:34:09,441 - INFO - we take 1688 photos in this while loop
MAIN: 2025-05-19 20:34:09,441 - INFO - /home/pi/Desktop/images/19052025/20/33/image_19052025_20_34_08_30499.jpg
MAIN: 2025-05-19 20:34:09,441 - INFO - duration: 1.6154437479999615
MAIN: 2025-05-19 20:34:09,442 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/34'
MAIN: 2025-05-19 20:34:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:34:38,611 - INFO - taking picture
MAIN: 2025-05-19 20:34:38,612 - INFO - we take 1689 photos in this while loop
MAIN: 2025-05-19 20:34:38,613 - INFO - /home/pi/Desktop/images/19052025/20/34/image_19052025_20_34_37_29298.jpg
MAIN: 2025-05-19 20:34:38,613 - INFO - duration: 1.4885107169975527
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:35:09,205 - INFO - taking picture
MAIN: 2025-05-19 20:35:09,207 - INFO - we take 1690 photos in this while loop
MAIN: 2025-05-19 20:35:09,207 - INFO - /home/pi/Desktop/images/19052025/20/34/image_19052025_20_35_07_30015.jpg
MAIN: 2025-05-19 20:35:09,208 - INFO - duration: 2.0679491909977514
MAIN: 2025-05-19 20:35:09,209 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/35'
MAIN: 2025-05-19 20:35:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:35:38,354 - INFO - taking picture
MAIN: 2025-05-19 20:35:38,355 - INFO - we take 1691 photos in this while loop
MAIN: 2025-05-19 20:35:38,356 - INFO - /home/pi/Desktop/images/19052025/20/35/image_19052025_20_35_37_29769.jpg
MAIN: 2025-05-19 20:35:38,356 - INFO - duration: 1.446143568995467
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:36:08,909 - INFO - taking picture
MAIN: 2025-05-19 20:36:08,911 - INFO - we take 1692 photos in this while loop
MAIN: 2025-05-19 20:36:08,911 - INFO - /home/pi/Desktop/images/19052025/20/35/image_19052025_20_36_07_30328.jpg
MAIN: 2025-05-19 20:36:08,912 - INFO - duration: 1.6735447809987818
MAIN: 2025-05-19 20:36:08,913 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/36'
MAIN: 2025-05-19 20:36:09,125 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:36:38,059 - INFO - taking picture
MAIN: 2025-05-19 20:36:38,059 - INFO - we take 1693 photos in this while loop
MAIN: 2025-05-19 20:36:38,059 - INFO - /home/pi/Desktop/images/19052025/20/36/image_19052025_20_36_37_29353.jpg
MAIN: 2025-05-19 20:36:38,060 - INFO - duration: 1.4683369620033773
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:37:07,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=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-05-19 20:37:09,088 - INFO - taking picture
MAIN: 2025-05-19 20:37:09,089 - INFO - we take 1694 photos in this while loop
MAIN: 2025-05-19 20:37:09,089 - INFO - /home/pi/Desktop/images/19052025/20/36/image_19052025_20_37_08_31027.jpg
MAIN: 2025-05-19 20:37:09,090 - INFO - duration: 1.47103610799968
MAIN: 2025-05-19 20:37:09,090 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/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=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-05-19 20:37:38,018 - INFO - taking picture
MAIN: 2025-05-19 20:37:38,019 - INFO - we take 1695 photos in this while loop
MAIN: 2025-05-19 20:37:38,020 - INFO - /home/pi/Desktop/images/19052025/20/37/image_19052025_20_37_37_28950.jpg
MAIN: 2025-05-19 20:37:38,020 - INFO - duration: 1.4507542659994215
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:38:08,528 - INFO - taking picture
MAIN: 2025-05-19 20:38:08,530 - INFO - we take 1696 photos in this while loop
MAIN: 2025-05-19 20:38:08,530 - INFO - /home/pi/Desktop/images/19052025/20/37/image_19052025_20_38_07_29651.jpg
MAIN: 2025-05-19 20:38:08,531 - INFO - duration: 2.3099164349987404
MAIN: 2025-05-19 20:38:08,532 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/38'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:38:09,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:38:38,533 - INFO - taking picture
MAIN: 2025-05-19 20:38:38,534 - INFO - we take 1697 photos in this while loop
MAIN: 2025-05-19 20:38:38,534 - INFO - /home/pi/Desktop/images/19052025/20/38/image_19052025_20_38_37_30969.jpg
MAIN: 2025-05-19 20:38:38,535 - INFO - duration: 1.344629655002791
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:39:08,268 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 20:39:08,802 - INFO - taking picture
MAIN: 2025-05-19 20:39:08,803 - INFO - we take 1698 photos in this while loop
MAIN: 2025-05-19 20:39:08,804 - INFO - /home/pi/Desktop/images/19052025/20/38/image_19052025_20_39_07_29945.jpg
MAIN: 2025-05-19 20:39:08,804 - INFO - duration: 1.6686464360027458
MAIN: 2025-05-19 20:39:08,805 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/39'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 20:39:37,651 - INFO - taking picture
MAIN: 2025-05-19 20:39:37,652 - INFO - we take 1699 photos in this while loop
MAIN: 2025-05-19 20:39:37,653 - INFO - /home/pi/Desktop/images/19052025/20/39/image_19052025_20_39_36_29066.jpg
MAIN: 2025-05-19 20:39:37,653 - INFO - duration: 1.451549001998501
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:40:09,993 - INFO - taking picture
MAIN: 2025-05-19 20:40:09,995 - INFO - we take 1700 photos in this while loop
MAIN: 2025-05-19 20:40:09,995 - INFO - /home/pi/Desktop/images/19052025/20/39/image_19052025_20_40_08_31441.jpg
MAIN: 2025-05-19 20:40:09,996 - INFO - duration: 2.352971163003531
MAIN: 2025-05-19 20:40:09,998 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/40'
MAIN: 2025-05-19 20:40:10,033 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:40:38,867 - INFO - taking picture
MAIN: 2025-05-19 20:40:38,868 - INFO - we take 1701 photos in this while loop
MAIN: 2025-05-19 20:40:38,869 - INFO - /home/pi/Desktop/images/19052025/20/40/image_19052025_20_40_37_29883.jpg
MAIN: 2025-05-19 20:40:38,869 - INFO - duration: 1.3422874460011371
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:41:08,201 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 20:41:09,056 - INFO - taking picture
MAIN: 2025-05-19 20:41:09,057 - INFO - we take 1702 photos in this while loop
MAIN: 2025-05-19 20:41:09,057 - INFO - /home/pi/Desktop/images/19052025/20/40/image_19052025_20_41_08_30024.jpg
MAIN: 2025-05-19 20:41:09,058 - INFO - duration: 1.506882805006171
MAIN: 2025-05-19 20:41:09,059 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/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=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-05-19 20:41:38,320 - INFO - taking picture
MAIN: 2025-05-19 20:41:38,321 - INFO - we take 1703 photos in this while loop
MAIN: 2025-05-19 20:41:38,321 - INFO - /home/pi/Desktop/images/19052025/20/41/image_19052025_20_41_37_29432.jpg
MAIN: 2025-05-19 20:41:38,322 - INFO - duration: 1.3377986269988469
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:42:08,969 - INFO - taking picture
MAIN: 2025-05-19 20:42:08,971 - INFO - we take 1704 photos in this while loop
MAIN: 2025-05-19 20:42:08,973 - INFO - /home/pi/Desktop/images/19052025/20/41/image_19052025_20_42_07_29709.jpg
MAIN: 2025-05-19 20:42:08,973 - INFO - duration: 2.2801891029957915
MAIN: 2025-05-19 20:42:09,120 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/42'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:42:10,171 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:42:37,832 - INFO - taking picture
MAIN: 2025-05-19 20:42:37,833 - INFO - we take 1705 photos in this while loop
MAIN: 2025-05-19 20:42:37,833 - INFO - /home/pi/Desktop/images/19052025/20/42/image_19052025_20_42_37_30142.jpg
MAIN: 2025-05-19 20:42:37,833 - INFO - duration: 0.9977341109988629
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:43:07,930 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:43:08,956 - INFO - taking picture
MAIN: 2025-05-19 20:43:08,957 - INFO - we take 1706 photos in this while loop
MAIN: 2025-05-19 20:43:08,958 - INFO - /home/pi/Desktop/images/19052025/20/42/image_19052025_20_43_08_30779.jpg
MAIN: 2025-05-19 20:43:08,958 - INFO - duration: 1.3434065360052045
MAIN: 2025-05-19 20:43:08,959 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/43'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:43:37,941 - INFO - taking picture
MAIN: 2025-05-19 20:43:37,942 - INFO - we take 1707 photos in this while loop
MAIN: 2025-05-19 20:43:37,942 - INFO - /home/pi/Desktop/images/19052025/20/43/image_19052025_20_43_37_29026.jpg
MAIN: 2025-05-19 20:43:37,943 - INFO - duration: 1.3012835320041631
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:44:08,471 - INFO - taking picture
MAIN: 2025-05-19 20:44:08,473 - INFO - we take 1708 photos in this while loop
MAIN: 2025-05-19 20:44:08,474 - INFO - /home/pi/Desktop/images/19052025/20/43/image_19052025_20_44_07_29994.jpg
MAIN: 2025-05-19 20:44:08,475 - INFO - duration: 1.838060898000549
MAIN: 2025-05-19 20:44:08,509 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/44'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:44:09,577 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:44:38,886 - INFO - taking picture
MAIN: 2025-05-19 20:44:38,887 - INFO - we take 1709 photos in this while loop
MAIN: 2025-05-19 20:44:38,888 - INFO - /home/pi/Desktop/images/19052025/20/44/image_19052025_20_44_38_30821.jpg
MAIN: 2025-05-19 20:44:38,888 - INFO - duration: 1.430026046000421
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:45:09,472 - INFO - taking picture
MAIN: 2025-05-19 20:45:09,473 - INFO - we take 1710 photos in this while loop
MAIN: 2025-05-19 20:45:09,474 - INFO - /home/pi/Desktop/images/19052025/20/44/image_19052025_20_45_08_29623.jpg
MAIN: 2025-05-19 20:45:09,475 - INFO - duration: 2.3930982390011195
MAIN: 2025-05-19 20:45:09,476 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/45'
MAIN: 2025-05-19 20:45:09,892 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:45:38,630 - INFO - taking picture
MAIN: 2025-05-19 20:45:38,631 - INFO - we take 1711 photos in this while loop
MAIN: 2025-05-19 20:45:38,632 - INFO - /home/pi/Desktop/images/19052025/20/45/image_19052025_20_45_37_30087.jpg
MAIN: 2025-05-19 20:45:38,632 - INFO - duration: 1.4629041930020321
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:46:09,182 - INFO - taking picture
MAIN: 2025-05-19 20:46:09,183 - INFO - we take 1712 photos in this while loop
MAIN: 2025-05-19 20:46:09,184 - INFO - /home/pi/Desktop/images/19052025/20/45/image_19052025_20_46_08_30331.jpg
MAIN: 2025-05-19 20:46:09,185 - INFO - duration: 1.6837216929998249
MAIN: 2025-05-19 20:46:09,186 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/46'
MAIN: 2025-05-19 20:46:09,422 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:46:37,782 - INFO - taking picture
MAIN: 2025-05-19 20:46:37,783 - INFO - we take 1713 photos in this while loop
MAIN: 2025-05-19 20:46:37,783 - INFO - /home/pi/Desktop/images/19052025/20/46/image_19052025_20_46_36_28938.jpg
MAIN: 2025-05-19 20:46:37,784 - INFO - duration: 1.344632290994923
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=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-05-19 20:47:08,840 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 20:47:09,228 - INFO - taking picture
MAIN: 2025-05-19 20:47:09,229 - INFO - we take 1714 photos in this while loop
MAIN: 2025-05-19 20:47:09,229 - INFO - /home/pi/Desktop/images/19052025/20/46/image_19052025_20_47_08_31322.jpg
MAIN: 2025-05-19 20:47:09,230 - INFO - duration: 1.4682463580029435
MAIN: 2025-05-19 20:47:09,231 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/47'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=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-05-19 20:47:38,289 - INFO - taking picture
MAIN: 2025-05-19 20:47:38,290 - INFO - we take 1715 photos in this while loop
MAIN: 2025-05-19 20:47:38,291 - INFO - /home/pi/Desktop/images/19052025/20/47/image_19052025_20_47_37_29095.jpg
MAIN: 2025-05-19 20:47:38,291 - INFO - duration: 1.4343423059981433
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:48:08,509 - INFO - taking picture
MAIN: 2025-05-19 20:48:08,511 - INFO - we take 1716 photos in this while loop
MAIN: 2025-05-19 20:48:08,511 - INFO - /home/pi/Desktop/images/19052025/20/47/image_19052025_20_48_07_29599.jpg
MAIN: 2025-05-19 20:48:08,512 - INFO - duration: 2.055718394003634
MAIN: 2025-05-19 20:48:08,681 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/48'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:48:09,744 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:48:38,691 - INFO - taking picture
MAIN: 2025-05-19 20:48:38,692 - INFO - we take 1717 photos in this while loop
MAIN: 2025-05-19 20:48:38,692 - INFO - /home/pi/Desktop/images/19052025/20/48/image_19052025_20_48_37_30781.jpg
MAIN: 2025-05-19 20:48:38,692 - INFO - duration: 1.4545217490012874
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:49:08,280 - INFO - taking picture
MAIN: 2025-05-19 20:49:08,281 - INFO - we take 1718 photos in this while loop
MAIN: 2025-05-19 20:49:08,281 - INFO - /home/pi/Desktop/images/19052025/20/48/image_19052025_20_49_07_29413.jpg
MAIN: 2025-05-19 20:49:08,282 - INFO - duration: 1.6301579520004452
MAIN: 2025-05-19 20:49:08,288 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/49'
MAIN: 2025-05-19 20:49:08,990 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:49:38,504 - INFO - taking picture
MAIN: 2025-05-19 20:49:38,505 - INFO - we take 1719 photos in this while loop
MAIN: 2025-05-19 20:49:38,505 - INFO - /home/pi/Desktop/images/19052025/20/49/image_19052025_20_49_37_30421.jpg
MAIN: 2025-05-19 20:49:38,506 - INFO - duration: 1.432347023001057
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:50:10,423 - INFO - taking picture
MAIN: 2025-05-19 20:50:10,425 - INFO - we take 1720 photos in this while loop
MAIN: 2025-05-19 20:50:10,426 - INFO - /home/pi/Desktop/images/19052025/20/49/image_19052025_20_50_09_31043.jpg
MAIN: 2025-05-19 20:50:10,427 - INFO - duration: 2.310418072003813
MAIN: 2025-05-19 20:50:10,429 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/50'
MAIN: 2025-05-19 20:50:11,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:50:38,069 - INFO - taking picture
MAIN: 2025-05-19 20:50:38,070 - INFO - we take 1721 photos in this while loop
MAIN: 2025-05-19 20:50:38,070 - INFO - /home/pi/Desktop/images/19052025/20/50/image_19052025_20_50_37_28499.jpg
MAIN: 2025-05-19 20:50:38,071 - INFO - duration: 1.4551781299960567
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:51:08,390 - INFO - taking picture
MAIN: 2025-05-19 20:51:08,392 - INFO - we take 1722 photos in this while loop
MAIN: 2025-05-19 20:51:08,392 - INFO - /home/pi/Desktop/images/19052025/20/50/image_19052025_20_51_07_30279.jpg
MAIN: 2025-05-19 20:51:08,393 - INFO - duration: 1.497499074001098
MAIN: 2025-05-19 20:51:08,394 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/51'
MAIN: 2025-05-19 20:51:08,459 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:51:38,831 - INFO - taking picture
MAIN: 2025-05-19 20:51:38,832 - INFO - we take 1723 photos in this while loop
MAIN: 2025-05-19 20:51:38,832 - INFO - /home/pi/Desktop/images/19052025/20/51/image_19052025_20_51_37_30474.jpg
MAIN: 2025-05-19 20:51:38,833 - INFO - duration: 1.4628282460034825
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:52:09,278 - INFO - taking picture
MAIN: 2025-05-19 20:52:09,280 - INFO - we take 1724 photos in this while loop
MAIN: 2025-05-19 20:52:09,280 - INFO - /home/pi/Desktop/images/19052025/20/51/image_19052025_20_52_08_30269.jpg
MAIN: 2025-05-19 20:52:09,281 - INFO - duration: 1.6417810149941943
MAIN: 2025-05-19 20:52:09,282 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/52'
MAIN: 2025-05-19 20:52:09,708 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:52:38,380 - INFO - taking picture
MAIN: 2025-05-19 20:52:38,381 - INFO - we take 1725 photos in this while loop
MAIN: 2025-05-19 20:52:38,382 - INFO - /home/pi/Desktop/images/19052025/20/52/image_19052025_20_52_37_29292.jpg
MAIN: 2025-05-19 20:52:38,382 - INFO - duration: 1.4499606509998557
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:53:08,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-05-19 20:53:08,468 - INFO - taking picture
MAIN: 2025-05-19 20:53:08,469 - INFO - we take 1726 photos in this while loop
MAIN: 2025-05-19 20:53:08,470 - INFO - /home/pi/Desktop/images/19052025/20/52/image_19052025_20_53_07_29962.jpg
MAIN: 2025-05-19 20:53:08,470 - INFO - duration: 1.5761143050040118
MAIN: 2025-05-19 20:53:08,471 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/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=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-05-19 20:53:38,871 - INFO - taking picture
MAIN: 2025-05-19 20:53:38,872 - INFO - we take 1727 photos in this while loop
MAIN: 2025-05-19 20:53:38,873 - INFO - /home/pi/Desktop/images/19052025/20/53/image_19052025_20_53_37_30528.jpg
MAIN: 2025-05-19 20:53:38,873 - INFO - duration: 1.4500768069992773
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:54:09,371 - INFO - taking picture
MAIN: 2025-05-19 20:54:09,372 - INFO - we take 1728 photos in this while loop
MAIN: 2025-05-19 20:54:09,373 - INFO - /home/pi/Desktop/images/19052025/20/53/image_19052025_20_54_08_30235.jpg
MAIN: 2025-05-19 20:54:09,373 - INFO - duration: 1.7149410889978753
MAIN: 2025-05-19 20:54:09,375 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/54'
MAIN: 2025-05-19 20:54:09,442 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:54:38,648 - INFO - taking picture
MAIN: 2025-05-19 20:54:38,649 - INFO - we take 1729 photos in this while loop
MAIN: 2025-05-19 20:54:38,649 - INFO - /home/pi/Desktop/images/19052025/20/54/image_19052025_20_54_37_29503.jpg
MAIN: 2025-05-19 20:54:38,650 - INFO - duration: 1.4884070769985556
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:55:09,719 - INFO - taking picture
MAIN: 2025-05-19 20:55:09,720 - INFO - we take 1730 photos in this while loop
MAIN: 2025-05-19 20:55:09,721 - INFO - /home/pi/Desktop/images/19052025/20/54/image_19052025_20_55_08_30364.jpg
MAIN: 2025-05-19 20:55:09,722 - INFO - duration: 2.195793301994854
MAIN: 2025-05-19 20:55:09,724 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/55'
MAIN: 2025-05-19 20:55:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:55:38,751 - INFO - taking picture
MAIN: 2025-05-19 20:55:38,752 - INFO - we take 1731 photos in this while loop
MAIN: 2025-05-19 20:55:38,752 - INFO - /home/pi/Desktop/images/19052025/20/55/image_19052025_20_55_37_29775.jpg
MAIN: 2025-05-19 20:55:38,753 - INFO - duration: 1.4510834889952093
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:56:08,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 ! 
MAIN: 2025-05-19 20:56:09,065 - INFO - taking picture
MAIN: 2025-05-19 20:56:09,067 - INFO - we take 1732 photos in this while loop
MAIN: 2025-05-19 20:56:09,067 - INFO - /home/pi/Desktop/images/19052025/20/55/image_19052025_20_56_08_29956.jpg
MAIN: 2025-05-19 20:56:09,068 - INFO - duration: 1.809439287004352
MAIN: 2025-05-19 20:56:09,069 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/56'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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-05-19 20:56:38,254 - INFO - taking picture
MAIN: 2025-05-19 20:56:38,255 - INFO - we take 1733 photos in this while loop
MAIN: 2025-05-19 20:56:38,255 - INFO - /home/pi/Desktop/images/19052025/20/56/image_19052025_20_56_37_29546.jpg
MAIN: 2025-05-19 20:56:38,256 - INFO - duration: 1.4509099019996938
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=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
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:57:07,932 - INFO - taking picture
MAIN: 2025-05-19 20:57:07,933 - INFO - we take 1734 photos in this while loop
MAIN: 2025-05-19 20:57:07,934 - INFO - /home/pi/Desktop/images/19052025/20/56/image_19052025_20_57_06_29458.jpg
MAIN: 2025-05-19 20:57:07,934 - INFO - duration: 1.6714830379933119
MAIN: 2025-05-19 20:57:07,935 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/57'
MAIN: 2025-05-19 20:57:08,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 20:57:38,321 - INFO - taking picture
MAIN: 2025-05-19 20:57:38,322 - INFO - we take 1735 photos in this while loop
MAIN: 2025-05-19 20:57:38,322 - INFO - /home/pi/Desktop/images/19052025/20/57/image_19052025_20_57_37_30766.jpg
MAIN: 2025-05-19 20:57:38,323 - INFO - duration: 1.2934561509973719
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 20:58:08,738 - INFO - taking picture
MAIN: 2025-05-19 20:58:08,739 - INFO - we take 1736 photos in this while loop
MAIN: 2025-05-19 20:58:08,740 - INFO - /home/pi/Desktop/images/19052025/20/57/image_19052025_20_58_07_29905.jpg
MAIN: 2025-05-19 20:58:08,741 - INFO - duration: 1.805647320994467
MAIN: 2025-05-19 20:58:08,886 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/58'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 20:58:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 20:58:37,604 - INFO - taking picture
MAIN: 2025-05-19 20:58:37,605 - INFO - we take 1737 photos in this while loop
MAIN: 2025-05-19 20:58:37,606 - INFO - /home/pi/Desktop/images/19052025/20/58/image_19052025_20_58_36_29246.jpg
MAIN: 2025-05-19 20:58:37,606 - INFO - duration: 1.4242168899945682
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 20:59:08,371 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 20:59:09,041 - INFO - taking picture
MAIN: 2025-05-19 20:59:09,042 - INFO - we take 1738 photos in this while loop
MAIN: 2025-05-19 20:59:09,043 - INFO - /home/pi/Desktop/images/19052025/20/58/image_19052025_20_59_08_31404.jpg
MAIN: 2025-05-19 20:59:09,043 - INFO - duration: 1.456064289995993
MAIN: 2025-05-19 20:59:09,044 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/20/59'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 20:59:38,142 - INFO - taking picture
MAIN: 2025-05-19 20:59:38,143 - INFO - we take 1739 photos in this while loop
MAIN: 2025-05-19 20:59:38,144 - INFO - /home/pi/Desktop/images/19052025/20/59/image_19052025_20_59_37_29106.jpg
MAIN: 2025-05-19 20:59:38,144 - INFO - duration: 1.4511887699991348
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:00:09,248 - INFO - taking picture
MAIN: 2025-05-19 21:00:09,249 - INFO - we take 1740 photos in this while loop
MAIN: 2025-05-19 21:00:09,250 - INFO - /home/pi/Desktop/images/19052025/20/59/image_19052025_21_00_07_30152.jpg
MAIN: 2025-05-19 21:00:09,251 - INFO - duration: 2.405457884997304
MAIN: 2025-05-19 21:00:09,699 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/00'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-05-19 21:00:10,802 - INFO - cam.read() return no image
Will output and 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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:00:38,454 - INFO - taking picture
MAIN: 2025-05-19 21:00:38,455 - INFO - we take 1741 photos in this while loop
MAIN: 2025-05-19 21:00:38,456 - INFO - /home/pi/Desktop/images/19052025/21/00/image_19052025_21_00_37_30270.jpg
MAIN: 2025-05-19 21:00:38,456 - INFO - duration: 1.3400782820026507
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:01:08,770 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 21:01:09,031 - INFO - taking picture
MAIN: 2025-05-19 21:01:09,033 - INFO - we take 1742 photos in this while loop
MAIN: 2025-05-19 21:01:09,033 - INFO - /home/pi/Desktop/images/19052025/21/00/image_19052025_21_01_08_30359.jpg
MAIN: 2025-05-19 21:01:09,034 - INFO - duration: 1.5579080829993472
MAIN: 2025-05-19 21:01:09,035 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/01'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:01:37,949 - INFO - taking picture
MAIN: 2025-05-19 21:01:37,950 - INFO - we take 1743 photos in this while loop
MAIN: 2025-05-19 21:01:37,950 - INFO - /home/pi/Desktop/images/19052025/21/01/image_19052025_21_01_37_29139.jpg
MAIN: 2025-05-19 21:01:37,950 - INFO - duration: 1.3351507350016618
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:02:08,798 - INFO - taking picture
MAIN: 2025-05-19 21:02:08,799 - INFO - we take 1744 photos in this while loop
MAIN: 2025-05-19 21:02:08,800 - INFO - /home/pi/Desktop/images/19052025/21/01/image_19052025_21_02_07_30388.jpg
MAIN: 2025-05-19 21:02:08,801 - INFO - duration: 1.7970017210027436
MAIN: 2025-05-19 21:02:08,802 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/02'
MAIN: 2025-05-19 21:02:09,059 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:02:37,985 - INFO - taking picture
MAIN: 2025-05-19 21:02:37,986 - INFO - we take 1745 photos in this while loop
MAIN: 2025-05-19 21:02:37,987 - INFO - /home/pi/Desktop/images/19052025/21/02/image_19052025_21_02_37_29671.jpg
MAIN: 2025-05-19 21:02:37,987 - INFO - duration: 1.3121270400006324
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:03:08,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 ! 
MAIN: 2025-05-19 21:03:09,296 - INFO - taking picture
MAIN: 2025-05-19 21:03:09,297 - INFO - we take 1746 photos in this while loop
MAIN: 2025-05-19 21:03:09,297 - INFO - /home/pi/Desktop/images/19052025/21/02/image_19052025_21_03_08_31075.jpg
MAIN: 2025-05-19 21:03:09,298 - INFO - duration: 1.5470622650027508
MAIN: 2025-05-19 21:03:09,298 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:03:38,224 - INFO - taking picture
MAIN: 2025-05-19 21:03:38,225 - INFO - we take 1747 photos in this while loop
MAIN: 2025-05-19 21:03:38,226 - INFO - /home/pi/Desktop/images/19052025/21/03/image_19052025_21_03_37_29022.jpg
MAIN: 2025-05-19 21:03:38,226 - INFO - duration: 1.4527353829980711
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:04:09,262 - INFO - taking picture
MAIN: 2025-05-19 21:04:09,264 - INFO - we take 1748 photos in this while loop
MAIN: 2025-05-19 21:04:09,264 - INFO - /home/pi/Desktop/images/19052025/21/03/image_19052025_21_04_08_30852.jpg
MAIN: 2025-05-19 21:04:09,265 - INFO - duration: 1.638991146995977
MAIN: 2025-05-19 21:04:09,279 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/04'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:04:10,339 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:04:38,194 - INFO - taking picture
MAIN: 2025-05-19 21:04:38,195 - INFO - we take 1749 photos in this while loop
MAIN: 2025-05-19 21:04:38,196 - INFO - /home/pi/Desktop/images/19052025/21/04/image_19052025_21_04_37_29221.jpg
MAIN: 2025-05-19 21:04:38,196 - INFO - duration: 1.3487250309990486
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:05:08,628 - INFO - taking picture
MAIN: 2025-05-19 21:05:08,630 - INFO - we take 1750 photos in this while loop
MAIN: 2025-05-19 21:05:08,630 - INFO - /home/pi/Desktop/images/19052025/21/04/image_19052025_21_05_07_29667.jpg
MAIN: 2025-05-19 21:05:08,631 - INFO - duration: 2.115790992997063
MAIN: 2025-05-19 21:05:08,632 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/05'
MAIN: 2025-05-19 21:05:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:05:38,128 - INFO - taking picture
MAIN: 2025-05-19 21:05:38,129 - INFO - we take 1751 photos in this while loop
MAIN: 2025-05-19 21:05:38,129 - INFO - /home/pi/Desktop/images/19052025/21/05/image_19052025_21_05_37_30188.jpg
MAIN: 2025-05-19 21:05:38,130 - INFO - duration: 1.425639686996874
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:06:08,837 - INFO - taking picture
MAIN: 2025-05-19 21:06:08,839 - INFO - we take 1752 photos in this while loop
MAIN: 2025-05-19 21:06:08,839 - INFO - /home/pi/Desktop/images/19052025/21/05/image_19052025_21_06_07_30209.jpg
MAIN: 2025-05-19 21:06:08,840 - INFO - duration: 1.9265462870025658
MAIN: 2025-05-19 21:06:08,981 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/06'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:06:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:06:37,587 - INFO - taking picture
MAIN: 2025-05-19 21:06:37,588 - INFO - we take 1753 photos in this while loop
MAIN: 2025-05-19 21:06:37,588 - INFO - /home/pi/Desktop/images/19052025/21/06/image_19052025_21_06_36_29446.jpg
MAIN: 2025-05-19 21:06:37,589 - INFO - duration: 1.2294139699952211
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:07:07,927 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 21:07:08,832 - INFO - taking picture
MAIN: 2025-05-19 21:07:08,833 - INFO - we take 1754 photos in this while loop
MAIN: 2025-05-19 21:07:08,833 - INFO - /home/pi/Desktop/images/19052025/21/06/image_19052025_21_07_07_31001.jpg
MAIN: 2025-05-19 21:07:08,834 - INFO - duration: 1.4729729069949826
MAIN: 2025-05-19 21:07:08,835 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:07:37,839 - INFO - taking picture
MAIN: 2025-05-19 21:07:37,841 - INFO - we take 1755 photos in this while loop
MAIN: 2025-05-19 21:07:37,841 - INFO - /home/pi/Desktop/images/19052025/21/07/image_19052025_21_07_36_29016.jpg
MAIN: 2025-05-19 21:07:37,841 - INFO - duration: 1.464297037004144
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:08:08,554 - INFO - taking picture
MAIN: 2025-05-19 21:08:08,556 - INFO - we take 1756 photos in this while loop
MAIN: 2025-05-19 21:08:08,557 - INFO - /home/pi/Desktop/images/19052025/21/07/image_19052025_21_08_07_29897.jpg
MAIN: 2025-05-19 21:08:08,557 - INFO - duration: 2.282484862000274
MAIN: 2025-05-19 21:08:08,785 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/08'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:08:09,838 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:08:37,664 - INFO - taking picture
MAIN: 2025-05-19 21:08:37,665 - INFO - we take 1757 photos in this while loop
MAIN: 2025-05-19 21:08:37,666 - INFO - /home/pi/Desktop/images/19052025/21/08/image_19052025_21_08_36_29990.jpg
MAIN: 2025-05-19 21:08:37,666 - INFO - duration: 1.40043675799825
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:09:08,827 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 21:09:09,187 - INFO - taking picture
MAIN: 2025-05-19 21:09:09,189 - INFO - we take 1758 photos in this while loop
MAIN: 2025-05-19 21:09:09,189 - INFO - /home/pi/Desktop/images/19052025/21/08/image_19052025_21_09_08_31398.jpg
MAIN: 2025-05-19 21:09:09,189 - INFO - duration: 1.5250782669972978
MAIN: 2025-05-19 21:09:09,190 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/09'
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:09:38,214 - INFO - taking picture
MAIN: 2025-05-19 21:09:38,215 - INFO - we take 1759 photos in this while loop
MAIN: 2025-05-19 21:09:38,216 - INFO - /home/pi/Desktop/images/19052025/21/09/image_19052025_21_09_37_29127.jpg
MAIN: 2025-05-19 21:09:38,216 - INFO - duration: 1.4242196429986507
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:10:09,673 - INFO - taking picture
MAIN: 2025-05-19 21:10:09,674 - INFO - we take 1760 photos in this while loop
MAIN: 2025-05-19 21:10:09,675 - INFO - /home/pi/Desktop/images/19052025/21/09/image_19052025_21_10_08_30704.jpg
MAIN: 2025-05-19 21:10:09,677 - INFO - duration: 2.1804252590009128
MAIN: 2025-05-19 21:10:09,678 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/10'
MAIN: 2025-05-19 21:10:10,401 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:10:38,746 - INFO - taking picture
MAIN: 2025-05-19 21:10:38,747 - INFO - we take 1761 photos in this while loop
MAIN: 2025-05-19 21:10:38,747 - INFO - /home/pi/Desktop/images/19052025/21/10/image_19052025_21_10_37_29820.jpg
MAIN: 2025-05-19 21:10:38,747 - INFO - duration: 1.4307832050035358
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:11:08,490 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 21:11:08,541 - INFO - taking picture
MAIN: 2025-05-19 21:11:08,542 - INFO - we take 1762 photos in this while loop
MAIN: 2025-05-19 21:11:08,542 - INFO - /home/pi/Desktop/images/19052025/21/10/image_19052025_21_11_07_29710.jpg
MAIN: 2025-05-19 21:11:08,543 - INFO - duration: 1.5154570099984994
MAIN: 2025-05-19 21:11:08,544 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:11:38,653 - INFO - taking picture
MAIN: 2025-05-19 21:11:38,654 - INFO - we take 1763 photos in this while loop
MAIN: 2025-05-19 21:11:38,654 - INFO - /home/pi/Desktop/images/19052025/21/11/image_19052025_21_11_37_30306.jpg
MAIN: 2025-05-19 21:11:38,655 - INFO - duration: 1.3214058890007436
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:12:09,569 - INFO - taking picture
MAIN: 2025-05-19 21:12:09,576 - INFO - we take 1764 photos in this while loop
MAIN: 2025-05-19 21:12:09,576 - INFO - /home/pi/Desktop/images/19052025/21/11/image_19052025_21_12_08_30597.jpg
MAIN: 2025-05-19 21:12:09,577 - INFO - duration: 1.6462687910025124
MAIN: 2025-05-19 21:12:09,583 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/12'
MAIN: 2025-05-19 21:12:09,975 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:12:38,836 - INFO - taking picture
MAIN: 2025-05-19 21:12:38,837 - INFO - we take 1765 photos in this while loop
MAIN: 2025-05-19 21:12:38,837 - INFO - /home/pi/Desktop/images/19052025/21/12/image_19052025_21_12_37_29482.jpg
MAIN: 2025-05-19 21:12:38,837 - INFO - duration: 1.4244179279994569
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:13:08,030 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 21:13:08,790 - INFO - taking picture
MAIN: 2025-05-19 21:13:08,791 - INFO - we take 1766 photos in this while loop
MAIN: 2025-05-19 21:13:08,791 - INFO - /home/pi/Desktop/images/19052025/21/12/image_19052025_21_13_07_29887.jpg
MAIN: 2025-05-19 21:13:08,792 - INFO - duration: 1.4914064740005415
MAIN: 2025-05-19 21:13:08,793 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:13:37,950 - INFO - taking picture
MAIN: 2025-05-19 21:13:37,951 - INFO - we take 1767 photos in this while loop
MAIN: 2025-05-19 21:13:37,951 - INFO - /home/pi/Desktop/images/19052025/21/13/image_19052025_21_13_37_29196.jpg
MAIN: 2025-05-19 21:13:37,952 - INFO - duration: 1.454911638997146
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:14:08,386 - INFO - taking picture
MAIN: 2025-05-19 21:14:08,387 - INFO - we take 1768 photos in this while loop
MAIN: 2025-05-19 21:14:08,388 - INFO - /home/pi/Desktop/images/19052025/21/13/image_19052025_21_14_07_29882.jpg
MAIN: 2025-05-19 21:14:08,389 - INFO - duration: 2.009668753002188
MAIN: 2025-05-19 21:14:08,390 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/14'
MAIN: 2025-05-19 21:14:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:14:38,614 - INFO - taking picture
MAIN: 2025-05-19 21:14:38,615 - INFO - we take 1769 photos in this while loop
MAIN: 2025-05-19 21:14:38,615 - INFO - /home/pi/Desktop/images/19052025/21/14/image_19052025_21_14_37_31133.jpg
MAIN: 2025-05-19 21:14:38,616 - INFO - duration: 1.1034106260049157
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:15:09,654 - INFO - taking picture
MAIN: 2025-05-19 21:15:09,656 - INFO - we take 1770 photos in this while loop
MAIN: 2025-05-19 21:15:09,657 - INFO - /home/pi/Desktop/images/19052025/21/14/image_19052025_21_15_08_29943.jpg
MAIN: 2025-05-19 21:15:09,658 - INFO - duration: 2.202416939995601
MAIN: 2025-05-19 21:15:09,760 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/15'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:15:10,823 - INFO - cam.read() return no image
Will output and 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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:15:37,587 - INFO - taking picture
MAIN: 2025-05-19 21:15:37,588 - INFO - we take 1771 photos in this while loop
MAIN: 2025-05-19 21:15:37,589 - INFO - /home/pi/Desktop/images/19052025/21/15/image_19052025_21_15_36_28812.jpg
MAIN: 2025-05-19 21:15:37,589 - INFO - duration: 1.320988439998473
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:16:08,407 - INFO - taking picture
MAIN: 2025-05-19 21:16:08,408 - INFO - we take 1772 photos in this while loop
MAIN: 2025-05-19 21:16:08,408 - INFO - /home/pi/Desktop/images/19052025/21/15/image_19052025_21_16_07_29885.jpg
MAIN: 2025-05-19 21:16:08,409 - INFO - duration: 2.2552107570008957
MAIN: 2025-05-19 21:16:08,410 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/16'
MAIN: 2025-05-19 21:16:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:16:38,947 - INFO - taking picture
MAIN: 2025-05-19 21:16:38,948 - INFO - we take 1773 photos in this while loop
MAIN: 2025-05-19 21:16:38,948 - INFO - /home/pi/Desktop/images/19052025/21/16/image_19052025_21_16_38_31408.jpg
MAIN: 2025-05-19 21:16:38,949 - INFO - duration: 1.3869170929974644
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:17:08,705 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 21:17:09,051 - INFO - taking picture
MAIN: 2025-05-19 21:17:09,052 - INFO - we take 1774 photos in this while loop
MAIN: 2025-05-19 21:17:09,052 - INFO - /home/pi/Desktop/images/19052025/21/16/image_19052025_21_17_08_29958.jpg
MAIN: 2025-05-19 21:17:09,053 - INFO - duration: 1.5331364160010708
MAIN: 2025-05-19 21:17:09,054 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/17'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:17:37,815 - INFO - taking picture
MAIN: 2025-05-19 21:17:37,816 - INFO - we take 1775 photos in this while loop
MAIN: 2025-05-19 21:17:37,816 - INFO - /home/pi/Desktop/images/19052025/21/17/image_19052025_21_17_37_29286.jpg
MAIN: 2025-05-19 21:17:37,816 - INFO - duration: 1.0093856000021333
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:18:08,730 - INFO - taking picture
MAIN: 2025-05-19 21:18:08,732 - INFO - we take 1776 photos in this while loop
MAIN: 2025-05-19 21:18:08,733 - INFO - /home/pi/Desktop/images/19052025/21/17/image_19052025_21_18_07_29578.jpg
MAIN: 2025-05-19 21:18:08,734 - INFO - duration: 2.348796148005931
MAIN: 2025-05-19 21:18:09,226 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/18'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:18:10,283 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:18:37,692 - INFO - taking picture
MAIN: 2025-05-19 21:18:37,693 - INFO - we take 1777 photos in this while loop
MAIN: 2025-05-19 21:18:37,693 - INFO - /home/pi/Desktop/images/19052025/21/18/image_19052025_21_18_36_29861.jpg
MAIN: 2025-05-19 21:18:37,694 - INFO - duration: 1.4475510669944924
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:19:08,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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:19:09,113 - INFO - taking picture
MAIN: 2025-05-19 21:19:09,114 - INFO - we take 1778 photos in this while loop
MAIN: 2025-05-19 21:19:09,115 - INFO - /home/pi/Desktop/images/19052025/21/18/image_19052025_21_19_08_31341.jpg
MAIN: 2025-05-19 21:19:09,115 - INFO - duration: 1.5273391939990688
MAIN: 2025-05-19 21:19:09,116 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/19'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:19:38,239 - INFO - taking picture
MAIN: 2025-05-19 21:19:38,240 - INFO - we take 1779 photos in this while loop
MAIN: 2025-05-19 21:19:38,241 - INFO - /home/pi/Desktop/images/19052025/21/19/image_19052025_21_19_37_29472.jpg
MAIN: 2025-05-19 21:19:38,241 - INFO - duration: 1.180869358999189
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:20:09,556 - INFO - taking picture
MAIN: 2025-05-19 21:20:09,558 - INFO - we take 1780 photos in this while loop
MAIN: 2025-05-19 21:20:09,558 - INFO - /home/pi/Desktop/images/19052025/21/19/image_19052025_21_20_08_29876.jpg
MAIN: 2025-05-19 21:20:09,559 - INFO - duration: 2.6227882520033745
MAIN: 2025-05-19 21:20:09,908 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/20'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:20:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:20:38,964 - INFO - taking picture
MAIN: 2025-05-19 21:20:38,965 - INFO - we take 1781 photos in this while loop
MAIN: 2025-05-19 21:20:38,966 - INFO - /home/pi/Desktop/images/19052025/21/20/image_19052025_21_20_38_30603.jpg
MAIN: 2025-05-19 21:20:38,966 - INFO - duration: 1.4258835810032906
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:21:08,949 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 21:21:09,183 - INFO - taking picture
MAIN: 2025-05-19 21:21:09,185 - INFO - we take 1782 photos in this while loop
MAIN: 2025-05-19 21:21:09,185 - INFO - /home/pi/Desktop/images/19052025/21/20/image_19052025_21_21_08_30130.jpg
MAIN: 2025-05-19 21:21:09,186 - INFO - duration: 1.5149530620037694
MAIN: 2025-05-19 21:21:09,187 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/21'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:21:37,968 - INFO - taking picture
MAIN: 2025-05-19 21:21:37,969 - INFO - we take 1783 photos in this while loop
MAIN: 2025-05-19 21:21:37,969 - INFO - /home/pi/Desktop/images/19052025/21/21/image_19052025_21_21_37_29008.jpg
MAIN: 2025-05-19 21:21:37,970 - INFO - duration: 1.2908173370014993
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:22:08,647 - INFO - taking picture
MAIN: 2025-05-19 21:22:08,649 - INFO - we take 1784 photos in this while loop
MAIN: 2025-05-19 21:22:08,649 - INFO - /home/pi/Desktop/images/19052025/21/21/image_19052025_21_22_07_29876.jpg
MAIN: 2025-05-19 21:22:08,650 - INFO - duration: 2.0943930659996113
MAIN: 2025-05-19 21:22:08,651 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/22'
MAIN: 2025-05-19 21:22:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:22:37,565 - INFO - taking picture
MAIN: 2025-05-19 21:22:37,566 - INFO - we take 1785 photos in this while loop
MAIN: 2025-05-19 21:22:37,566 - INFO - /home/pi/Desktop/images/19052025/21/22/image_19052025_21_22_36_29717.jpg
MAIN: 2025-05-19 21:22:37,566 - INFO - duration: 1.2932519769965438
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:23:07,621 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 21:23:07,907 - INFO - taking picture
MAIN: 2025-05-19 21:23:07,908 - INFO - we take 1786 photos in this while loop
MAIN: 2025-05-19 21:23:07,909 - INFO - /home/pi/Desktop/images/19052025/21/22/image_19052025_21_23_06_29922.jpg
MAIN: 2025-05-19 21:23:07,910 - INFO - duration: 1.7143065109994495
MAIN: 2025-05-19 21:23:07,911 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:23:38,121 - INFO - taking picture
MAIN: 2025-05-19 21:23:38,122 - INFO - we take 1787 photos in this while loop
MAIN: 2025-05-19 21:23:38,122 - INFO - /home/pi/Desktop/images/19052025/21/23/image_19052025_21_23_37_30763.jpg
MAIN: 2025-05-19 21:23:38,122 - INFO - duration: 1.1637310440055444
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:24:08,527 - INFO - taking picture
MAIN: 2025-05-19 21:24:08,528 - INFO - we take 1788 photos in this while loop
MAIN: 2025-05-19 21:24:08,529 - INFO - /home/pi/Desktop/images/19052025/21/23/image_19052025_21_24_07_29466.jpg
MAIN: 2025-05-19 21:24:08,530 - INFO - duration: 2.104197089000081
MAIN: 2025-05-19 21:24:08,842 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/24'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:24:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:24:38,834 - INFO - taking picture
MAIN: 2025-05-19 21:24:38,835 - INFO - we take 1789 photos in this while loop
MAIN: 2025-05-19 21:24:38,836 - INFO - /home/pi/Desktop/images/19052025/21/24/image_19052025_21_24_37_31081.jpg
MAIN: 2025-05-19 21:24:38,836 - INFO - duration: 1.3287971419995301
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:25:08,262 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:25:09,361 - INFO - taking picture
MAIN: 2025-05-19 21:25:09,362 - INFO - we take 1790 photos in this while loop
MAIN: 2025-05-19 21:25:09,363 - INFO - /home/pi/Desktop/images/19052025/21/24/image_19052025_21_25_08_30018.jpg
MAIN: 2025-05-19 21:25:09,363 - INFO - duration: 1.8373925619962392
MAIN: 2025-05-19 21:25:09,364 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/25'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:25:38,305 - INFO - taking picture
MAIN: 2025-05-19 21:25:38,306 - INFO - we take 1791 photos in this while loop
MAIN: 2025-05-19 21:25:38,306 - INFO - /home/pi/Desktop/images/19052025/21/25/image_19052025_21_25_37_29623.jpg
MAIN: 2025-05-19 21:25:38,307 - INFO - duration: 1.1577981329974136
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:26:09,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 ! 
MAIN: 2025-05-19 21:26:09,369 - INFO - taking picture
MAIN: 2025-05-19 21:26:09,370 - INFO - we take 1792 photos in this while loop
MAIN: 2025-05-19 21:26:09,370 - INFO - /home/pi/Desktop/images/19052025/21/25/image_19052025_21_26_08_30386.jpg
MAIN: 2025-05-19 21:26:09,371 - INFO - duration: 1.8354828270021244
MAIN: 2025-05-19 21:26:09,372 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/26'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:26:37,922 - INFO - taking picture
MAIN: 2025-05-19 21:26:37,922 - INFO - we take 1793 photos in this while loop
MAIN: 2025-05-19 21:26:37,923 - INFO - /home/pi/Desktop/images/19052025/21/26/image_19052025_21_26_37_29381.jpg
MAIN: 2025-05-19 21:26:37,923 - INFO - duration: 1.0060843329993077
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:27:08,419 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 21:27:09,111 - INFO - taking picture
MAIN: 2025-05-19 21:27:09,112 - INFO - we take 1794 photos in this while loop
MAIN: 2025-05-19 21:27:09,112 - INFO - /home/pi/Desktop/images/19052025/21/26/image_19052025_21_27_08_30740.jpg
MAIN: 2025-05-19 21:27:09,113 - INFO - duration: 1.4556005880003795
MAIN: 2025-05-19 21:27:09,113 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/27'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:27:37,820 - INFO - taking picture
MAIN: 2025-05-19 21:27:37,821 - INFO - we take 1795 photos in this while loop
MAIN: 2025-05-19 21:27:37,821 - INFO - /home/pi/Desktop/images/19052025/21/27/image_19052025_21_27_37_29012.jpg
MAIN: 2025-05-19 21:27:37,821 - INFO - duration: 1.1513317839999218
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:28:09,616 - INFO - taking picture
MAIN: 2025-05-19 21:28:09,617 - INFO - we take 1796 photos in this while loop
MAIN: 2025-05-19 21:28:09,618 - INFO - /home/pi/Desktop/images/19052025/21/27/image_19052025_21_28_08_31334.jpg
MAIN: 2025-05-19 21:28:09,618 - INFO - duration: 1.613351166000939
MAIN: 2025-05-19 21:28:09,619 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/28'
MAIN: 2025-05-19 21:28:10,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:28:38,888 - INFO - taking picture
MAIN: 2025-05-19 21:28:38,889 - INFO - we take 1797 photos in this while loop
MAIN: 2025-05-19 21:28:38,890 - INFO - /home/pi/Desktop/images/19052025/21/28/image_19052025_21_28_37_29532.jpg
MAIN: 2025-05-19 21:28:38,890 - INFO - duration: 1.3528085069992812
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:29:07,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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:29:08,721 - INFO - taking picture
MAIN: 2025-05-19 21:29:08,722 - INFO - we take 1798 photos in this while loop
MAIN: 2025-05-19 21:29:08,722 - INFO - /home/pi/Desktop/images/19052025/21/28/image_19052025_21_29_07_29687.jpg
MAIN: 2025-05-19 21:29:08,723 - INFO - duration: 1.4981309579961817
MAIN: 2025-05-19 21:29:08,723 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:29:37,425 - INFO - taking picture
MAIN: 2025-05-19 21:29:37,426 - INFO - we take 1799 photos in this while loop
MAIN: 2025-05-19 21:29:37,426 - INFO - /home/pi/Desktop/images/19052025/21/29/image_19052025_21_29_36_28901.jpg
MAIN: 2025-05-19 21:29:37,426 - INFO - duration: 1.300537153998448
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:30:08,801 - INFO - taking picture
MAIN: 2025-05-19 21:30:08,803 - INFO - we take 1800 photos in this while loop
MAIN: 2025-05-19 21:30:08,804 - INFO - /home/pi/Desktop/images/19052025/21/29/image_19052025_21_30_07_30149.jpg
MAIN: 2025-05-19 21:30:08,805 - INFO - duration: 2.5292911320066196
MAIN: 2025-05-19 21:30:09,095 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/30'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:30:10,189 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:30:37,945 - INFO - taking picture
MAIN: 2025-05-19 21:30:37,946 - INFO - we take 1801 photos in this while loop
MAIN: 2025-05-19 21:30:37,947 - INFO - /home/pi/Desktop/images/19052025/21/30/image_19052025_21_30_37_30374.jpg
MAIN: 2025-05-19 21:30:37,947 - INFO - duration: 1.2969276770018041
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:31:08,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-05-19 21:31:09,317 - INFO - taking picture
MAIN: 2025-05-19 21:31:09,318 - INFO - we take 1802 photos in this while loop
MAIN: 2025-05-19 21:31:09,319 - INFO - /home/pi/Desktop/images/19052025/21/30/image_19052025_21_31_08_31208.jpg
MAIN: 2025-05-19 21:31:09,319 - INFO - duration: 1.4605452850009897
MAIN: 2025-05-19 21:31:09,320 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:31:38,282 - INFO - taking picture
MAIN: 2025-05-19 21:31:38,283 - INFO - we take 1803 photos in this while loop
MAIN: 2025-05-19 21:31:38,284 - INFO - /home/pi/Desktop/images/19052025/21/31/image_19052025_21_31_37_29079.jpg
MAIN: 2025-05-19 21:31:38,284 - INFO - duration: 1.3458382519966108
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:32:09,024 - INFO - taking picture
MAIN: 2025-05-19 21:32:09,026 - INFO - we take 1804 photos in this while loop
MAIN: 2025-05-19 21:32:09,026 - INFO - /home/pi/Desktop/images/19052025/21/31/image_19052025_21_32_08_29856.jpg
MAIN: 2025-05-19 21:32:09,027 - INFO - duration: 2.23196373799874
MAIN: 2025-05-19 21:32:09,083 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/32'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:32:10,138 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:32:37,816 - INFO - taking picture
MAIN: 2025-05-19 21:32:37,817 - INFO - we take 1805 photos in this while loop
MAIN: 2025-05-19 21:32:37,818 - INFO - /home/pi/Desktop/images/19052025/21/32/image_19052025_21_32_36_29857.jpg
MAIN: 2025-05-19 21:32:37,818 - INFO - duration: 1.166137936997984
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:33:09,139 - INFO - taking picture
MAIN: 2025-05-19 21:33:09,141 - INFO - we take 1806 photos in this while loop
MAIN: 2025-05-19 21:33:09,141 - INFO - /home/pi/Desktop/images/19052025/21/32/image_19052025_21_33_08_30874.jpg
MAIN: 2025-05-19 21:33:09,141 - INFO - duration: 1.6149337280003238
MAIN: 2025-05-19 21:33:09,142 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/33'
MAIN: 2025-05-19 21:33:09,203 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:33:38,170 - INFO - taking picture
MAIN: 2025-05-19 21:33:38,171 - INFO - we take 1807 photos in this while loop
MAIN: 2025-05-19 21:33:38,172 - INFO - /home/pi/Desktop/images/19052025/21/33/image_19052025_21_33_37_29076.jpg
MAIN: 2025-05-19 21:33:38,172 - INFO - duration: 1.568557165999664
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:34:09,084 - INFO - taking picture
MAIN: 2025-05-19 21:34:09,085 - INFO - we take 1808 photos in this while loop
MAIN: 2025-05-19 21:34:09,085 - INFO - /home/pi/Desktop/images/19052025/21/33/image_19052025_21_34_08_30883.jpg
MAIN: 2025-05-19 21:34:09,086 - INFO - duration: 1.5990734169972711
MAIN: 2025-05-19 21:34:09,087 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/34'
MAIN: 2025-05-19 21:34:09,422 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:34:38,150 - INFO - taking picture
MAIN: 2025-05-19 21:34:38,151 - INFO - we take 1809 photos in this while loop
MAIN: 2025-05-19 21:34:38,152 - INFO - /home/pi/Desktop/images/19052025/21/34/image_19052025_21_34_37_29241.jpg
MAIN: 2025-05-19 21:34:38,152 - INFO - duration: 1.4242235099954996
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:35:09,209 - INFO - taking picture
MAIN: 2025-05-19 21:35:09,210 - INFO - we take 1810 photos in this while loop
MAIN: 2025-05-19 21:35:09,211 - INFO - /home/pi/Desktop/images/19052025/21/34/image_19052025_21_35_08_30377.jpg
MAIN: 2025-05-19 21:35:09,211 - INFO - duration: 2.1059701690028305
MAIN: 2025-05-19 21:35:09,213 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/35'
MAIN: 2025-05-19 21:35:09,608 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:35:38,230 - INFO - taking picture
MAIN: 2025-05-19 21:35:38,231 - INFO - we take 1811 photos in this while loop
MAIN: 2025-05-19 21:35:38,231 - INFO - /home/pi/Desktop/images/19052025/21/35/image_19052025_21_35_37_29700.jpg
MAIN: 2025-05-19 21:35:38,231 - INFO - duration: 1.4253971929938416
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:36:08,788 - INFO - taking picture
MAIN: 2025-05-19 21:36:08,789 - INFO - we take 1812 photos in this while loop
MAIN: 2025-05-19 21:36:08,790 - INFO - /home/pi/Desktop/images/19052025/21/35/image_19052025_21_36_07_30051.jpg
MAIN: 2025-05-19 21:36:08,791 - INFO - duration: 1.9337434289991506
MAIN: 2025-05-19 21:36:08,792 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/36'
MAIN: 2025-05-19 21:36:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:36:37,930 - INFO - taking picture
MAIN: 2025-05-19 21:36:37,931 - INFO - we take 1813 photos in this while loop
MAIN: 2025-05-19 21:36:37,932 - INFO - /home/pi/Desktop/images/19052025/21/36/image_19052025_21_36_37_29640.jpg
MAIN: 2025-05-19 21:36:37,932 - INFO - duration: 1.4341590290059685
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:37:07,918 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:37:09,084 - INFO - taking picture
MAIN: 2025-05-19 21:37:09,085 - INFO - we take 1814 photos in this while loop
MAIN: 2025-05-19 21:37:09,086 - INFO - /home/pi/Desktop/images/19052025/21/36/image_19052025_21_37_08_31050.jpg
MAIN: 2025-05-19 21:37:09,086 - INFO - duration: 1.537464844994247
MAIN: 2025-05-19 21:37:09,087 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:37:38,046 - INFO - taking picture
MAIN: 2025-05-19 21:37:38,048 - INFO - we take 1815 photos in this while loop
MAIN: 2025-05-19 21:37:38,048 - INFO - /home/pi/Desktop/images/19052025/21/37/image_19052025_21_37_37_29015.jpg
MAIN: 2025-05-19 21:37:38,048 - INFO - duration: 1.484636806002527
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:38:08,548 - INFO - taking picture
MAIN: 2025-05-19 21:38:08,550 - INFO - we take 1816 photos in this while loop
MAIN: 2025-05-19 21:38:08,551 - INFO - /home/pi/Desktop/images/19052025/21/37/image_19052025_21_38_07_29812.jpg
MAIN: 2025-05-19 21:38:08,551 - INFO - duration: 2.1746596950033563
MAIN: 2025-05-19 21:38:08,553 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/38'
MAIN: 2025-05-19 21:38:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:38:37,638 - INFO - taking picture
MAIN: 2025-05-19 21:38:37,639 - INFO - we take 1817 photos in this while loop
MAIN: 2025-05-19 21:38:37,640 - INFO - /home/pi/Desktop/images/19052025/21/38/image_19052025_21_38_36_29829.jpg
MAIN: 2025-05-19 21:38:37,640 - INFO - duration: 1.4334616849955637
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:39:08,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-05-19 21:39:09,268 - INFO - taking picture
MAIN: 2025-05-19 21:39:09,269 - INFO - we take 1818 photos in this while loop
MAIN: 2025-05-19 21:39:09,270 - INFO - /home/pi/Desktop/images/19052025/21/38/image_19052025_21_39_08_31580.jpg
MAIN: 2025-05-19 21:39:09,270 - INFO - duration: 1.4829013050039066
MAIN: 2025-05-19 21:39:09,271 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/39'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:39:38,172 - INFO - taking picture
MAIN: 2025-05-19 21:39:38,173 - INFO - we take 1819 photos in this while loop
MAIN: 2025-05-19 21:39:38,173 - INFO - /home/pi/Desktop/images/19052025/21/39/image_19052025_21_39_37_28888.jpg
MAIN: 2025-05-19 21:39:38,174 - INFO - duration: 1.4979082440040656
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:40:09,914 - INFO - taking picture
MAIN: 2025-05-19 21:40:09,915 - INFO - we take 1820 photos in this while loop
MAIN: 2025-05-19 21:40:09,916 - INFO - /home/pi/Desktop/images/19052025/21/39/image_19052025_21_40_08_30729.jpg
MAIN: 2025-05-19 21:40:09,917 - INFO - duration: 2.5114395820055506
MAIN: 2025-05-19 21:40:09,918 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/40'
MAIN: 2025-05-19 21:40:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:40:37,661 - INFO - taking picture
MAIN: 2025-05-19 21:40:37,662 - INFO - we take 1821 photos in this while loop
MAIN: 2025-05-19 21:40:37,663 - INFO - /home/pi/Desktop/images/19052025/21/40/image_19052025_21_40_36_28778.jpg
MAIN: 2025-05-19 21:40:37,663 - INFO - duration: 1.4794179729942698
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:41:08,042 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 21:41:08,876 - INFO - taking picture
MAIN: 2025-05-19 21:41:08,877 - INFO - we take 1822 photos in this while loop
MAIN: 2025-05-19 21:41:08,877 - INFO - /home/pi/Desktop/images/19052025/21/40/image_19052025_21_41_07_31202.jpg
MAIN: 2025-05-19 21:41:08,878 - INFO - duration: 1.4916967369936174
MAIN: 2025-05-19 21:41:08,879 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/41'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:41:38,075 - INFO - taking picture
MAIN: 2025-05-19 21:41:38,077 - INFO - we take 1823 photos in this while loop
MAIN: 2025-05-19 21:41:38,077 - INFO - /home/pi/Desktop/images/19052025/21/41/image_19052025_21_41_37_29194.jpg
MAIN: 2025-05-19 21:41:38,078 - INFO - duration: 1.4971440939989407
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:42:08,884 - INFO - taking picture
MAIN: 2025-05-19 21:42:08,885 - INFO - we take 1824 photos in this while loop
MAIN: 2025-05-19 21:42:08,886 - INFO - /home/pi/Desktop/images/19052025/21/41/image_19052025_21_42_07_30052.jpg
MAIN: 2025-05-19 21:42:08,886 - INFO - duration: 2.252769625003566
MAIN: 2025-05-19 21:42:08,996 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/42'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:42:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:42:37,745 - INFO - taking picture
MAIN: 2025-05-19 21:42:37,746 - INFO - we take 1825 photos in this while loop
MAIN: 2025-05-19 21:42:37,746 - INFO - /home/pi/Desktop/images/19052025/21/42/image_19052025_21_42_36_29655.jpg
MAIN: 2025-05-19 21:42:37,747 - INFO - duration: 1.4581509149938938
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:43:08,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-05-19 21:43:09,308 - INFO - taking picture
MAIN: 2025-05-19 21:43:09,309 - INFO - we take 1826 photos in this while loop
MAIN: 2025-05-19 21:43:09,309 - INFO - /home/pi/Desktop/images/19052025/21/42/image_19052025_21_43_08_31439.jpg
MAIN: 2025-05-19 21:43:09,310 - INFO - duration: 1.5819028319965582
MAIN: 2025-05-19 21:43:09,310 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/43'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:43:38,434 - INFO - taking picture
MAIN: 2025-05-19 21:43:38,435 - INFO - we take 1827 photos in this while loop
MAIN: 2025-05-19 21:43:38,436 - INFO - /home/pi/Desktop/images/19052025/21/43/image_19052025_21_43_37_29228.jpg
MAIN: 2025-05-19 21:43:38,436 - INFO - duration: 1.4795695049979258
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:44:08,972 - INFO - taking picture
MAIN: 2025-05-19 21:44:08,973 - INFO - we take 1828 photos in this while loop
MAIN: 2025-05-19 21:44:08,974 - INFO - /home/pi/Desktop/images/19052025/21/43/image_19052025_21_44_07_30011.jpg
MAIN: 2025-05-19 21:44:08,974 - INFO - duration: 2.006110879003245
MAIN: 2025-05-19 21:44:08,975 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/44'
MAIN: 2025-05-19 21:44:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:44:38,196 - INFO - taking picture
MAIN: 2025-05-19 21:44:38,198 - INFO - we take 1829 photos in this while loop
MAIN: 2025-05-19 21:44:38,198 - INFO - /home/pi/Desktop/images/19052025/21/44/image_19052025_21_44_37_29914.jpg
MAIN: 2025-05-19 21:44:38,198 - INFO - duration: 1.315107838003314
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:45:09,141 - INFO - taking picture
MAIN: 2025-05-19 21:45:09,142 - INFO - we take 1830 photos in this while loop
MAIN: 2025-05-19 21:45:09,143 - INFO - /home/pi/Desktop/images/19052025/21/44/image_19052025_21_45_07_29480.jpg
MAIN: 2025-05-19 21:45:09,144 - INFO - duration: 2.779709300994
MAIN: 2025-05-19 21:45:09,145 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/45'
MAIN: 2025-05-19 21:45:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:45:38,441 - INFO - taking picture
MAIN: 2025-05-19 21:45:38,442 - INFO - we take 1831 photos in this while loop
MAIN: 2025-05-19 21:45:38,443 - INFO - /home/pi/Desktop/images/19052025/21/45/image_19052025_21_45_37_30640.jpg
MAIN: 2025-05-19 21:45:38,443 - INFO - duration: 1.4383011879981495
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:46:08,958 - INFO - taking picture
MAIN: 2025-05-19 21:46:08,959 - INFO - we take 1832 photos in this while loop
MAIN: 2025-05-19 21:46:08,960 - INFO - /home/pi/Desktop/images/19052025/21/45/image_19052025_21_46_07_29430.jpg
MAIN: 2025-05-19 21:46:08,961 - INFO - duration: 2.5255840179961524
MAIN: 2025-05-19 21:46:09,617 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/46'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:46:10,667 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:46:37,799 - INFO - taking picture
MAIN: 2025-05-19 21:46:37,800 - INFO - we take 1833 photos in this while loop
MAIN: 2025-05-19 21:46:37,800 - INFO - /home/pi/Desktop/images/19052025/21/46/image_19052025_21_46_37_30033.jpg
MAIN: 2025-05-19 21:46:37,800 - INFO - duration: 1.3319993670011172
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:47:08,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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:47:09,086 - INFO - taking picture
MAIN: 2025-05-19 21:47:09,087 - INFO - we take 1834 photos in this while loop
MAIN: 2025-05-19 21:47:09,088 - INFO - /home/pi/Desktop/images/19052025/21/46/image_19052025_21_47_08_31126.jpg
MAIN: 2025-05-19 21:47:09,088 - INFO - duration: 1.4928763000061736
MAIN: 2025-05-19 21:47:09,089 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/47'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:47:38,197 - INFO - taking picture
MAIN: 2025-05-19 21:47:38,198 - INFO - we take 1835 photos in this while loop
MAIN: 2025-05-19 21:47:38,198 - INFO - /home/pi/Desktop/images/19052025/21/47/image_19052025_21_47_37_29282.jpg
MAIN: 2025-05-19 21:47:38,199 - INFO - duration: 1.3208943749996251
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:48:09,359 - INFO - taking picture
MAIN: 2025-05-19 21:48:09,360 - INFO - we take 1836 photos in this while loop
MAIN: 2025-05-19 21:48:09,360 - INFO - /home/pi/Desktop/images/19052025/21/47/image_19052025_21_48_08_30459.jpg
MAIN: 2025-05-19 21:48:09,361 - INFO - duration: 2.023609417999978
MAIN: 2025-05-19 21:48:09,362 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/48'
MAIN: 2025-05-19 21:48:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:48:38,523 - INFO - taking picture
MAIN: 2025-05-19 21:48:38,524 - INFO - we take 1837 photos in this while loop
MAIN: 2025-05-19 21:48:38,525 - INFO - /home/pi/Desktop/images/19052025/21/48/image_19052025_21_48_37_29878.jpg
MAIN: 2025-05-19 21:48:38,525 - INFO - duration: 1.3095458440002403
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:49:08,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 ! 
MAIN: 2025-05-19 21:49:08,930 - INFO - taking picture
MAIN: 2025-05-19 21:49:08,931 - INFO - we take 1838 photos in this while loop
MAIN: 2025-05-19 21:49:08,932 - INFO - /home/pi/Desktop/images/19052025/21/48/image_19052025_21_49_08_30172.jpg
MAIN: 2025-05-19 21:49:08,932 - INFO - duration: 1.543917754002905
MAIN: 2025-05-19 21:49:08,933 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:49:37,874 - INFO - taking picture
MAIN: 2025-05-19 21:49:37,875 - INFO - we take 1839 photos in this while loop
MAIN: 2025-05-19 21:49:37,875 - INFO - /home/pi/Desktop/images/19052025/21/49/image_19052025_21_49_37_29201.jpg
MAIN: 2025-05-19 21:49:37,876 - INFO - duration: 1.2856207529985113
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:50:09,849 - INFO - taking picture
MAIN: 2025-05-19 21:50:09,850 - INFO - we take 1840 photos in this while loop
MAIN: 2025-05-19 21:50:09,851 - INFO - /home/pi/Desktop/images/19052025/21/49/image_19052025_21_50_08_30455.jpg
MAIN: 2025-05-19 21:50:09,852 - INFO - duration: 2.8071560520038474
MAIN: 2025-05-19 21:50:09,854 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/50'
MAIN: 2025-05-19 21:50:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:50:37,510 - INFO - taking picture
MAIN: 2025-05-19 21:50:37,511 - INFO - we take 1841 photos in this while loop
MAIN: 2025-05-19 21:50:37,511 - INFO - /home/pi/Desktop/images/19052025/21/50/image_19052025_21_50_36_29261.jpg
MAIN: 2025-05-19 21:50:37,512 - INFO - duration: 1.204834287003905
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:51:08,792 - INFO - taking picture
MAIN: 2025-05-19 21:51:08,794 - INFO - we take 1842 photos in this while loop
MAIN: 2025-05-19 21:51:08,794 - INFO - /home/pi/Desktop/images/19052025/21/50/image_19052025_21_51_07_30978.jpg
MAIN: 2025-05-19 21:51:08,795 - INFO - duration: 1.509666426005424
MAIN: 2025-05-19 21:51:08,796 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/51'
MAIN: 2025-05-19 21:51:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:51:38,304 - INFO - taking picture
MAIN: 2025-05-19 21:51:38,305 - INFO - we take 1843 photos in this while loop
MAIN: 2025-05-19 21:51:38,305 - INFO - /home/pi/Desktop/images/19052025/21/51/image_19052025_21_51_37_29570.jpg
MAIN: 2025-05-19 21:51:38,306 - INFO - duration: 1.4504701909972937
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:52:08,380 - INFO - taking picture
MAIN: 2025-05-19 21:52:08,381 - INFO - we take 1844 photos in this while loop
MAIN: 2025-05-19 21:52:08,382 - INFO - /home/pi/Desktop/images/19052025/21/51/image_19052025_21_52_07_29739.jpg
MAIN: 2025-05-19 21:52:08,382 - INFO - duration: 1.7871220760061988
MAIN: 2025-05-19 21:52:08,492 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/52'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:52:09,547 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:52:38,631 - INFO - taking picture
MAIN: 2025-05-19 21:52:38,632 - INFO - we take 1845 photos in this while loop
MAIN: 2025-05-19 21:52:38,632 - INFO - /home/pi/Desktop/images/19052025/21/52/image_19052025_21_52_37_30574.jpg
MAIN: 2025-05-19 21:52:38,633 - INFO - duration: 1.463555328999064
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:53:08,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 ! 
MAIN: 2025-05-19 21:53:08,825 - INFO - taking picture
MAIN: 2025-05-19 21:53:08,826 - INFO - we take 1846 photos in this while loop
MAIN: 2025-05-19 21:53:08,827 - INFO - /home/pi/Desktop/images/19052025/21/52/image_19052025_21_53_07_30066.jpg
MAIN: 2025-05-19 21:53:08,827 - INFO - duration: 1.5914581239994732
MAIN: 2025-05-19 21:53:08,829 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:53:37,858 - INFO - taking picture
MAIN: 2025-05-19 21:53:37,859 - INFO - we take 1847 photos in this while loop
MAIN: 2025-05-19 21:53:37,859 - INFO - /home/pi/Desktop/images/19052025/21/53/image_19052025_21_53_36_29194.jpg
MAIN: 2025-05-19 21:53:37,860 - INFO - duration: 1.4294490449974546
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:54:08,304 - INFO - taking picture
MAIN: 2025-05-19 21:54:08,306 - INFO - we take 1848 photos in this while loop
MAIN: 2025-05-19 21:54:08,306 - INFO - /home/pi/Desktop/images/19052025/21/53/image_19052025_21_54_07_29660.jpg
MAIN: 2025-05-19 21:54:08,307 - INFO - duration: 2.216796652006451
MAIN: 2025-05-19 21:54:08,987 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/54'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:54:10,048 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:54:37,534 - INFO - taking picture
MAIN: 2025-05-19 21:54:37,535 - INFO - we take 1849 photos in this while loop
MAIN: 2025-05-19 21:54:37,535 - INFO - /home/pi/Desktop/images/19052025/21/54/image_19052025_21_54_36_30018.jpg
MAIN: 2025-05-19 21:54:37,536 - INFO - duration: 1.427331109996885
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:55:09,118 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 21:55:09,529 - INFO - taking picture
MAIN: 2025-05-19 21:55:09,530 - INFO - we take 1850 photos in this while loop
MAIN: 2025-05-19 21:55:09,531 - INFO - /home/pi/Desktop/images/19052025/21/54/image_19052025_21_55_08_31797.jpg
MAIN: 2025-05-19 21:55:09,531 - INFO - duration: 1.6252162189994124
MAIN: 2025-05-19 21:55:09,532 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/55'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:55:38,565 - INFO - taking picture
MAIN: 2025-05-19 21:55:38,566 - INFO - we take 1851 photos in this while loop
MAIN: 2025-05-19 21:55:38,567 - INFO - /home/pi/Desktop/images/19052025/21/55/image_19052025_21_55_37_29226.jpg
MAIN: 2025-05-19 21:55:38,567 - INFO - duration: 1.4342659380054101
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:56:08,843 - INFO - taking picture
MAIN: 2025-05-19 21:56:08,844 - INFO - we take 1852 photos in this while loop
MAIN: 2025-05-19 21:56:08,845 - INFO - /home/pi/Desktop/images/19052025/21/55/image_19052025_21_56_07_29987.jpg
MAIN: 2025-05-19 21:56:08,845 - INFO - duration: 1.7252524310024455
MAIN: 2025-05-19 21:56:08,846 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/56'
MAIN: 2025-05-19 21:56:08,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:56:37,596 - INFO - taking picture
MAIN: 2025-05-19 21:56:37,597 - INFO - we take 1853 photos in this while loop
MAIN: 2025-05-19 21:56:37,597 - INFO - /home/pi/Desktop/images/19052025/21/56/image_19052025_21_56_36_29053.jpg
MAIN: 2025-05-19 21:56:37,598 - INFO - duration: 1.4244007649976993
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:57:08,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-05-19 21:57:09,274 - INFO - taking picture
MAIN: 2025-05-19 21:57:09,275 - INFO - we take 1854 photos in this while loop
MAIN: 2025-05-19 21:57:09,275 - INFO - /home/pi/Desktop/images/19052025/21/56/image_19052025_21_57_08_31578.jpg
MAIN: 2025-05-19 21:57:09,276 - INFO - duration: 1.5239725599967642
MAIN: 2025-05-19 21:57:09,277 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/57'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:57:38,553 - INFO - taking picture
MAIN: 2025-05-19 21:57:38,554 - INFO - we take 1855 photos in this while loop
MAIN: 2025-05-19 21:57:38,555 - INFO - /home/pi/Desktop/images/19052025/21/57/image_19052025_21_57_37_29341.jpg
MAIN: 2025-05-19 21:57:38,555 - INFO - duration: 1.4624681589993997
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 21:58:08,813 - INFO - taking picture
MAIN: 2025-05-19 21:58:08,814 - INFO - we take 1856 photos in this while loop
MAIN: 2025-05-19 21:58:08,815 - INFO - /home/pi/Desktop/images/19052025/21/57/image_19052025_21_58_07_29634.jpg
MAIN: 2025-05-19 21:58:08,816 - INFO - duration: 2.087943238002481
MAIN: 2025-05-19 21:58:08,817 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/21/58'
MAIN: 2025-05-19 21:58:09,710 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:58:37,821 - INFO - taking picture
MAIN: 2025-05-19 21:58:37,822 - INFO - we take 1857 photos in this while loop
MAIN: 2025-05-19 21:58:37,822 - INFO - /home/pi/Desktop/images/19052025/21/58/image_19052025_21_58_36_29665.jpg
MAIN: 2025-05-19 21:58:37,823 - INFO - duration: 1.4299583969986998
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:59:08,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 ! 
MAIN: 2025-05-19 21:59:09,120 - INFO - taking picture
MAIN: 2025-05-19 21:59:09,121 - INFO - we take 1858 photos in this while loop
MAIN: 2025-05-19 21:59:09,121 - INFO - /home/pi/Desktop/images/19052025/21/58/image_19052025_21_59_08_31092.jpg
MAIN: 2025-05-19 21:59:09,122 - INFO - duration: 1.6358026719972258
MAIN: 2025-05-19 21:59:09,122 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 21:59:38,117 - INFO - taking picture
MAIN: 2025-05-19 21:59:38,118 - INFO - we take 1859 photos in this while loop
MAIN: 2025-05-19 21:59:38,119 - INFO - /home/pi/Desktop/images/19052025/21/59/image_19052025_21_59_37_29195.jpg
MAIN: 2025-05-19 21:59:38,119 - INFO - duration: 1.4383076090016402
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:00:09,022 - INFO - taking picture
MAIN: 2025-05-19 22:00:09,023 - INFO - we take 1860 photos in this while loop
MAIN: 2025-05-19 22:00:09,024 - INFO - /home/pi/Desktop/images/19052025/21/59/image_19052025_22_00_07_29713.jpg
MAIN: 2025-05-19 22:00:09,045 - INFO - duration: 2.650647121001384
MAIN: 2025-05-19 22:00:09,332 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/00'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:00:10,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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:00:38,340 - INFO - taking picture
MAIN: 2025-05-19 22:00:38,341 - INFO - we take 1861 photos in this while loop
MAIN: 2025-05-19 22:00:38,341 - INFO - /home/pi/Desktop/images/19052025/22/00/image_19052025_22_00_37_30447.jpg
MAIN: 2025-05-19 22:00:38,342 - INFO - duration: 1.4999198040022748
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:01:08,387 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 22:01:08,636 - INFO - taking picture
MAIN: 2025-05-19 22:01:08,637 - INFO - we take 1862 photos in this while loop
MAIN: 2025-05-19 22:01:08,638 - INFO - /home/pi/Desktop/images/19052025/22/00/image_19052025_22_01_07_30297.jpg
MAIN: 2025-05-19 22:01:08,638 - INFO - duration: 1.4991959969993331
MAIN: 2025-05-19 22:01:08,639 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:01:37,709 - INFO - taking picture
MAIN: 2025-05-19 22:01:37,710 - INFO - we take 1863 photos in this while loop
MAIN: 2025-05-19 22:01:37,710 - INFO - /home/pi/Desktop/images/19052025/22/01/image_19052025_22_01_36_29122.jpg
MAIN: 2025-05-19 22:01:37,711 - INFO - duration: 1.4485085839987732
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:02:09,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 ! 
MAIN: 2025-05-19 22:02:09,779 - INFO - taking picture
MAIN: 2025-05-19 22:02:09,780 - INFO - we take 1864 photos in this while loop
MAIN: 2025-05-19 22:02:09,780 - INFO - /home/pi/Desktop/images/19052025/22/01/image_19052025_22_02_08_31911.jpg
MAIN: 2025-05-19 22:02:09,781 - INFO - duration: 1.6066423220036086
MAIN: 2025-05-19 22:02:09,782 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/02'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:02:38,604 - INFO - taking picture
MAIN: 2025-05-19 22:02:38,605 - INFO - we take 1865 photos in this while loop
MAIN: 2025-05-19 22:02:38,605 - INFO - /home/pi/Desktop/images/19052025/22/02/image_19052025_22_02_37_29105.jpg
MAIN: 2025-05-19 22:02:38,606 - INFO - duration: 1.3259535420002067
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:03:08,725 - INFO - taking picture
MAIN: 2025-05-19 22:03:08,726 - INFO - we take 1866 photos in this while loop
MAIN: 2025-05-19 22:03:08,726 - INFO - /home/pi/Desktop/images/19052025/22/02/image_19052025_22_03_07_29850.jpg
MAIN: 2025-05-19 22:03:08,727 - INFO - duration: 1.5967601760057732
MAIN: 2025-05-19 22:03:08,728 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/03'
MAIN: 2025-05-19 22:03:08,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 ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:03:37,791 - INFO - taking picture
MAIN: 2025-05-19 22:03:37,792 - INFO - we take 1867 photos in this while loop
MAIN: 2025-05-19 22:03:37,792 - INFO - /home/pi/Desktop/images/19052025/22/03/image_19052025_22_03_37_29370.jpg
MAIN: 2025-05-19 22:03:37,793 - INFO - duration: 1.2926893080002628
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:04:07,989 - INFO - taking picture
MAIN: 2025-05-19 22:04:07,991 - INFO - we take 1868 photos in this while loop
MAIN: 2025-05-19 22:04:07,991 - INFO - /home/pi/Desktop/images/19052025/22/03/image_19052025_22_04_06_29704.jpg
MAIN: 2025-05-19 22:04:07,992 - INFO - duration: 1.7866425629981677
MAIN: 2025-05-19 22:04:08,492 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/04'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:04:09,557 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:04:38,180 - INFO - taking picture
MAIN: 2025-05-19 22:04:38,181 - INFO - we take 1869 photos in this while loop
MAIN: 2025-05-19 22:04:38,182 - INFO - /home/pi/Desktop/images/19052025/22/04/image_19052025_22_04_37_30555.jpg
MAIN: 2025-05-19 22:04:38,182 - INFO - duration: 1.421413192001637
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:05:09,178 - INFO - taking picture
MAIN: 2025-05-19 22:05:09,179 - INFO - we take 1870 photos in this while loop
MAIN: 2025-05-19 22:05:09,180 - INFO - /home/pi/Desktop/images/19052025/22/04/image_19052025_22_05_08_30416.jpg
MAIN: 2025-05-19 22:05:09,181 - INFO - duration: 2.0034793320010067
MAIN: 2025-05-19 22:05:09,183 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/05'
MAIN: 2025-05-19 22:05:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:05:38,295 - INFO - taking picture
MAIN: 2025-05-19 22:05:38,296 - INFO - we take 1871 photos in this while loop
MAIN: 2025-05-19 22:05:38,296 - INFO - /home/pi/Desktop/images/19052025/22/05/image_19052025_22_05_37_29786.jpg
MAIN: 2025-05-19 22:05:38,296 - INFO - duration: 1.3325939970018226
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:06:08,859 - INFO - taking picture
MAIN: 2025-05-19 22:06:08,861 - INFO - we take 1872 photos in this while loop
MAIN: 2025-05-19 22:06:08,861 - INFO - /home/pi/Desktop/images/19052025/22/05/image_19052025_22_06_07_29820.jpg
MAIN: 2025-05-19 22:06:08,862 - INFO - duration: 2.077789605995349
MAIN: 2025-05-19 22:06:09,246 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/06'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-05-19 22:06:10,297 - INFO - cam.read() return no image
Will output and 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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:06:37,897 - INFO - taking picture
MAIN: 2025-05-19 22:06:37,898 - INFO - we take 1873 photos in this while loop
MAIN: 2025-05-19 22:06:37,898 - INFO - /home/pi/Desktop/images/19052025/22/06/image_19052025_22_06_37_29807.jpg
MAIN: 2025-05-19 22:06:37,899 - INFO - duration: 1.3070362250000471
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:07:08,143 - INFO - taking picture
MAIN: 2025-05-19 22:07:08,145 - INFO - we take 1874 photos in this while loop
MAIN: 2025-05-19 22:07:08,146 - INFO - /home/pi/Desktop/images/19052025/22/06/image_19052025_22_07_07_29628.jpg
MAIN: 2025-05-19 22:07:08,146 - INFO - duration: 1.925755340998876
MAIN: 2025-05-19 22:07:08,211 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/07'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:07:09,265 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:07:38,593 - INFO - taking picture
MAIN: 2025-05-19 22:07:38,594 - INFO - we take 1875 photos in this while loop
MAIN: 2025-05-19 22:07:38,595 - INFO - /home/pi/Desktop/images/19052025/22/07/image_19052025_22_07_37_30989.jpg
MAIN: 2025-05-19 22:07:38,595 - INFO - duration: 1.3853698870007065
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:08:09,204 - INFO - taking picture
MAIN: 2025-05-19 22:08:09,206 - INFO - we take 1876 photos in this while loop
MAIN: 2025-05-19 22:08:09,206 - INFO - /home/pi/Desktop/images/19052025/22/07/image_19052025_22_08_08_30396.jpg
MAIN: 2025-05-19 22:08:09,206 - INFO - duration: 1.5997358780005015
MAIN: 2025-05-19 22:08:09,207 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/08'
MAIN: 2025-05-19 22:08:09,717 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:08:37,824 - INFO - taking picture
MAIN: 2025-05-19 22:08:37,825 - INFO - we take 1877 photos in this while loop
MAIN: 2025-05-19 22:08:37,825 - INFO - /home/pi/Desktop/images/19052025/22/08/image_19052025_22_08_36_29024.jpg
MAIN: 2025-05-19 22:08:37,826 - INFO - duration: 1.1942962410030304
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:09:08,060 - INFO - taking picture
MAIN: 2025-05-19 22:09:08,061 - INFO - we take 1878 photos in this while loop
MAIN: 2025-05-19 22:09:08,062 - INFO - /home/pi/Desktop/images/19052025/22/08/image_19052025_22_09_07_29653.jpg
MAIN: 2025-05-19 22:09:08,062 - INFO - duration: 1.7774651549989358
MAIN: 2025-05-19 22:09:08,063 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/09'
MAIN: 2025-05-19 22:09:08,703 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:09:38,645 - INFO - taking picture
MAIN: 2025-05-19 22:09:38,646 - INFO - we take 1879 photos in this while loop
MAIN: 2025-05-19 22:09:38,646 - INFO - /home/pi/Desktop/images/19052025/22/09/image_19052025_22_09_37_30937.jpg
MAIN: 2025-05-19 22:09:38,646 - INFO - duration: 1.423851002997253
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:10:09,421 - INFO - taking picture
MAIN: 2025-05-19 22:10:09,422 - INFO - we take 1880 photos in this while loop
MAIN: 2025-05-19 22:10:09,423 - INFO - /home/pi/Desktop/images/19052025/22/09/image_19052025_22_10_08_29932.jpg
MAIN: 2025-05-19 22:10:09,423 - INFO - duration: 2.267822168993007
MAIN: 2025-05-19 22:10:10,087 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/10'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:10:11,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:10:38,777 - INFO - taking picture
MAIN: 2025-05-19 22:10:38,782 - INFO - we take 1881 photos in this while loop
MAIN: 2025-05-19 22:10:38,783 - INFO - /home/pi/Desktop/images/19052025/22/10/image_19052025_22_10_37_30195.jpg
MAIN: 2025-05-19 22:10:38,783 - INFO - duration: 1.4317252959954203
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:11:08,562 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 22:11:08,808 - INFO - taking picture
MAIN: 2025-05-19 22:11:08,810 - INFO - we take 1882 photos in this while loop
MAIN: 2025-05-19 22:11:08,810 - INFO - /home/pi/Desktop/images/19052025/22/10/image_19052025_22_11_07_29939.jpg
MAIN: 2025-05-19 22:11:08,810 - INFO - duration: 1.519454973997199
MAIN: 2025-05-19 22:11:08,811 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:11:37,853 - INFO - taking picture
MAIN: 2025-05-19 22:11:37,854 - INFO - we take 1883 photos in this while loop
MAIN: 2025-05-19 22:11:37,855 - INFO - /home/pi/Desktop/images/19052025/22/11/image_19052025_22_11_36_29138.jpg
MAIN: 2025-05-19 22:11:37,855 - INFO - duration: 1.4258670210037963
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:12:09,016 - INFO - taking picture
MAIN: 2025-05-19 22:12:09,017 - INFO - we take 1884 photos in this while loop
MAIN: 2025-05-19 22:12:09,017 - INFO - /home/pi/Desktop/images/19052025/22/11/image_19052025_22_12_08_30970.jpg
MAIN: 2025-05-19 22:12:09,018 - INFO - duration: 1.6176532949975808
MAIN: 2025-05-19 22:12:09,019 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/12'
MAIN: 2025-05-19 22:12:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:12:38,252 - INFO - taking picture
MAIN: 2025-05-19 22:12:38,253 - INFO - we take 1885 photos in this while loop
MAIN: 2025-05-19 22:12:38,254 - INFO - /home/pi/Desktop/images/19052025/22/12/image_19052025_22_12_37_29401.jpg
MAIN: 2025-05-19 22:12:38,254 - INFO - duration: 1.452315901995462
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:13:08,000 - INFO - taking picture
MAIN: 2025-05-19 22:13:08,001 - INFO - we take 1886 photos in this while loop
MAIN: 2025-05-19 22:13:08,001 - INFO - /home/pi/Desktop/images/19052025/22/12/image_19052025_22_13_06_29361.jpg
MAIN: 2025-05-19 22:13:08,002 - INFO - duration: 1.8384456919957302
MAIN: 2025-05-19 22:13:08,056 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/13'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:13:09,110 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:13:38,371 - INFO - taking picture
MAIN: 2025-05-19 22:13:38,372 - INFO - we take 1887 photos in this while loop
MAIN: 2025-05-19 22:13:38,372 - INFO - /home/pi/Desktop/images/19052025/22/13/image_19052025_22_13_37_30759.jpg
MAIN: 2025-05-19 22:13:38,373 - INFO - duration: 1.449955793999834
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:14:08,761 - INFO - taking picture
MAIN: 2025-05-19 22:14:08,762 - INFO - we take 1888 photos in this while loop
MAIN: 2025-05-19 22:14:08,762 - INFO - /home/pi/Desktop/images/19052025/22/13/image_19052025_22_14_07_30205.jpg
MAIN: 2025-05-19 22:14:08,763 - INFO - duration: 1.6345244040057878
MAIN: 2025-05-19 22:14:08,764 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/14'
MAIN: 2025-05-19 22:14:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:14:37,870 - INFO - taking picture
MAIN: 2025-05-19 22:14:37,871 - INFO - we take 1889 photos in this while loop
MAIN: 2025-05-19 22:14:37,871 - INFO - /home/pi/Desktop/images/19052025/22/14/image_19052025_22_14_36_29320.jpg
MAIN: 2025-05-19 22:14:37,871 - INFO - duration: 1.4228670910015353
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:15:08,853 - INFO - taking picture
MAIN: 2025-05-19 22:15:08,854 - INFO - we take 1890 photos in this while loop
MAIN: 2025-05-19 22:15:08,855 - INFO - /home/pi/Desktop/images/19052025/22/14/image_19052025_22_15_07_30116.jpg
MAIN: 2025-05-19 22:15:08,856 - INFO - duration: 2.2915283550028107
MAIN: 2025-05-19 22:15:08,858 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/15'
MAIN: 2025-05-19 22:15:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:15:37,817 - INFO - taking picture
MAIN: 2025-05-19 22:15:37,818 - INFO - we take 1891 photos in this while loop
MAIN: 2025-05-19 22:15:37,818 - INFO - /home/pi/Desktop/images/19052025/22/15/image_19052025_22_15_37_30183.jpg
MAIN: 2025-05-19 22:15:37,818 - INFO - duration: 1.0699704090002342
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0

 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (0, 0, 3840, 2160)
 zoom  (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-05-19 22:16:08,593 - INFO - taking picture
MAIN: 2025-05-19 22:16:08,594 - INFO - we take 1892 photos in this while loop
MAIN: 2025-05-19 22:16:08,594 - INFO - /home/pi/Desktop/images/19052025/22/15/image_19052025_22_16_07_29707.jpg
MAIN: 2025-05-19 22:16:08,595 - INFO - duration: 2.1391819450000185
MAIN: 2025-05-19 22:16:08,652 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/16'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:16:09,703 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:16:37,487 - INFO - taking picture
MAIN: 2025-05-19 22:16:37,488 - INFO - we take 1893 photos in this while loop
MAIN: 2025-05-19 22:16:37,489 - INFO - /home/pi/Desktop/images/19052025/22/16/image_19052025_22_16_36_29735.jpg
MAIN: 2025-05-19 22:16:37,489 - INFO - duration: 1.2976841010022326
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:17:09,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-05-19 22:17:09,290 - INFO - taking picture
MAIN: 2025-05-19 22:17:09,291 - INFO - we take 1894 photos in this while loop
MAIN: 2025-05-19 22:17:09,292 - INFO - /home/pi/Desktop/images/19052025/22/16/image_19052025_22_17_08_31581.jpg
MAIN: 2025-05-19 22:17:09,292 - INFO - duration: 1.519995934999315
MAIN: 2025-05-19 22:17:09,293 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:17:38,334 - INFO - taking picture
MAIN: 2025-05-19 22:17:38,335 - INFO - we take 1895 photos in this while loop
MAIN: 2025-05-19 22:17:38,335 - INFO - /home/pi/Desktop/images/19052025/22/17/image_19052025_22_17_37_29112.jpg
MAIN: 2025-05-19 22:17:38,336 - INFO - duration: 1.4509189950040309
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:18:09,081 - INFO - taking picture
MAIN: 2025-05-19 22:18:09,082 - INFO - we take 1896 photos in this while loop
MAIN: 2025-05-19 22:18:09,083 - INFO - /home/pi/Desktop/images/19052025/22/17/image_19052025_22_18_08_30390.jpg
MAIN: 2025-05-19 22:18:09,083 - INFO - duration: 1.8075451030017575
MAIN: 2025-05-19 22:18:09,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/18'
MAIN: 2025-05-19 22:18:09,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:18:37,896 - INFO - taking picture
MAIN: 2025-05-19 22:18:37,897 - INFO - we take 1897 photos in this while loop
MAIN: 2025-05-19 22:18:37,898 - INFO - /home/pi/Desktop/images/19052025/22/18/image_19052025_22_18_37_29170.jpg
MAIN: 2025-05-19 22:18:37,898 - INFO - duration: 1.4524066840021987
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:19:07,880 - INFO - taking picture
MAIN: 2025-05-19 22:19:07,881 - INFO - we take 1898 photos in this while loop
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:19:07,881 - INFO - /home/pi/Desktop/images/19052025/22/18/image_19052025_22_19_06_29705.jpg
MAIN: 2025-05-19 22:19:07,882 - INFO - duration: 1.730947459996969
MAIN: 2025-05-19 22:19:07,883 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/19'
MAIN: 2025-05-19 22:19:08,893 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:19:38,440 - INFO - taking picture
MAIN: 2025-05-19 22:19:38,441 - INFO - we take 1899 photos in this while loop
MAIN: 2025-05-19 22:19:38,442 - INFO - /home/pi/Desktop/images/19052025/22/19/image_19052025_22_19_37_31001.jpg
MAIN: 2025-05-19 22:19:38,442 - INFO - duration: 1.2890720380019047
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:20:09,037 - INFO - taking picture
MAIN: 2025-05-19 22:20:09,039 - INFO - we take 1900 photos in this while loop
MAIN: 2025-05-19 22:20:09,039 - INFO - /home/pi/Desktop/images/19052025/22/19/image_19052025_22_20_07_28951.jpg
MAIN: 2025-05-19 22:20:09,040 - INFO - duration: 2.935295531999145
MAIN: 2025-05-19 22:20:10,021 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/20'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:20:11,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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:20:37,843 - INFO - taking picture
MAIN: 2025-05-19 22:20:37,843 - INFO - we take 1901 photos in this while loop
MAIN: 2025-05-19 22:20:37,843 - INFO - /home/pi/Desktop/images/19052025/22/20/image_19052025_22_20_37_30462.jpg
MAIN: 2025-05-19 22:20:37,844 - INFO - duration: 1.2766820399992866
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:21:09,032 - INFO - taking picture
MAIN: 2025-05-19 22:21:09,033 - INFO - we take 1902 photos in this while loop
MAIN: 2025-05-19 22:21:09,034 - INFO - /home/pi/Desktop/images/19052025/22/20/image_19052025_22_21_08_30841.jpg
MAIN: 2025-05-19 22:21:09,034 - INFO - duration: 1.6252660250029294
MAIN: 2025-05-19 22:21:09,035 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/21'
MAIN: 2025-05-19 22:21:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:21:37,898 - INFO - taking picture
MAIN: 2025-05-19 22:21:37,900 - INFO - we take 1903 photos in this while loop
MAIN: 2025-05-19 22:21:37,900 - INFO - /home/pi/Desktop/images/19052025/22/21/image_19052025_22_21_37_29159.jpg
MAIN: 2025-05-19 22:21:37,900 - INFO - duration: 1.3319264140009182
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:22:08,177 - INFO - taking picture
MAIN: 2025-05-19 22:22:08,178 - INFO - we take 1904 photos in this while loop
MAIN: 2025-05-19 22:22:08,179 - INFO - /home/pi/Desktop/images/19052025/22/21/image_19052025_22_22_07_29626.jpg
MAIN: 2025-05-19 22:22:08,179 - INFO - duration: 1.9841283639980247
MAIN: 2025-05-19 22:22:08,181 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/22'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:22:09,243 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:22:38,308 - INFO - taking picture
MAIN: 2025-05-19 22:22:38,309 - INFO - we take 1905 photos in this while loop
MAIN: 2025-05-19 22:22:38,309 - INFO - /home/pi/Desktop/images/19052025/22/22/image_19052025_22_22_37_30825.jpg
MAIN: 2025-05-19 22:22:38,310 - INFO - duration: 1.2888880819955375
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:23:08,617 - INFO - taking picture
MAIN: 2025-05-19 22:23:08,618 - INFO - we take 1906 photos in this while loop
MAIN: 2025-05-19 22:23:08,619 - INFO - /home/pi/Desktop/images/19052025/22/22/image_19052025_22_23_07_30051.jpg
MAIN: 2025-05-19 22:23:08,619 - INFO - duration: 1.5465760020015296
MAIN: 2025-05-19 22:23:08,620 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/23'
MAIN: 2025-05-19 22:23:08,828 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:23:37,521 - INFO - taking picture
MAIN: 2025-05-19 22:23:37,522 - INFO - we take 1907 photos in this while loop
MAIN: 2025-05-19 22:23:37,522 - INFO - /home/pi/Desktop/images/19052025/22/23/image_19052025_22_23_36_29020.jpg
MAIN: 2025-05-19 22:23:37,523 - INFO - duration: 1.4296974539975054
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:24:08,503 - INFO - taking picture
MAIN: 2025-05-19 22:24:08,504 - INFO - we take 1908 photos in this while loop
MAIN: 2025-05-19 22:24:08,505 - INFO - /home/pi/Desktop/images/19052025/22/23/image_19052025_22_24_07_30361.jpg
MAIN: 2025-05-19 22:24:08,506 - INFO - duration: 2.051550992000557
MAIN: 2025-05-19 22:24:09,415 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/24'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Corrupt JPEG data: premature end of data segment
MAIN: 2025-05-19 22:24:10,467 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:24:37,477 - INFO - taking picture
MAIN: 2025-05-19 22:24:37,478 - INFO - we take 1909 photos in this while loop
MAIN: 2025-05-19 22:24:37,478 - INFO - /home/pi/Desktop/images/19052025/22/24/image_19052025_22_24_36_29912.jpg
MAIN: 2025-05-19 22:24:37,478 - INFO - duration: 1.1112806370001636
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:25:09,476 - INFO - taking picture
MAIN: 2025-05-19 22:25:09,478 - INFO - we take 1910 photos in this while loop
MAIN: 2025-05-19 22:25:09,478 - INFO - /home/pi/Desktop/images/19052025/22/24/image_19052025_22_25_08_31318.jpg
MAIN: 2025-05-19 22:25:09,479 - INFO - duration: 1.7931860940007027
MAIN: 2025-05-19 22:25:09,480 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/25'
MAIN: 2025-05-19 22:25:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:25:38,663 - INFO - taking picture
MAIN: 2025-05-19 22:25:38,664 - INFO - we take 1911 photos in this while loop
MAIN: 2025-05-19 22:25:38,664 - INFO - /home/pi/Desktop/images/19052025/22/25/image_19052025_22_25_37_29555.jpg
MAIN: 2025-05-19 22:25:38,665 - INFO - duration: 1.4242745130031835
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:26:09,277 - INFO - taking picture
MAIN: 2025-05-19 22:26:09,278 - INFO - we take 1912 photos in this while loop
MAIN: 2025-05-19 22:26:09,279 - INFO - /home/pi/Desktop/images/19052025/22/25/image_19052025_22_26_08_30288.jpg
MAIN: 2025-05-19 22:26:09,279 - INFO - duration: 1.7504341520034359
MAIN: 2025-05-19 22:26:09,280 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/26'
MAIN: 2025-05-19 22:26:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:26:38,251 - INFO - taking picture
MAIN: 2025-05-19 22:26:38,252 - INFO - we take 1913 photos in this while loop
MAIN: 2025-05-19 22:26:38,252 - INFO - /home/pi/Desktop/images/19052025/22/26/image_19052025_22_26_37_29296.jpg
MAIN: 2025-05-19 22:26:38,253 - INFO - duration: 1.4273313359954045
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:27:08,232 - INFO - taking picture
MAIN: 2025-05-19 22:27:08,233 - INFO - we take 1914 photos in this while loop
MAIN: 2025-05-19 22:27:08,234 - INFO - /home/pi/Desktop/images/19052025/22/26/image_19052025_22_27_07_29729.jpg
MAIN: 2025-05-19 22:27:08,235 - INFO - duration: 1.679931320999458
MAIN: 2025-05-19 22:27:08,236 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/27'
MAIN: 2025-05-19 22:27:08,724 - INFO - cam.read() return no image
Will output and 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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:27:38,803 - INFO - taking picture
MAIN: 2025-05-19 22:27:38,804 - INFO - we take 1915 photos in this while loop
MAIN: 2025-05-19 22:27:38,805 - INFO - /home/pi/Desktop/images/19052025/22/27/image_19052025_22_27_37_30826.jpg
MAIN: 2025-05-19 22:27:38,805 - INFO - duration: 1.4240786770023988
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:28:09,440 - INFO - taking picture
MAIN: 2025-05-19 22:28:09,441 - INFO - we take 1916 photos in this while loop
MAIN: 2025-05-19 22:28:09,442 - INFO - /home/pi/Desktop/images/19052025/22/27/image_19052025_22_28_08_30059.jpg
MAIN: 2025-05-19 22:28:09,443 - INFO - duration: 2.0022051760024624
MAIN: 2025-05-19 22:28:09,444 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/28'
MAIN: 2025-05-19 22:28:09,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:28:38,227 - INFO - taking picture
MAIN: 2025-05-19 22:28:38,228 - INFO - we take 1917 photos in this while loop
MAIN: 2025-05-19 22:28:38,228 - INFO - /home/pi/Desktop/images/19052025/22/28/image_19052025_22_28_37_29710.jpg
MAIN: 2025-05-19 22:28:38,228 - INFO - duration: 1.07736054599809
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:29:08,155 - INFO - taking picture
MAIN: 2025-05-19 22:29:08,156 - INFO - we take 1918 photos in this while loop
MAIN: 2025-05-19 22:29:08,157 - INFO - /home/pi/Desktop/images/19052025/22/28/image_19052025_22_29_07_29205.jpg
MAIN: 2025-05-19 22:29:08,157 - INFO - duration: 1.8011602900005528
MAIN: 2025-05-19 22:29:08,158 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/29'
MAIN: 2025-05-19 22:29:08,276 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:29:38,255 - INFO - taking picture
MAIN: 2025-05-19 22:29:38,256 - INFO - we take 1919 photos in this while loop
MAIN: 2025-05-19 22:29:38,256 - INFO - /home/pi/Desktop/images/19052025/22/29/image_19052025_22_29_37_30603.jpg
MAIN: 2025-05-19 22:29:38,256 - INFO - duration: 1.297016917997098
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:30:10,252 - INFO - taking picture
MAIN: 2025-05-19 22:30:10,253 - INFO - we take 1920 photos in this while loop
MAIN: 2025-05-19 22:30:10,254 - INFO - /home/pi/Desktop/images/19052025/22/29/image_19052025_22_30_09_31005.jpg
MAIN: 2025-05-19 22:30:10,254 - INFO - duration: 2.2894902549960534
MAIN: 2025-05-19 22:30:10,256 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/30'
MAIN: 2025-05-19 22:30:10,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:30:37,774 - INFO - taking picture
MAIN: 2025-05-19 22:30:37,775 - INFO - we take 1921 photos in this while loop
MAIN: 2025-05-19 22:30:37,775 - INFO - /home/pi/Desktop/images/19052025/22/30/image_19052025_22_30_37_28619.jpg
MAIN: 2025-05-19 22:30:37,776 - INFO - duration: 1.1914797369972803
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:31:08,942 - INFO - taking picture
MAIN: 2025-05-19 22:31:08,943 - INFO - we take 1922 photos in this while loop
MAIN: 2025-05-19 22:31:08,943 - INFO - /home/pi/Desktop/images/19052025/22/30/image_19052025_22_31_08_30837.jpg
MAIN: 2025-05-19 22:31:08,944 - INFO - duration: 1.5221147700067377
MAIN: 2025-05-19 22:31:08,944 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/31'
MAIN: 2025-05-19 22:31:09,157 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:31:37,404 - INFO - taking picture
MAIN: 2025-05-19 22:31:37,405 - INFO - we take 1923 photos in this while loop
MAIN: 2025-05-19 22:31:37,405 - INFO - /home/pi/Desktop/images/19052025/22/31/image_19052025_22_31_37_29038.jpg
MAIN: 2025-05-19 22:31:37,405 - INFO - duration: 0.9452520609993371
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:32:08,828 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 22:32:09,344 - INFO - taking picture
MAIN: 2025-05-19 22:32:09,345 - INFO - we take 1924 photos in this while loop
MAIN: 2025-05-19 22:32:09,345 - INFO - /home/pi/Desktop/images/19052025/22/31/image_19052025_22_32_08_31361.jpg
MAIN: 2025-05-19 22:32:09,345 - INFO - duration: 1.5244244869973045
MAIN: 2025-05-19 22:32:09,346 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:32:38,280 - INFO - taking picture
MAIN: 2025-05-19 22:32:38,281 - INFO - we take 1925 photos in this while loop
MAIN: 2025-05-19 22:32:38,281 - INFO - /home/pi/Desktop/images/19052025/22/32/image_19052025_22_32_37_29134.jpg
MAIN: 2025-05-19 22:32:38,282 - INFO - duration: 1.326196993002668
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:33:08,161 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 22:33:08,347 - INFO - taking picture
MAIN: 2025-05-19 22:33:08,348 - INFO - we take 1926 photos in this while loop
MAIN: 2025-05-19 22:33:08,349 - INFO - /home/pi/Desktop/images/19052025/22/32/image_19052025_22_33_07_29783.jpg
MAIN: 2025-05-19 22:33:08,349 - INFO - duration: 1.6101097560022026
MAIN: 2025-05-19 22:33:08,350 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/33'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:33:38,535 - INFO - taking picture
MAIN: 2025-05-19 22:33:38,537 - INFO - we take 1927 photos in this while loop
MAIN: 2025-05-19 22:33:38,537 - INFO - /home/pi/Desktop/images/19052025/22/33/image_19052025_22_33_37_30598.jpg
MAIN: 2025-05-19 22:33:38,537 - INFO - duration: 1.2003965730036725
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:34:09,043 - INFO - taking picture
MAIN: 2025-05-19 22:34:09,044 - INFO - we take 1928 photos in this while loop
MAIN: 2025-05-19 22:34:09,045 - INFO - /home/pi/Desktop/images/19052025/22/33/image_19052025_22_34_08_29708.jpg
MAIN: 2025-05-19 22:34:09,046 - INFO - duration: 2.0003424110036576
MAIN: 2025-05-19 22:34:09,142 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/34'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:34:10,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:34:37,861 - INFO - taking picture
MAIN: 2025-05-19 22:34:37,862 - INFO - we take 1929 photos in this while loop
MAIN: 2025-05-19 22:34:37,862 - INFO - /home/pi/Desktop/images/19052025/22/34/image_19052025_22_34_36_29523.jpg
MAIN: 2025-05-19 22:34:37,863 - INFO - duration: 1.2942947490009828
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:35:08,799 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 22:35:09,076 - INFO - taking picture
MAIN: 2025-05-19 22:35:09,077 - INFO - we take 1930 photos in this while loop
MAIN: 2025-05-19 22:35:09,078 - INFO - /home/pi/Desktop/images/19052025/22/34/image_19052025_22_35_08_30348.jpg
MAIN: 2025-05-19 22:35:09,079 - INFO - duration: 2.162383344999398
MAIN: 2025-05-19 22:35:09,081 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/35'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:35:38,058 - INFO - taking picture
MAIN: 2025-05-19 22:35:38,059 - INFO - we take 1931 photos in this while loop
MAIN: 2025-05-19 22:35:38,060 - INFO - /home/pi/Desktop/images/19052025/22/35/image_19052025_22_35_37_29769.jpg
MAIN: 2025-05-19 22:35:38,060 - INFO - duration: 1.3731137099966872
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:36:08,482 - INFO - taking picture
MAIN: 2025-05-19 22:36:08,483 - INFO - we take 1932 photos in this while loop
MAIN: 2025-05-19 22:36:08,483 - INFO - /home/pi/Desktop/images/19052025/22/35/image_19052025_22_36_07_29838.jpg
MAIN: 2025-05-19 22:36:08,484 - INFO - duration: 1.9587564800021937
MAIN: 2025-05-19 22:36:08,485 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/36'
MAIN: 2025-05-19 22:36:08,737 - INFO - cam.read() return no image
Will output and 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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:36:37,849 - INFO - taking picture
MAIN: 2025-05-19 22:36:37,850 - INFO - we take 1933 photos in this while loop
MAIN: 2025-05-19 22:36:37,850 - INFO - /home/pi/Desktop/images/19052025/22/36/image_19052025_22_36_36_30004.jpg
MAIN: 2025-05-19 22:36:37,851 - INFO - duration: 1.321132901000965
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:37:08,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 ! 
MAIN: 2025-05-19 22:37:09,370 - INFO - taking picture
MAIN: 2025-05-19 22:37:09,371 - INFO - we take 1934 photos in this while loop
MAIN: 2025-05-19 22:37:09,372 - INFO - /home/pi/Desktop/images/19052025/22/36/image_19052025_22_37_08_31328.jpg
MAIN: 2025-05-19 22:37:09,372 - INFO - duration: 1.5145127729992964
MAIN: 2025-05-19 22:37:09,373 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:37:38,045 - INFO - taking picture
MAIN: 2025-05-19 22:37:38,046 - INFO - we take 1935 photos in this while loop
MAIN: 2025-05-19 22:37:38,046 - INFO - /home/pi/Desktop/images/19052025/22/37/image_19052025_22_37_37_28755.jpg
MAIN: 2025-05-19 22:37:38,046 - INFO - duration: 1.4330582620023051
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:38:08,896 - INFO - taking picture
MAIN: 2025-05-19 22:38:08,897 - INFO - we take 1936 photos in this while loop
MAIN: 2025-05-19 22:38:08,898 - INFO - /home/pi/Desktop/images/19052025/22/37/image_19052025_22_38_07_30037.jpg
MAIN: 2025-05-19 22:38:08,899 - INFO - duration: 2.2477911640016828
MAIN: 2025-05-19 22:38:09,084 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/38'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:38:10,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
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:38:37,759 - INFO - taking picture
MAIN: 2025-05-19 22:38:37,760 - INFO - we take 1937 photos in this while loop
MAIN: 2025-05-19 22:38:37,760 - INFO - /home/pi/Desktop/images/19052025/22/38/image_19052025_22_38_36_29686.jpg
MAIN: 2025-05-19 22:38:37,761 - INFO - duration: 1.4234556200026418
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:39:08,939 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 22:39:09,288 - INFO - taking picture
MAIN: 2025-05-19 22:39:09,289 - INFO - we take 1938 photos in this while loop
MAIN: 2025-05-19 22:39:09,290 - INFO - /home/pi/Desktop/images/19052025/22/38/image_19052025_22_39_08_31483.jpg
MAIN: 2025-05-19 22:39:09,290 - INFO - duration: 1.4698143700006767
MAIN: 2025-05-19 22:39:09,291 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/39'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:39:37,810 - INFO - taking picture
MAIN: 2025-05-19 22:39:37,812 - INFO - we take 1939 photos in this while loop
MAIN: 2025-05-19 22:39:37,812 - INFO - /home/pi/Desktop/images/19052025/22/39/image_19052025_22_39_36_28731.jpg
MAIN: 2025-05-19 22:39:37,812 - INFO - duration: 1.2605373740007053
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:40:09,103 - INFO - taking picture
MAIN: 2025-05-19 22:40:09,104 - INFO - we take 1940 photos in this while loop
MAIN: 2025-05-19 22:40:09,105 - INFO - /home/pi/Desktop/images/19052025/22/39/image_19052025_22_40_07_29843.jpg
MAIN: 2025-05-19 22:40:09,106 - INFO - duration: 2.7107694700025604
MAIN: 2025-05-19 22:40:09,769 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/40'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:40:10,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:40:38,037 - INFO - taking picture
MAIN: 2025-05-19 22:40:38,038 - INFO - we take 1941 photos in this while loop
MAIN: 2025-05-19 22:40:38,038 - INFO - /home/pi/Desktop/images/19052025/22/40/image_19052025_22_40_37_30467.jpg
MAIN: 2025-05-19 22:40:38,038 - INFO - duration: 1.175250259002496
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:41:08,003 - INFO - taking picture
MAIN: 2025-05-19 22:41:08,004 - INFO - we take 1942 photos in this while loop
MAIN: 2025-05-19 22:41:08,005 - INFO - /home/pi/Desktop/images/19052025/22/40/image_19052025_22_41_07_29542.jpg
MAIN: 2025-05-19 22:41:08,005 - INFO - duration: 1.600280989005114
MAIN: 2025-05-19 22:41:08,006 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/41'
MAIN: 2025-05-19 22:41:08,521 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:41:38,685 - INFO - taking picture
MAIN: 2025-05-19 22:41:38,686 - INFO - we take 1943 photos in this while loop
MAIN: 2025-05-19 22:41:38,686 - INFO - /home/pi/Desktop/images/19052025/22/41/image_19052025_22_41_37_30833.jpg
MAIN: 2025-05-19 22:41:38,687 - INFO - duration: 1.4478077839958132
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:42:08,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-05-19 22:42:09,218 - INFO - taking picture
MAIN: 2025-05-19 22:42:09,219 - INFO - we take 1944 photos in this while loop
MAIN: 2025-05-19 22:42:09,220 - INFO - /home/pi/Desktop/images/19052025/22/41/image_19052025_22_42_08_30452.jpg
MAIN: 2025-05-19 22:42:09,220 - INFO - duration: 1.5293368919956265
MAIN: 2025-05-19 22:42:09,221 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:42:38,297 - INFO - taking picture
MAIN: 2025-05-19 22:42:38,298 - INFO - we take 1945 photos in this while loop
MAIN: 2025-05-19 22:42:38,298 - INFO - /home/pi/Desktop/images/19052025/22/42/image_19052025_22_42_37_29145.jpg
MAIN: 2025-05-19 22:42:38,299 - INFO - duration: 1.4621525300026406
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:43:08,187 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 22:43:08,536 - INFO - taking picture
MAIN: 2025-05-19 22:43:08,538 - INFO - we take 1946 photos in this while loop
MAIN: 2025-05-19 22:43:08,538 - INFO - /home/pi/Desktop/images/19052025/22/42/image_19052025_22_43_07_30120.jpg
MAIN: 2025-05-19 22:43:08,539 - INFO - duration: 1.5816074150061468
MAIN: 2025-05-19 22:43:08,540 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:43:37,631 - INFO - taking picture
MAIN: 2025-05-19 22:43:37,632 - INFO - we take 1947 photos in this while loop
MAIN: 2025-05-19 22:43:37,632 - INFO - /home/pi/Desktop/images/19052025/22/43/image_19052025_22_43_36_29223.jpg
MAIN: 2025-05-19 22:43:37,633 - INFO - duration: 1.451751027998398
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:44:09,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-05-19 22:44:09,729 - INFO - taking picture
MAIN: 2025-05-19 22:44:09,730 - INFO - we take 1948 photos in this while loop
MAIN: 2025-05-19 22:44:09,730 - INFO - /home/pi/Desktop/images/19052025/22/43/image_19052025_22_44_08_31680.jpg
MAIN: 2025-05-19 22:44:09,731 - INFO - duration: 1.8693335370044224
MAIN: 2025-05-19 22:44:09,732 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/44'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:44:38,489 - INFO - taking picture
MAIN: 2025-05-19 22:44:38,491 - INFO - we take 1949 photos in this while loop
MAIN: 2025-05-19 22:44:38,491 - INFO - /home/pi/Desktop/images/19052025/22/44/image_19052025_22_44_37_29318.jpg
MAIN: 2025-05-19 22:44:38,491 - INFO - duration: 1.3117195409868145
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:45:09,365 - INFO - taking picture
MAIN: 2025-05-19 22:45:09,366 - INFO - we take 1950 photos in this while loop
MAIN: 2025-05-19 22:45:09,367 - INFO - /home/pi/Desktop/images/19052025/22/44/image_19052025_22_45_08_30191.jpg
MAIN: 2025-05-19 22:45:09,368 - INFO - duration: 1.9967917070025578
MAIN: 2025-05-19 22:45:09,369 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/45'
MAIN: 2025-05-19 22:45:09,446 - INFO - cam.read() return no image
Will output and 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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:45:38,352 - INFO - taking picture
MAIN: 2025-05-19 22:45:38,353 - INFO - we take 1951 photos in this while loop
MAIN: 2025-05-19 22:45:38,354 - INFO - /home/pi/Desktop/images/19052025/22/45/image_19052025_22_45_37_29533.jpg
MAIN: 2025-05-19 22:45:38,354 - INFO - duration: 1.449798906003707
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:46:09,233 - INFO - taking picture
MAIN: 2025-05-19 22:46:09,234 - INFO - we take 1952 photos in this while loop
MAIN: 2025-05-19 22:46:09,235 - INFO - /home/pi/Desktop/images/19052025/22/45/image_19052025_22_46_08_30261.jpg
MAIN: 2025-05-19 22:46:09,235 - INFO - duration: 2.0694778530014446
MAIN: 2025-05-19 22:46:09,236 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/46'
MAIN: 2025-05-19 22:46:09,973 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:46:38,075 - INFO - taking picture
MAIN: 2025-05-19 22:46:38,076 - INFO - we take 1953 photos in this while loop
MAIN: 2025-05-19 22:46:38,077 - INFO - /home/pi/Desktop/images/19052025/22/46/image_19052025_22_46_37_29414.jpg
MAIN: 2025-05-19 22:46:38,077 - INFO - duration: 1.4966068740031915
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:47:08,259 - INFO - taking picture
MAIN: 2025-05-19 22:47:08,260 - INFO - we take 1954 photos in this while loop
MAIN: 2025-05-19 22:47:08,261 - INFO - /home/pi/Desktop/images/19052025/22/46/image_19052025_22_47_07_29822.jpg
MAIN: 2025-05-19 22:47:08,261 - INFO - duration: 1.8583209549979074
MAIN: 2025-05-19 22:47:08,262 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/47'
MAIN: 2025-05-19 22:47:08,524 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:47:38,470 - INFO - taking picture
MAIN: 2025-05-19 22:47:38,470 - INFO - we take 1955 photos in this while loop
MAIN: 2025-05-19 22:47:38,470 - INFO - /home/pi/Desktop/images/19052025/22/47/image_19052025_22_47_37_30882.jpg
MAIN: 2025-05-19 22:47:38,471 - INFO - duration: 1.1855752970004687
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:48:08,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 ! 
MAIN: 2025-05-19 22:48:09,151 - INFO - taking picture
MAIN: 2025-05-19 22:48:09,152 - INFO - we take 1956 photos in this while loop
MAIN: 2025-05-19 22:48:09,152 - INFO - /home/pi/Desktop/images/19052025/22/47/image_19052025_22_48_08_30010.jpg
MAIN: 2025-05-19 22:48:09,153 - INFO - duration: 1.8565773150039604
MAIN: 2025-05-19 22:48:09,153 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/48'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:48:38,295 - INFO - taking picture
MAIN: 2025-05-19 22:48:38,296 - INFO - we take 1957 photos in this while loop
MAIN: 2025-05-19 22:48:38,296 - INFO - /home/pi/Desktop/images/19052025/22/48/image_19052025_22_48_37_29666.jpg
MAIN: 2025-05-19 22:48:38,297 - INFO - duration: 1.33471091100364
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:49:08,275 - INFO - taking picture
MAIN: 2025-05-19 22:49:08,276 - INFO - we take 1958 photos in this while loop
MAIN: 2025-05-19 22:49:08,277 - INFO - /home/pi/Desktop/images/19052025/22/48/image_19052025_22_49_07_29686.jpg
MAIN: 2025-05-19 22:49:08,277 - INFO - duration: 1.62892421700235
MAIN: 2025-05-19 22:49:08,278 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/49'
MAIN: 2025-05-19 22:49:08,656 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:49:38,457 - INFO - taking picture
MAIN: 2025-05-19 22:49:38,458 - INFO - we take 1959 photos in this while loop
MAIN: 2025-05-19 22:49:38,459 - INFO - /home/pi/Desktop/images/19052025/22/49/image_19052025_22_49_37_30476.jpg
MAIN: 2025-05-19 22:49:38,459 - INFO - duration: 1.3339106529892888
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:50:10,219 - INFO - taking picture
MAIN: 2025-05-19 22:50:10,221 - INFO - we take 1960 photos in this while loop
MAIN: 2025-05-19 22:50:10,221 - INFO - /home/pi/Desktop/images/19052025/22/49/image_19052025_22_50_08_30634.jpg
MAIN: 2025-05-19 22:50:10,222 - INFO - duration: 2.4621608609886607
MAIN: 2025-05-19 22:50:10,223 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/50'
MAIN: 2025-05-19 22:50:10,941 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:50:37,985 - INFO - taking picture
MAIN: 2025-05-19 22:50:37,986 - INFO - we take 1961 photos in this while loop
MAIN: 2025-05-19 22:50:37,986 - INFO - /home/pi/Desktop/images/19052025/22/50/image_19052025_22_50_37_28893.jpg
MAIN: 2025-05-19 22:50:37,987 - INFO - duration: 1.3338204999890877
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:51:08,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 ! 
MAIN: 2025-05-19 22:51:08,290 - INFO - taking picture
MAIN: 2025-05-19 22:51:08,292 - INFO - we take 1962 photos in this while loop
MAIN: 2025-05-19 22:51:08,293 - INFO - /home/pi/Desktop/images/19052025/22/50/image_19052025_22_51_07_30047.jpg
MAIN: 2025-05-19 22:51:08,294 - INFO - duration: 1.593600789012271
MAIN: 2025-05-19 22:51:08,296 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/51'
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:51:38,632 - INFO - taking picture
MAIN: 2025-05-19 22:51:38,633 - INFO - we take 1963 photos in this while loop
MAIN: 2025-05-19 22:51:38,634 - INFO - /home/pi/Desktop/images/19052025/22/51/image_19052025_22_51_37_30542.jpg
MAIN: 2025-05-19 22:51:38,634 - INFO - duration: 1.3910149240109604
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:52:09,440 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
MAIN: 2025-05-19 22:52:09,461 - INFO - taking picture
MAIN: 2025-05-19 22:52:09,462 - INFO - we take 1964 photos in this while loop
MAIN: 2025-05-19 22:52:09,463 - INFO - /home/pi/Desktop/images/19052025/22/51/image_19052025_22_52_08_30677.jpg
MAIN: 2025-05-19 22:52:09,463 - INFO - duration: 1.5425818910007365
MAIN: 2025-05-19 22:52:09,465 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:52:37,963 - INFO - taking picture
MAIN: 2025-05-19 22:52:37,964 - INFO - we take 1965 photos in this while loop
MAIN: 2025-05-19 22:52:37,964 - INFO - /home/pi/Desktop/images/19052025/22/52/image_19052025_22_52_37_28738.jpg
MAIN: 2025-05-19 22:52:37,965 - INFO - duration: 1.3050500909885159
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:53:08,127 - INFO - taking picture
MAIN: 2025-05-19 22:53:08,128 - INFO - we take 1966 photos in this while loop
MAIN: 2025-05-19 22:53:08,128 - INFO - /home/pi/Desktop/images/19052025/22/52/image_19052025_22_53_07_29521.jpg
MAIN: 2025-05-19 22:53:08,129 - INFO - duration: 1.9469569619977847
MAIN: 2025-05-19 22:53:08,130 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/53'
MAIN: 2025-05-19 22:53:08,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 ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:53:38,448 - INFO - taking picture
MAIN: 2025-05-19 22:53:38,449 - INFO - we take 1967 photos in this while loop
MAIN: 2025-05-19 22:53:38,449 - INFO - /home/pi/Desktop/images/19052025/22/53/image_19052025_22_53_37_31088.jpg
MAIN: 2025-05-19 22:53:38,450 - INFO - duration: 1.1791846869891742
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:54:08,977 - INFO - taking picture
MAIN: 2025-05-19 22:54:08,979 - INFO - we take 1968 photos in this while loop
MAIN: 2025-05-19 22:54:08,979 - INFO - /home/pi/Desktop/images/19052025/22/53/image_19052025_22_54_08_29859.jpg
MAIN: 2025-05-19 22:54:08,980 - INFO - duration: 1.8502643690007972
MAIN: 2025-05-19 22:54:09,030 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/54'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:54:10,097 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:54:37,683 - INFO - taking picture
MAIN: 2025-05-19 22:54:37,684 - INFO - we take 1969 photos in this while loop
MAIN: 2025-05-19 22:54:37,684 - INFO - /home/pi/Desktop/images/19052025/22/54/image_19052025_22_54_36_29127.jpg
MAIN: 2025-05-19 22:54:37,685 - INFO - duration: 1.427289876010036
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:55:08,458 - INFO - taking picture
MAIN: 2025-05-19 22:55:08,460 - INFO - we take 1970 photos in this while loop
MAIN: 2025-05-19 22:55:08,475 - INFO - /home/pi/Desktop/images/19052025/22/54/image_19052025_22_55_07_29907.jpg
MAIN: 2025-05-19 22:55:08,476 - INFO - duration: 2.3106267800030764
MAIN: 2025-05-19 22:55:08,477 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/55'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:55:09,541 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:55:37,670 - INFO - taking picture
MAIN: 2025-05-19 22:55:37,671 - INFO - we take 1971 photos in this while loop
MAIN: 2025-05-19 22:55:37,672 - INFO - /home/pi/Desktop/images/19052025/22/55/image_19052025_22_55_36_30081.jpg
MAIN: 2025-05-19 22:55:37,672 - INFO - duration: 1.4262254509958439
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:56:08,177 - INFO - taking picture
MAIN: 2025-05-19 22:56:08,179 - INFO - we take 1972 photos in this while loop
MAIN: 2025-05-19 22:56:08,179 - INFO - /home/pi/Desktop/images/19052025/22/55/image_19052025_22_56_07_30009.jpg
MAIN: 2025-05-19 22:56:08,180 - INFO - duration: 1.924162649011123
MAIN: 2025-05-19 22:56:08,377 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/56'
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:56:09,441 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:56:38,488 - INFO - taking picture
MAIN: 2025-05-19 22:56:38,489 - INFO - we take 1973 photos in this while loop
MAIN: 2025-05-19 22:56:38,489 - INFO - /home/pi/Desktop/images/19052025/22/56/image_19052025_22_56_37_30807.jpg
MAIN: 2025-05-19 22:56:38,490 - INFO - duration: 1.426199515000917
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:57:08,385 - INFO - taking picture
MAIN: 2025-05-19 22:57:08,386 - INFO - we take 1974 photos in this while loop
MAIN: 2025-05-19 22:57:08,386 - INFO - /home/pi/Desktop/images/19052025/22/56/image_19052025_22_57_07_29699.jpg
MAIN: 2025-05-19 22:57:08,387 - INFO - duration: 1.6240040299890097
MAIN: 2025-05-19 22:57:08,388 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/57'
MAIN: 2025-05-19 22:57:08,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
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:57:37,610 - INFO - taking picture
MAIN: 2025-05-19 22:57:37,611 - INFO - we take 1975 photos in this while loop
MAIN: 2025-05-19 22:57:37,612 - INFO - /home/pi/Desktop/images/19052025/22/57/image_19052025_22_57_36_29397.jpg
MAIN: 2025-05-19 22:57:37,612 - INFO - duration: 1.45148540000082
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:58:09,263 - INFO - taking picture
MAIN: 2025-05-19 22:58:09,264 - INFO - we take 1976 photos in this while loop
MAIN: 2025-05-19 22:58:09,264 - INFO - /home/pi/Desktop/images/19052025/22/57/image_19052025_22_58_08_31455.jpg
MAIN: 2025-05-19 22:58:09,265 - INFO - duration: 1.6487869990087347
MAIN: 2025-05-19 22:58:09,266 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/58'
MAIN: 2025-05-19 22:58:09,394 - INFO - cam.read() return no image
Will output and maybe also write in take_pic/pic_log.txt
0
Using /dev/video for video capture ! 
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:58:37,983 - INFO - taking picture
MAIN: 2025-05-19 22:58:37,984 - INFO - we take 1977 photos in this while loop
MAIN: 2025-05-19 22:58:37,984 - INFO - /home/pi/Desktop/images/19052025/22/58/image_19052025_22_58_37_28933.jpg
MAIN: 2025-05-19 22:58:37,985 - INFO - duration: 1.4356787879951298
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
[ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
MAIN: 2025-05-19 22:59:07,786 - INFO - taking picture
MAIN: 2025-05-19 22:59:07,788 - INFO - we take 1978 photos in this while loop
MAIN: 2025-05-19 22:59:07,788 - INFO - /home/pi/Desktop/images/19052025/22/58/image_19052025_22_59_06_29562.jpg
MAIN: 2025-05-19 22:59:07,789 - INFO - duration: 1.6775187679886585
MAIN: 2025-05-19 22:59:07,790 - INFO - [Errno 17] File exists: '/home/pi/Desktop/images/19052025/22/59'
MAIN: 2025-05-19 22:59:08,390 - INFO - cam.read() return no image
Will output and 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=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 22:59:38,624 - INFO - taking picture
MAIN: 2025-05-19 22:59:38,625 - INFO - we take 1979 photos in this while loop
MAIN: 2025-05-19 22:59:38,626 - INFO - /home/pi/Desktop/images/19052025/22/59/image_19052025_22_59_37_31060.jpg
MAIN: 2025-05-19 22:59:38,626 - INFO - duration: 1.454539360012859
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:00:09,113 - INFO - taking picture
MAIN: 2025-05-19 23:00:09,115 - INFO - we take 1980 photos in this while loop
MAIN: 2025-05-19 23:00:09,116 - INFO - /home/pi/Desktop/images/19052025/22/59/image_19052025_23_00_07_29552.jpg
MAIN: 2025-05-19 23:00:09,117 - INFO - duration: 2.3928732950007543
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:00:38,291 - INFO - taking picture
MAIN: 2025-05-19 23:00:38,292 - INFO - we take 1981 photos in this while loop
MAIN: 2025-05-19 23:00:38,292 - INFO - /home/pi/Desktop/images/19052025/23/00/image_19052025_23_00_37_30096.jpg
MAIN: 2025-05-19 23:00:38,293 - INFO - duration: 1.472703213992645
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:01:07,761 - INFO - taking picture
MAIN: 2025-05-19 23:01:07,762 - INFO - we take 1982 photos in this while loop
MAIN: 2025-05-19 23:01:07,763 - INFO - /home/pi/Desktop/images/19052025/23/00/image_19052025_23_01_06_29336.jpg
MAIN: 2025-05-19 23:01:07,763 - INFO - duration: 1.6069281509990105
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:01:38,551 - INFO - taking picture
MAIN: 2025-05-19 23:01:38,552 - INFO - we take 1983 photos in this while loop
MAIN: 2025-05-19 23:01:38,553 - INFO - /home/pi/Desktop/images/19052025/23/01/image_19052025_23_01_37_30911.jpg
MAIN: 2025-05-19 23:01:38,553 - INFO - duration: 1.485013109006104
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:02:08,487 - INFO - taking picture
MAIN: 2025-05-19 23:02:08,488 - INFO - we take 1984 photos in this while loop
MAIN: 2025-05-19 23:02:08,488 - INFO - /home/pi/Desktop/images/19052025/23/01/image_19052025_23_02_07_29896.jpg
MAIN: 2025-05-19 23:02:08,489 - INFO - duration: 1.5245680030056974
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:02:38,858 - INFO - taking picture
MAIN: 2025-05-19 23:02:38,859 - INFO - we take 1985 photos in this while loop
MAIN: 2025-05-19 23:02:38,860 - INFO - /home/pi/Desktop/images/19052025/23/02/image_19052025_23_02_37_30391.jpg
MAIN: 2025-05-19 23:02:38,860 - INFO - duration: 1.5046400880091824
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:03:09,053 - INFO - taking picture
MAIN: 2025-05-19 23:03:09,055 - INFO - we take 1986 photos in this while loop
MAIN: 2025-05-19 23:03:09,055 - INFO - /home/pi/Desktop/images/19052025/23/02/image_19052025_23_03_08_30111.jpg
MAIN: 2025-05-19 23:03:09,056 - INFO - duration: 1.5882917999988422
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:03:38,148 - INFO - taking picture
MAIN: 2025-05-19 23:03:38,149 - INFO - we take 1987 photos in this while loop
MAIN: 2025-05-19 23:03:38,149 - INFO - /home/pi/Desktop/images/19052025/23/03/image_19052025_23_03_37_29200.jpg
MAIN: 2025-05-19 23:03:38,150 - INFO - duration: 1.4816000900027575
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:04:09,188 - INFO - taking picture
MAIN: 2025-05-19 23:04:09,189 - INFO - we take 1988 photos in this while loop
MAIN: 2025-05-19 23:04:09,190 - INFO - /home/pi/Desktop/images/19052025/23/03/image_19052025_23_04_08_31033.jpg
MAIN: 2025-05-19 23:04:09,190 - INFO - duration: 1.4882845169922803
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:04:38,271 - INFO - taking picture
MAIN: 2025-05-19 23:04:38,272 - INFO - we take 1989 photos in this while loop
MAIN: 2025-05-19 23:04:38,272 - INFO - /home/pi/Desktop/images/19052025/23/04/image_19052025_23_04_37_29076.jpg
MAIN: 2025-05-19 23:04:38,273 - INFO - duration: 1.4942638919892488
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:05:08,735 - INFO - taking picture
MAIN: 2025-05-19 23:05:08,736 - INFO - we take 1990 photos in this while loop
MAIN: 2025-05-19 23:05:08,737 - INFO - /home/pi/Desktop/images/19052025/23/04/image_19052025_23_05_07_29810.jpg
MAIN: 2025-05-19 23:05:08,739 - INFO - duration: 2.149110924001434
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:05:38,002 - INFO - taking picture
MAIN: 2025-05-19 23:05:38,003 - INFO - we take 1991 photos in this while loop
MAIN: 2025-05-19 23:05:38,004 - INFO - /home/pi/Desktop/images/19052025/23/05/image_19052025_23_05_37_29926.jpg
MAIN: 2025-05-19 23:05:38,004 - INFO - duration: 1.4886304039973766
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:06:08,329 - INFO - taking picture
MAIN: 2025-05-19 23:06:08,331 - INFO - we take 1992 photos in this while loop
MAIN: 2025-05-19 23:06:08,331 - INFO - /home/pi/Desktop/images/19052025/23/05/image_19052025_23_06_07_30278.jpg
MAIN: 2025-05-19 23:06:08,332 - INFO - duration: 1.5381108690053225
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:06:38,883 - INFO - taking picture
MAIN: 2025-05-19 23:06:38,884 - INFO - we take 1993 photos in this while loop
MAIN: 2025-05-19 23:06:38,885 - INFO - /home/pi/Desktop/images/19052025/23/06/image_19052025_23_06_38_30789.jpg
MAIN: 2025-05-19 23:06:38,885 - INFO - duration: 1.3014318250061478
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:07:08,212 - INFO - taking picture
MAIN: 2025-05-19 23:07:08,213 - INFO - we take 1994 photos in this while loop
MAIN: 2025-05-19 23:07:08,214 - INFO - /home/pi/Desktop/images/19052025/23/06/image_19052025_23_07_07_29134.jpg
MAIN: 2025-05-19 23:07:08,214 - INFO - duration: 1.4960531639953842
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:07:38,773 - INFO - taking picture
MAIN: 2025-05-19 23:07:38,774 - INFO - we take 1995 photos in this while loop
MAIN: 2025-05-19 23:07:38,775 - INFO - /home/pi/Desktop/images/19052025/23/07/image_19052025_23_07_37_30579.jpg
MAIN: 2025-05-19 23:07:38,775 - INFO - duration: 1.4775205100013409
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:08:08,616 - INFO - taking picture
MAIN: 2025-05-19 23:08:08,617 - INFO - we take 1996 photos in this while loop
MAIN: 2025-05-19 23:08:08,618 - INFO - /home/pi/Desktop/images/19052025/23/07/image_19052025_23_08_07_29584.jpg
MAIN: 2025-05-19 23:08:08,619 - INFO - duration: 1.736353145999601
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:08:37,463 - INFO - taking picture
MAIN: 2025-05-19 23:08:37,464 - INFO - we take 1997 photos in this while loop
MAIN: 2025-05-19 23:08:37,464 - INFO - /home/pi/Desktop/images/19052025/23/08/image_19052025_23_08_36_29252.jpg
MAIN: 2025-05-19 23:08:37,464 - INFO - duration: 1.3298197929980233
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:09:08,415 - INFO - taking picture
MAIN: 2025-05-19 23:09:08,416 - INFO - we take 1998 photos in this while loop
MAIN: 2025-05-19 23:09:08,417 - INFO - /home/pi/Desktop/images/19052025/23/08/image_19052025_23_09_07_30818.jpg
MAIN: 2025-05-19 23:09:08,417 - INFO - duration: 1.4644956670090323
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:09:38,471 - INFO - taking picture
MAIN: 2025-05-19 23:09:38,472 - INFO - we take 1999 photos in this while loop
MAIN: 2025-05-19 23:09:38,472 - INFO - /home/pi/Desktop/images/19052025/23/09/image_19052025_23_09_37_30302.jpg
MAIN: 2025-05-19 23:09:38,473 - INFO - duration: 1.2177750099945115
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:10:09,437 - INFO - taking picture
MAIN: 2025-05-19 23:10:09,438 - INFO - we take 2000 photos in this while loop
MAIN: 2025-05-19 23:10:09,438 - INFO - /home/pi/Desktop/images/19052025/23/09/image_19052025_23_10_08_30271.jpg
MAIN: 2025-05-19 23:10:09,439 - INFO - duration: 1.9126062059949618
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:10:38,987 - INFO - taking picture
MAIN: 2025-05-19 23:10:38,988 - INFO - we take 2001 photos in this while loop
MAIN: 2025-05-19 23:10:38,988 - INFO - /home/pi/Desktop/images/19052025/23/10/image_19052025_23_10_38_30011.jpg
MAIN: 2025-05-19 23:10:38,989 - INFO - duration: 1.4513211899902672
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:11:08,550 - INFO - taking picture
MAIN: 2025-05-19 23:11:08,551 - INFO - we take 2002 photos in this while loop
MAIN: 2025-05-19 23:11:08,551 - INFO - /home/pi/Desktop/images/19052025/23/10/image_19052025_23_11_07_29532.jpg
MAIN: 2025-05-19 23:11:08,551 - INFO - duration: 1.4819043120078277
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:11:38,860 - INFO - taking picture
MAIN: 2025-05-19 23:11:38,861 - INFO - we take 2003 photos in this while loop
MAIN: 2025-05-19 23:11:38,861 - INFO - /home/pi/Desktop/images/19052025/23/11/image_19052025_23_11_37_30364.jpg
MAIN: 2025-05-19 23:11:38,862 - INFO - duration: 1.4278624940052396
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:12:09,315 - INFO - taking picture
MAIN: 2025-05-19 23:12:09,316 - INFO - we take 2004 photos in this while loop
MAIN: 2025-05-19 23:12:09,316 - INFO - /home/pi/Desktop/images/19052025/23/11/image_19052025_23_12_08_30252.jpg
MAIN: 2025-05-19 23:12:09,317 - INFO - duration: 1.6310298739990685
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:12:38,973 - INFO - taking picture
MAIN: 2025-05-19 23:12:38,974 - INFO - we take 2005 photos in this while loop
MAIN: 2025-05-19 23:12:38,975 - INFO - /home/pi/Desktop/images/19052025/23/12/image_19052025_23_12_38_29837.jpg
MAIN: 2025-05-19 23:12:38,975 - INFO - duration: 1.4516682740068063
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:13:08,676 - INFO - taking picture
MAIN: 2025-05-19 23:13:08,678 - INFO - we take 2006 photos in this while loop
MAIN: 2025-05-19 23:13:08,678 - INFO - /home/pi/Desktop/images/19052025/23/12/image_19052025_23_13_07_29689.jpg
MAIN: 2025-05-19 23:13:08,678 - INFO - duration: 1.4654979089973494
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:13:37,702 - INFO - taking picture
MAIN: 2025-05-19 23:13:37,703 - INFO - we take 2007 photos in this while loop
MAIN: 2025-05-19 23:13:37,703 - INFO - /home/pi/Desktop/images/19052025/23/13/image_19052025_23_13_36_29039.jpg
MAIN: 2025-05-19 23:13:37,704 - INFO - duration: 1.4514314510015538
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:14:08,025 - INFO - taking picture
MAIN: 2025-05-19 23:14:08,026 - INFO - we take 2008 photos in this while loop
MAIN: 2025-05-19 23:14:08,027 - INFO - /home/pi/Desktop/images/19052025/23/13/image_19052025_23_14_07_30143.jpg
MAIN: 2025-05-19 23:14:08,028 - INFO - duration: 1.631696437994833
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:14:38,743 - INFO - taking picture
MAIN: 2025-05-19 23:14:38,744 - INFO - we take 2009 photos in this while loop
MAIN: 2025-05-19 23:14:38,745 - INFO - /home/pi/Desktop/images/19052025/23/14/image_19052025_23_14_37_30923.jpg
MAIN: 2025-05-19 23:14:38,745 - INFO - duration: 1.425540568001452
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:15:08,901 - INFO - taking picture
MAIN: 2025-05-19 23:15:08,902 - INFO - we take 2010 photos in this while loop
MAIN: 2025-05-19 23:15:08,903 - INFO - /home/pi/Desktop/images/19052025/23/14/image_19052025_23_15_07_30017.jpg
MAIN: 2025-05-19 23:15:08,904 - INFO - duration: 1.5662544110091403
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:15:37,903 - INFO - taking picture
MAIN: 2025-05-19 23:15:37,904 - INFO - we take 2011 photos in this while loop
MAIN: 2025-05-19 23:15:37,905 - INFO - /home/pi/Desktop/images/19052025/23/15/image_19052025_23_15_37_29140.jpg
MAIN: 2025-05-19 23:15:37,905 - INFO - duration: 1.4269530680030584
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:16:07,893 - INFO - taking picture
MAIN: 2025-05-19 23:16:07,894 - INFO - we take 2012 photos in this while loop
MAIN: 2025-05-19 23:16:07,895 - INFO - /home/pi/Desktop/images/19052025/23/15/image_19052025_23_16_06_29745.jpg
MAIN: 2025-05-19 23:16:07,896 - INFO - duration: 1.672042580001289
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:16:38,543 - INFO - taking picture
MAIN: 2025-05-19 23:16:38,544 - INFO - we take 2013 photos in this while loop
MAIN: 2025-05-19 23:16:38,545 - INFO - /home/pi/Desktop/images/19052025/23/16/image_19052025_23_16_37_30868.jpg
MAIN: 2025-05-19 23:16:38,545 - INFO - duration: 1.4528682219970506
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:17:08,356 - INFO - taking picture
MAIN: 2025-05-19 23:17:08,358 - INFO - we take 2014 photos in this while loop
MAIN: 2025-05-19 23:17:08,358 - INFO - /home/pi/Desktop/images/19052025/23/16/image_19052025_23_17_07_29791.jpg
MAIN: 2025-05-19 23:17:08,358 - INFO - duration: 1.47460984501231
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:17:38,961 - INFO - taking picture
MAIN: 2025-05-19 23:17:38,962 - INFO - we take 2015 photos in this while loop
MAIN: 2025-05-19 23:17:38,963 - INFO - /home/pi/Desktop/images/19052025/23/17/image_19052025_23_17_38_30611.jpg
MAIN: 2025-05-19 23:17:38,963 - INFO - duration: 1.4684409939945908
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:18:08,917 - INFO - taking picture
MAIN: 2025-05-19 23:18:08,918 - INFO - we take 2016 photos in this while loop
MAIN: 2025-05-19 23:18:08,919 - INFO - /home/pi/Desktop/images/19052025/23/17/image_19052025_23_18_08_29904.jpg
MAIN: 2025-05-19 23:18:08,919 - INFO - duration: 1.5196516389987664
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:18:37,724 - INFO - taking picture
MAIN: 2025-05-19 23:18:37,725 - INFO - we take 2017 photos in this while loop
MAIN: 2025-05-19 23:18:37,726 - INFO - /home/pi/Desktop/images/19052025/23/18/image_19052025_23_18_36_28900.jpg
MAIN: 2025-05-19 23:18:37,726 - INFO - duration: 1.4259772950026672
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:19:08,039 - INFO - taking picture
MAIN: 2025-05-19 23:19:08,040 - INFO - we take 2018 photos in this while loop
MAIN: 2025-05-19 23:19:08,041 - INFO - /home/pi/Desktop/images/19052025/23/18/image_19052025_23_19_07_30223.jpg
MAIN: 2025-05-19 23:19:08,041 - INFO - duration: 1.5173582970019197
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:19:38,767 - INFO - taking picture
MAIN: 2025-05-19 23:19:38,768 - INFO - we take 2019 photos in this while loop
MAIN: 2025-05-19 23:19:38,768 - INFO - /home/pi/Desktop/images/19052025/23/19/image_19052025_23_19_37_30803.jpg
MAIN: 2025-05-19 23:19:38,769 - INFO - duration: 1.4417803899996215
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:20:09,604 - INFO - taking picture
MAIN: 2025-05-19 23:20:09,606 - INFO - we take 2020 photos in this while loop
MAIN: 2025-05-19 23:20:09,606 - INFO - /home/pi/Desktop/images/19052025/23/19/image_19052025_23_20_08_30088.jpg
MAIN: 2025-05-19 23:20:09,607 - INFO - duration: 2.1917680600017775
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:20:38,457 - INFO - taking picture
MAIN: 2025-05-19 23:20:38,458 - INFO - we take 2021 photos in this while loop
MAIN: 2025-05-19 23:20:38,459 - INFO - /home/pi/Desktop/images/19052025/23/20/image_19052025_23_20_37_29717.jpg
MAIN: 2025-05-19 23:20:38,459 - INFO - duration: 1.326478393006255
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:21:08,268 - INFO - taking picture
MAIN: 2025-05-19 23:21:08,269 - INFO - we take 2022 photos in this while loop
MAIN: 2025-05-19 23:21:08,270 - INFO - /home/pi/Desktop/images/19052025/23/20/image_19052025_23_21_07_29597.jpg
MAIN: 2025-05-19 23:21:08,270 - INFO - duration: 1.540364185013459
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:21:38,739 - INFO - taking picture
MAIN: 2025-05-19 23:21:38,740 - INFO - we take 2023 photos in this while loop
MAIN: 2025-05-19 23:21:38,741 - INFO - /home/pi/Desktop/images/19052025/23/21/image_19052025_23_21_37_30693.jpg
MAIN: 2025-05-19 23:21:38,741 - INFO - duration: 1.3176596849953057
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:22:08,884 - INFO - taking picture
MAIN: 2025-05-19 23:22:08,885 - INFO - we take 2024 photos in this while loop
MAIN: 2025-05-19 23:22:08,886 - INFO - /home/pi/Desktop/images/19052025/23/21/image_19052025_23_22_07_29724.jpg
MAIN: 2025-05-19 23:22:08,886 - INFO - duration: 1.7373078000091482
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:22:38,022 - INFO - taking picture
MAIN: 2025-05-19 23:22:38,023 - INFO - we take 2025 photos in this while loop
MAIN: 2025-05-19 23:22:38,024 - INFO - /home/pi/Desktop/images/19052025/23/22/image_19052025_23_22_37_29437.jpg
MAIN: 2025-05-19 23:22:38,024 - INFO - duration: 1.4380524860025616
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:23:08,882 - INFO - taking picture
MAIN: 2025-05-19 23:23:08,883 - INFO - we take 2026 photos in this while loop
MAIN: 2025-05-19 23:23:08,884 - INFO - /home/pi/Desktop/images/19052025/23/22/image_19052025_23_23_08_30879.jpg
MAIN: 2025-05-19 23:23:08,884 - INFO - duration: 1.4190853939944645
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:23:37,905 - INFO - taking picture
MAIN: 2025-05-19 23:23:37,906 - INFO - we take 2027 photos in this while loop
MAIN: 2025-05-19 23:23:37,906 - INFO - /home/pi/Desktop/images/19052025/23/23/image_19052025_23_23_37_29011.jpg
MAIN: 2025-05-19 23:23:37,907 - INFO - duration: 1.429502908998984
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:24:08,994 - INFO - taking picture
MAIN: 2025-05-19 23:24:08,995 - INFO - we take 2028 photos in this while loop
MAIN: 2025-05-19 23:24:08,996 - INFO - /home/pi/Desktop/images/19052025/23/23/image_19052025_23_24_08_31032.jpg
MAIN: 2025-05-19 23:24:08,996 - INFO - duration: 1.4865026390034473
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:24:37,897 - INFO - taking picture
MAIN: 2025-05-19 23:24:37,899 - INFO - we take 2029 photos in this while loop
MAIN: 2025-05-19 23:24:37,899 - INFO - /home/pi/Desktop/images/19052025/23/24/image_19052025_23_24_37_29061.jpg
MAIN: 2025-05-19 23:24:37,899 - INFO - duration: 1.3285682410059962
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:25:08,096 - INFO - taking picture
MAIN: 2025-05-19 23:25:08,098 - INFO - we take 2030 photos in this while loop
MAIN: 2025-05-19 23:25:08,098 - INFO - /home/pi/Desktop/images/19052025/23/24/image_19052025_23_25_06_29532.jpg
MAIN: 2025-05-19 23:25:08,099 - INFO - duration: 1.9955654880031943
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:25:38,442 - INFO - taking picture
MAIN: 2025-05-19 23:25:38,443 - INFO - we take 2031 photos in this while loop
MAIN: 2025-05-19 23:25:38,443 - INFO - /home/pi/Desktop/images/19052025/23/25/image_19052025_23_25_37_31169.jpg
MAIN: 2025-05-19 23:25:38,444 - INFO - duration: 1.1710549670096952
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:26:08,529 - INFO - taking picture
MAIN: 2025-05-19 23:26:08,530 - INFO - we take 2032 photos in this while loop
MAIN: 2025-05-19 23:26:08,530 - INFO - /home/pi/Desktop/images/19052025/23/25/image_19052025_23_26_07_29331.jpg
MAIN: 2025-05-19 23:26:08,531 - INFO - duration: 1.9267346819979139
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:26:37,258 - INFO - taking picture
MAIN: 2025-05-19 23:26:37,259 - INFO - we take 2033 photos in this while loop
MAIN: 2025-05-19 23:26:37,260 - INFO - /home/pi/Desktop/images/19052025/23/26/image_19052025_23_26_36_29493.jpg
MAIN: 2025-05-19 23:26:37,260 - INFO - duration: 1.1623324119864265
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:27:08,082 - INFO - taking picture
MAIN: 2025-05-19 23:27:08,083 - INFO - we take 2034 photos in this while loop
MAIN: 2025-05-19 23:27:08,084 - INFO - /home/pi/Desktop/images/19052025/23/26/image_19052025_23_27_07_30442.jpg
MAIN: 2025-05-19 23:27:08,084 - INFO - duration: 1.5440476609946927
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:27:38,534 - INFO - taking picture
MAIN: 2025-05-19 23:27:38,535 - INFO - we take 2035 photos in this while loop
MAIN: 2025-05-19 23:27:38,536 - INFO - /home/pi/Desktop/images/19052025/23/27/image_19052025_23_27_37_30544.jpg
MAIN: 2025-05-19 23:27:38,536 - INFO - duration: 1.4515491530037252
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:28:08,784 - INFO - taking picture
MAIN: 2025-05-19 23:28:08,785 - INFO - we take 2036 photos in this while loop
MAIN: 2025-05-19 23:28:08,786 - INFO - /home/pi/Desktop/images/19052025/23/27/image_19052025_23_28_07_30101.jpg
MAIN: 2025-05-19 23:28:08,786 - INFO - duration: 1.5996627799904672
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:28:37,548 - INFO - taking picture
MAIN: 2025-05-19 23:28:37,550 - INFO - we take 2037 photos in this while loop
MAIN: 2025-05-19 23:28:37,550 - INFO - /home/pi/Desktop/images/19052025/23/28/image_19052025_23_28_36_29158.jpg
MAIN: 2025-05-19 23:28:37,550 - INFO - duration: 1.2051228609925602
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:29:08,746 - INFO - taking picture
MAIN: 2025-05-19 23:29:08,747 - INFO - we take 2038 photos in this while loop
MAIN: 2025-05-19 23:29:08,748 - INFO - /home/pi/Desktop/images/19052025/23/28/image_19052025_23_29_07_30944.jpg
MAIN: 2025-05-19 23:29:08,748 - INFO - duration: 1.4586186119995546
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:29:37,591 - INFO - taking picture
MAIN: 2025-05-19 23:29:37,592 - INFO - we take 2039 photos in this while loop
MAIN: 2025-05-19 23:29:37,592 - INFO - /home/pi/Desktop/images/19052025/23/29/image_19052025_23_29_36_28882.jpg
MAIN: 2025-05-19 23:29:37,593 - INFO - duration: 1.420280869002454
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:30:08,383 - INFO - taking picture
MAIN: 2025-05-19 23:30:08,385 - INFO - we take 2040 photos in this while loop
MAIN: 2025-05-19 23:30:08,385 - INFO - /home/pi/Desktop/images/19052025/23/29/image_19052025_23_30_07_30002.jpg
MAIN: 2025-05-19 23:30:08,386 - INFO - duration: 2.211083250993397
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:30:37,460 - INFO - taking picture
MAIN: 2025-05-19 23:30:37,461 - INFO - we take 2041 photos in this while loop
MAIN: 2025-05-19 23:30:37,462 - INFO - /home/pi/Desktop/images/19052025/23/30/image_19052025_23_30_36_30033.jpg
MAIN: 2025-05-19 23:30:37,462 - INFO - duration: 1.253291762986919
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:31:08,516 - INFO - taking picture
MAIN: 2025-05-19 23:31:08,517 - INFO - we take 2042 photos in this while loop
MAIN: 2025-05-19 23:31:08,517 - INFO - /home/pi/Desktop/images/19052025/23/30/image_19052025_23_31_07_30975.jpg
MAIN: 2025-05-19 23:31:08,518 - INFO - duration: 1.3337065109953983
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:31:38,690 - INFO - taking picture
MAIN: 2025-05-19 23:31:38,691 - INFO - we take 2043 photos in this while loop
MAIN: 2025-05-19 23:31:38,692 - INFO - /home/pi/Desktop/images/19052025/23/31/image_19052025_23_31_37_30218.jpg
MAIN: 2025-05-19 23:31:38,692 - INFO - duration: 1.2894718460011063
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:32:08,832 - INFO - taking picture
MAIN: 2025-05-19 23:32:08,833 - INFO - we take 2044 photos in this while loop
MAIN: 2025-05-19 23:32:08,833 - INFO - /home/pi/Desktop/images/19052025/23/31/image_19052025_23_32_07_29775.jpg
MAIN: 2025-05-19 23:32:08,834 - INFO - duration: 1.6555041259998688
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:32:37,869 - INFO - taking picture
MAIN: 2025-05-19 23:32:37,869 - INFO - we take 2045 photos in this while loop
MAIN: 2025-05-19 23:32:37,869 - INFO - /home/pi/Desktop/images/19052025/23/32/image_19052025_23_32_37_29444.jpg
MAIN: 2025-05-19 23:32:37,870 - INFO - duration: 1.2469478480052203
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:33:09,017 - INFO - taking picture
MAIN: 2025-05-19 23:33:09,018 - INFO - we take 2046 photos in this while loop
MAIN: 2025-05-19 23:33:09,019 - INFO - /home/pi/Desktop/images/19052025/23/32/image_19052025_23_33_08_30914.jpg
MAIN: 2025-05-19 23:33:09,019 - INFO - duration: 1.4818104500009213
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:33:37,838 - INFO - taking picture
MAIN: 2025-05-19 23:33:37,839 - INFO - we take 2047 photos in this while loop
MAIN: 2025-05-19 23:33:37,840 - INFO - /home/pi/Desktop/images/19052025/23/33/image_19052025_23_33_36_28872.jpg
MAIN: 2025-05-19 23:33:37,840 - INFO - duration: 1.430039693004801
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:34:07,990 - INFO - taking picture
MAIN: 2025-05-19 23:34:07,991 - INFO - we take 2048 photos in this while loop
MAIN: 2025-05-19 23:34:07,992 - INFO - /home/pi/Desktop/images/19052025/23/33/image_19052025_23_34_07_29793.jpg
MAIN: 2025-05-19 23:34:07,993 - INFO - duration: 1.7888107600010699
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:34:38,713 - INFO - taking picture
MAIN: 2025-05-19 23:34:38,715 - INFO - we take 2049 photos in this while loop
MAIN: 2025-05-19 23:34:38,715 - INFO - /home/pi/Desktop/images/19052025/23/34/image_19052025_23_34_37_31027.jpg
MAIN: 2025-05-19 23:34:38,715 - INFO - duration: 1.4847273380000843
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:35:09,164 - INFO - taking picture
MAIN: 2025-05-19 23:35:09,165 - INFO - we take 2050 photos in this while loop
MAIN: 2025-05-19 23:35:09,166 - INFO - /home/pi/Desktop/images/19052025/23/34/image_19052025_23_35_08_30246.jpg
MAIN: 2025-05-19 23:35:09,166 - INFO - duration: 1.6891300819988828
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:35:38,242 - INFO - taking picture
MAIN: 2025-05-19 23:35:38,243 - INFO - we take 2051 photos in this while loop
MAIN: 2025-05-19 23:35:38,243 - INFO - /home/pi/Desktop/images/19052025/23/35/image_19052025_23_35_37_29329.jpg
MAIN: 2025-05-19 23:35:38,244 - INFO - duration: 1.4367601170088165
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:36:08,090 - INFO - taking picture
MAIN: 2025-05-19 23:36:08,092 - INFO - we take 2052 photos in this while loop
MAIN: 2025-05-19 23:36:08,093 - INFO - /home/pi/Desktop/images/19052025/23/35/image_19052025_23_36_07_29642.jpg
MAIN: 2025-05-19 23:36:08,094 - INFO - duration: 1.643634630003362
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:36:38,316 - INFO - taking picture
MAIN: 2025-05-19 23:36:38,317 - INFO - we take 2053 photos in this while loop
MAIN: 2025-05-19 23:36:38,318 - INFO - /home/pi/Desktop/images/19052025/23/36/image_19052025_23_36_37_30417.jpg
MAIN: 2025-05-19 23:36:38,318 - INFO - duration: 1.4506318700005068
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:37:07,945 - INFO - taking picture
MAIN: 2025-05-19 23:37:07,946 - INFO - we take 2054 photos in this while loop
MAIN: 2025-05-19 23:37:07,947 - INFO - /home/pi/Desktop/images/19052025/23/36/image_19052025_23_37_07_29573.jpg
MAIN: 2025-05-19 23:37:07,947 - INFO - duration: 1.5061314560007304
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:37:38,454 - INFO - taking picture
MAIN: 2025-05-19 23:37:38,455 - INFO - we take 2055 photos in this while loop
MAIN: 2025-05-19 23:37:38,456 - INFO - /home/pi/Desktop/images/19052025/23/37/image_19052025_23_37_37_30524.jpg
MAIN: 2025-05-19 23:37:38,456 - INFO - duration: 1.4904872759943828
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:38:08,393 - INFO - taking picture
MAIN: 2025-05-19 23:38:08,395 - INFO - we take 2056 photos in this while loop
MAIN: 2025-05-19 23:38:08,395 - INFO - /home/pi/Desktop/images/19052025/23/37/image_19052025_23_38_07_29745.jpg
MAIN: 2025-05-19 23:38:08,396 - INFO - duration: 1.6844373580097454
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:38:37,901 - INFO - taking picture
MAIN: 2025-05-19 23:38:37,902 - INFO - we take 2057 photos in this while loop
MAIN: 2025-05-19 23:38:37,902 - INFO - /home/pi/Desktop/images/19052025/23/38/image_19052025_23_38_36_29711.jpg
MAIN: 2025-05-19 23:38:37,903 - INFO - duration: 1.4803228310047416
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:39:09,064 - INFO - taking picture
MAIN: 2025-05-19 23:39:09,065 - INFO - we take 2058 photos in this while loop
MAIN: 2025-05-19 23:39:09,066 - INFO - /home/pi/Desktop/images/19052025/23/38/image_19052025_23_39_08_31157.jpg
MAIN: 2025-05-19 23:39:09,066 - INFO - duration: 1.4863814699929208
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:39:38,209 - INFO - taking picture
MAIN: 2025-05-19 23:39:38,210 - INFO - we take 2059 photos in this while loop
MAIN: 2025-05-19 23:39:38,211 - INFO - /home/pi/Desktop/images/19052025/23/39/image_19052025_23_39_37_29139.jpg
MAIN: 2025-05-19 23:39:38,211 - INFO - duration: 1.4918390160019044
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:40:09,440 - INFO - taking picture
MAIN: 2025-05-19 23:40:09,442 - INFO - we take 2060 photos in this while loop
MAIN: 2025-05-19 23:40:09,443 - INFO - /home/pi/Desktop/images/19052025/23/39/image_19052025_23_40_08_30307.jpg
MAIN: 2025-05-19 23:40:09,443 - INFO - duration: 2.4162083890114445
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:40:38,096 - INFO - taking picture
MAIN: 2025-05-19 23:40:38,097 - INFO - we take 2061 photos in this while loop
MAIN: 2025-05-19 23:40:38,098 - INFO - /home/pi/Desktop/images/19052025/23/40/image_19052025_23_40_37_29610.jpg
MAIN: 2025-05-19 23:40:38,098 - INFO - duration: 1.460018528989167
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:41:08,940 - INFO - taking picture
MAIN: 2025-05-19 23:41:08,941 - INFO - we take 2062 photos in this while loop
MAIN: 2025-05-19 23:41:08,942 - INFO - /home/pi/Desktop/images/19052025/23/40/image_19052025_23_41_08_30864.jpg
MAIN: 2025-05-19 23:41:08,942 - INFO - duration: 1.4392536240047775
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:41:37,877 - INFO - taking picture
MAIN: 2025-05-19 23:41:37,878 - INFO - we take 2063 photos in this while loop
MAIN: 2025-05-19 23:41:37,879 - INFO - /home/pi/Desktop/images/19052025/23/41/image_19052025_23_41_36_28928.jpg
MAIN: 2025-05-19 23:41:37,879 - INFO - duration: 1.4482584119978128
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:42:09,044 - INFO - taking picture
MAIN: 2025-05-19 23:42:09,046 - INFO - we take 2064 photos in this while loop
MAIN: 2025-05-19 23:42:09,046 - INFO - /home/pi/Desktop/images/19052025/23/41/image_19052025_23_42_08_31133.jpg
MAIN: 2025-05-19 23:42:09,046 - INFO - duration: 1.4814103910030099
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:42:37,823 - INFO - taking picture
MAIN: 2025-05-19 23:42:37,824 - INFO - we take 2065 photos in this while loop
MAIN: 2025-05-19 23:42:37,824 - INFO - /home/pi/Desktop/images/19052025/23/42/image_19052025_23_42_37_28929.jpg
MAIN: 2025-05-19 23:42:37,824 - INFO - duration: 1.3294529670092743
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:43:08,534 - INFO - taking picture
MAIN: 2025-05-19 23:43:08,535 - INFO - we take 2066 photos in this while loop
MAIN: 2025-05-19 23:43:08,536 - INFO - /home/pi/Desktop/images/19052025/23/42/image_19052025_23_43_07_30525.jpg
MAIN: 2025-05-19 23:43:08,536 - INFO - duration: 1.5158220539888134
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:43:38,649 - INFO - taking picture
MAIN: 2025-05-19 23:43:38,650 - INFO - we take 2067 photos in this while loop
MAIN: 2025-05-19 23:43:38,650 - INFO - /home/pi/Desktop/images/19052025/23/43/image_19052025_23_43_37_30337.jpg
MAIN: 2025-05-19 23:43:38,650 - INFO - duration: 1.2930989420128753
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:44:08,484 - INFO - taking picture
MAIN: 2025-05-19 23:44:08,485 - INFO - we take 2068 photos in this while loop
MAIN: 2025-05-19 23:44:08,486 - INFO - /home/pi/Desktop/images/19052025/23/43/image_19052025_23_44_07_29333.jpg
MAIN: 2025-05-19 23:44:08,486 - INFO - duration: 1.7952423990063835
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:44:38,490 - INFO - taking picture
MAIN: 2025-05-19 23:44:38,491 - INFO - we take 2069 photos in this while loop
MAIN: 2025-05-19 23:44:38,492 - INFO - /home/pi/Desktop/images/19052025/23/44/image_19052025_23_44_37_30479.jpg
MAIN: 2025-05-19 23:44:38,492 - INFO - duration: 1.321661492009298
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:45:08,708 - INFO - taking picture
MAIN: 2025-05-19 23:45:08,709 - INFO - we take 2070 photos in this while loop
MAIN: 2025-05-19 23:45:08,710 - INFO - /home/pi/Desktop/images/19052025/23/44/image_19052025_23_45_07_29372.jpg
MAIN: 2025-05-19 23:45:08,710 - INFO - duration: 2.167337492996012
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:45:37,773 - INFO - taking picture
MAIN: 2025-05-19 23:45:37,774 - INFO - we take 2071 photos in this while loop
MAIN: 2025-05-19 23:45:37,775 - INFO - /home/pi/Desktop/images/19052025/23/45/image_19052025_23_45_37_29930.jpg
MAIN: 2025-05-19 23:45:37,775 - INFO - duration: 1.3024495040008333
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:46:08,790 - INFO - taking picture
MAIN: 2025-05-19 23:46:08,791 - INFO - we take 2072 photos in this while loop
MAIN: 2025-05-19 23:46:08,792 - INFO - /home/pi/Desktop/images/19052025/23/45/image_19052025_23_46_07_30611.jpg
MAIN: 2025-05-19 23:46:08,792 - INFO - duration: 1.708233775003464
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:46:38,728 - INFO - taking picture
MAIN: 2025-05-19 23:46:38,730 - INFO - we take 2073 photos in this while loop
MAIN: 2025-05-19 23:46:38,730 - INFO - /home/pi/Desktop/images/19052025/23/46/image_19052025_23_46_37_30418.jpg
MAIN: 2025-05-19 23:46:38,730 - INFO - duration: 1.2284289149974938
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:47:09,001 - INFO - taking picture
MAIN: 2025-05-19 23:47:09,002 - INFO - we take 2074 photos in this while loop
MAIN: 2025-05-19 23:47:09,002 - INFO - /home/pi/Desktop/images/19052025/23/46/image_19052025_23_47_08_30003.jpg
MAIN: 2025-05-19 23:47:09,003 - INFO - duration: 1.4970328539930051
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:47:37,699 - INFO - taking picture
MAIN: 2025-05-19 23:47:37,699 - INFO - we take 2075 photos in this while loop
MAIN: 2025-05-19 23:47:37,699 - INFO - /home/pi/Desktop/images/19052025/23/47/image_19052025_23_47_36_28878.jpg
MAIN: 2025-05-19 23:47:37,700 - INFO - duration: 1.315700952996849
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:48:09,050 - INFO - taking picture
MAIN: 2025-05-19 23:48:09,052 - INFO - we take 2076 photos in this while loop
MAIN: 2025-05-19 23:48:09,052 - INFO - /home/pi/Desktop/images/19052025/23/47/image_19052025_23_48_08_31150.jpg
MAIN: 2025-05-19 23:48:09,052 - INFO - duration: 1.5174253519944614
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:48:37,422 - INFO - taking picture
MAIN: 2025-05-19 23:48:37,423 - INFO - we take 2077 photos in this while loop
MAIN: 2025-05-19 23:48:37,423 - INFO - /home/pi/Desktop/images/19052025/23/48/image_19052025_23_48_37_28983.jpg
MAIN: 2025-05-19 23:48:37,424 - INFO - duration: 0.9053043860039907
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:49:08,429 - INFO - taking picture
MAIN: 2025-05-19 23:49:08,430 - INFO - we take 2078 photos in this while loop
MAIN: 2025-05-19 23:49:08,431 - INFO - /home/pi/Desktop/images/19052025/23/48/image_19052025_23_49_07_30386.jpg
MAIN: 2025-05-19 23:49:08,432 - INFO - duration: 1.5267914940050105
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:49:37,180 - INFO - taking picture
MAIN: 2025-05-19 23:49:37,181 - INFO - we take 2079 photos in this while loop
MAIN: 2025-05-19 23:49:37,181 - INFO - /home/pi/Desktop/images/19052025/23/49/image_19052025_23_49_36_29198.jpg
MAIN: 2025-05-19 23:49:37,181 - INFO - duration: 1.0782366960047511
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:50:09,201 - INFO - taking picture
MAIN: 2025-05-19 23:50:09,202 - INFO - we take 2080 photos in this while loop
MAIN: 2025-05-19 23:50:09,203 - INFO - /home/pi/Desktop/images/19052025/23/49/image_19052025_23_50_08_31151.jpg
MAIN: 2025-05-19 23:50:09,204 - INFO - duration: 1.9491346669965424
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:50:38,265 - INFO - taking picture
MAIN: 2025-05-19 23:50:38,266 - INFO - we take 2081 photos in this while loop
MAIN: 2025-05-19 23:50:38,266 - INFO - /home/pi/Desktop/images/19052025/23/50/image_19052025_23_50_37_29560.jpg
MAIN: 2025-05-19 23:50:38,267 - INFO - duration: 1.4514756980061065
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:51:08,130 - INFO - taking picture
MAIN: 2025-05-19 23:51:08,131 - INFO - we take 2082 photos in this while loop
MAIN: 2025-05-19 23:51:08,131 - INFO - /home/pi/Desktop/images/19052025/23/50/image_19052025_23_51_07_29805.jpg
MAIN: 2025-05-19 23:51:08,132 - INFO - duration: 1.5107953120023012
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:51:38,517 - INFO - taking picture
MAIN: 2025-05-19 23:51:38,518 - INFO - we take 2083 photos in this while loop
MAIN: 2025-05-19 23:51:38,519 - INFO - /home/pi/Desktop/images/19052025/23/51/image_19052025_23_51_37_30475.jpg
MAIN: 2025-05-19 23:51:38,519 - INFO - duration: 1.423173882998526
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:52:08,764 - INFO - taking picture
MAIN: 2025-05-19 23:52:08,765 - INFO - we take 2084 photos in this while loop
MAIN: 2025-05-19 23:52:08,766 - INFO - /home/pi/Desktop/images/19052025/23/51/image_19052025_23_52_07_30017.jpg
MAIN: 2025-05-19 23:52:08,766 - INFO - duration: 1.6531374479964143
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:52:37,694 - INFO - taking picture
MAIN: 2025-05-19 23:52:37,695 - INFO - we take 2085 photos in this while loop
MAIN: 2025-05-19 23:52:37,696 - INFO - /home/pi/Desktop/images/19052025/23/52/image_19052025_23_52_36_29223.jpg
MAIN: 2025-05-19 23:52:37,696 - INFO - duration: 1.3591152259905357
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:53:09,037 - INFO - taking picture
MAIN: 2025-05-19 23:53:09,038 - INFO - we take 2086 photos in this while loop
MAIN: 2025-05-19 23:53:09,039 - INFO - /home/pi/Desktop/images/19052025/23/52/image_19052025_23_53_08_31222.jpg
MAIN: 2025-05-19 23:53:09,039 - INFO - duration: 1.4791847000014968
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:53:38,205 - INFO - taking picture
MAIN: 2025-05-19 23:53:38,206 - INFO - we take 2087 photos in this while loop
MAIN: 2025-05-19 23:53:38,206 - INFO - /home/pi/Desktop/images/19052025/23/53/image_19052025_23_53_37_29221.jpg
MAIN: 2025-05-19 23:53:38,207 - INFO - duration: 1.4253338300040923
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:54:08,509 - INFO - taking picture
MAIN: 2025-05-19 23:54:08,511 - INFO - we take 2088 photos in this while loop
MAIN: 2025-05-19 23:54:08,511 - INFO - /home/pi/Desktop/images/19052025/23/53/image_19052025_23_54_07_30135.jpg
MAIN: 2025-05-19 23:54:08,512 - INFO - duration: 1.5945727429934777
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:54:38,722 - INFO - taking picture
MAIN: 2025-05-19 23:54:38,723 - INFO - we take 2089 photos in this while loop
MAIN: 2025-05-19 23:54:38,724 - INFO - /home/pi/Desktop/images/19052025/23/54/image_19052025_23_54_37_30347.jpg
MAIN: 2025-05-19 23:54:38,724 - INFO - duration: 1.4593395200063242
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:55:09,074 - INFO - taking picture
MAIN: 2025-05-19 23:55:09,076 - INFO - we take 2090 photos in this while loop
MAIN: 2025-05-19 23:55:09,076 - INFO - /home/pi/Desktop/images/19052025/23/54/image_19052025_23_55_08_30201.jpg
MAIN: 2025-05-19 23:55:09,077 - INFO - duration: 1.609987446005107
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:55:38,159 - INFO - taking picture
MAIN: 2025-05-19 23:55:38,160 - INFO - we take 2091 photos in this while loop
MAIN: 2025-05-19 23:55:38,160 - INFO - /home/pi/Desktop/images/19052025/23/55/image_19052025_23_55_37_29272.jpg
MAIN: 2025-05-19 23:55:38,161 - INFO - duration: 1.4218981790036196
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:56:07,966 - INFO - taking picture
MAIN: 2025-05-19 23:56:07,967 - INFO - we take 2092 photos in this while loop
MAIN: 2025-05-19 23:56:07,968 - INFO - /home/pi/Desktop/images/19052025/23/55/image_19052025_23_56_06_29425.jpg
MAIN: 2025-05-19 23:56:07,969 - INFO - duration: 1.8044785240053898
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:56:38,390 - INFO - taking picture
MAIN: 2025-05-19 23:56:38,391 - INFO - we take 2093 photos in this while loop
MAIN: 2025-05-19 23:56:38,392 - INFO - /home/pi/Desktop/images/19052025/23/56/image_19052025_23_56_37_30775.jpg
MAIN: 2025-05-19 23:56:38,392 - INFO - duration: 1.4527001269889297
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:57:08,093 - INFO - taking picture
MAIN: 2025-05-19 23:57:08,094 - INFO - we take 2094 photos in this while loop
MAIN: 2025-05-19 23:57:08,095 - INFO - /home/pi/Desktop/images/19052025/23/56/image_19052025_23_57_07_29647.jpg
MAIN: 2025-05-19 23:57:08,095 - INFO - duration: 1.5088914970110636
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:57:38,819 - INFO - taking picture
MAIN: 2025-05-19 23:57:38,820 - INFO - we take 2095 photos in this while loop
MAIN: 2025-05-19 23:57:38,820 - INFO - /home/pi/Desktop/images/19052025/23/57/image_19052025_23_57_37_30800.jpg
MAIN: 2025-05-19 23:57:38,821 - INFO - duration: 1.4337714550056262
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:58:08,577 - INFO - taking picture
MAIN: 2025-05-19 23:58:08,578 - INFO - we take 2096 photos in this while loop
MAIN: 2025-05-19 23:58:08,579 - INFO - /home/pi/Desktop/images/19052025/23/57/image_19052025_23_58_07_29615.jpg
MAIN: 2025-05-19 23:58:08,579 - INFO - duration: 1.5766668639989803
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:58:39,010 - INFO - taking picture
MAIN: 2025-05-19 23:58:39,011 - INFO - we take 2097 photos in this while loop
MAIN: 2025-05-19 23:58:39,011 - INFO - /home/pi/Desktop/images/19052025/23/58/image_19052025_23_58_38_30561.jpg
MAIN: 2025-05-19 23:58:39,012 - INFO - duration: 1.4472527100006118
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:59:08,569 - INFO - taking picture
MAIN: 2025-05-19 23:59:08,570 - INFO - we take 2098 photos in this while loop
MAIN: 2025-05-19 23:59:08,571 - INFO - /home/pi/Desktop/images/19052025/23/58/image_19052025_23_59_07_29498.jpg
MAIN: 2025-05-19 23:59:08,571 - INFO - duration: 1.507951775987749
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
                     brightness 0x00980900 (int)    : min=0 max=64 step=1 default=32 value=32
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=34 value=34
                     saturation 0x00980902 (int)    : min=0 max=64 step=1 default=32 value=32
                            hue 0x00980903 (int)    : min=0 max=64 step=1 default=32 value=32
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=0 max=64 step=1 default=32 value=32
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=0
      white_balance_temperature 0x0098091a (int)    : min=2700 max=10000 step=1 default=6500 value=6500 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=64 step=1 default=32 value=32
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
              exposure_absolute 0x009a0902 (int)    : min=10 max=1250 step=1 default=330 value=330 flags=inactive
                 focus_absolute 0x009a090a (int)    : min=0 max=127 step=1 default=63 value=34 flags=inactive
                     focus_auto 0x009a090c (bool)   : default=1 value=1
                  zoom_absolute 0x009a090d (int)    : min=0 max=16384 step=1 default=0 value=0
MAIN: 2025-05-19 23:59:38,875 - INFO - taking picture
MAIN: 2025-05-19 23:59:38,876 - INFO - we take 2099 photos in this while loop
MAIN: 2025-05-19 23:59:38,876 - INFO - /home/pi/Desktop/images/19052025/23/59/image_19052025_23_59_37_30481.jpg
MAIN: 2025-05-19 23:59:38,877 - INFO - duration: 1.3320095789968036
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
