File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
internal_filesystem/apps/com.example.camtest/assets Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,10 @@ def init_cam():
209209
210210if cam or use_webcam :
211211 build_ui ()
212+ count = 0
212213 while appscreen == lv .screen_active () and keepgoing is True :
214+ print (f"capture nr { count } " )
215+ count += 1
213216 try_capture ()
214217 time .sleep_ms (100 ) # Allow for the MicroPython REPL to still work. Reducing it doesn't seem to affect the on-display FPS.
215218 print ("App backgrounded, deinitializing camera..." )
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ int main() {
185185 return -1 ;
186186 }
187187
188- if (capture_frames (100 ) < 0 ) {
188+ if (capture_frames (1000 ) < 0 ) {
189189 printf ("Frame capture failed\n" );
190190 deinit_webcam ();
191191 return -1 ;
You can’t perform that action at this time.
0 commit comments