Hi, I'm having a problem with cpu1 watchdog timer going off during a call to face_detect(). The watchdog goes off at about 375 ms, the best I can figure using this bit of code and looking at the arduino serial monitor
So the 889 ms minus 515 ms is the 374 ms that creates the wdt.
I've trained dozen of faces, and detected hundreds with this code, before I ran into this. It is a esp32-cam standard setup, with some added, and recently a with and . These are configured but not being called during the facedetect(), as it is just running in the arduino loop, with nothing on the other cpu, and no user interrupts or tasks.
It usually fails after about 50ms when there is no face, and takes 100ms to 150ms when there is a face, but sometimes looking at a face which is programmed or not programmed, it seems to run past the limit of the watchdog.
So any advice? Is there a way to command it to give up after 250 ms say?
I'm keeping the faces in flash, and I have 30 faces configured. Could they be corrupted somehow?
Or some strange interaction with the SPI activities? I removed the SPI and 1306, but still getting the problem.
Hi, I'm having a problem with cpu1 watchdog timer going off during a call to face_detect(). The watchdog goes off at about 375 ms, the best I can figure using this bit of code and looking at the arduino serial monitor
So the 889 ms minus 515 ms is the 374 ms that creates the wdt.
I've trained dozen of faces, and detected hundreds with this code, before I ran into this. It is a esp32-cam standard setup, with some added, and recently a with and . These are configured but not being called during the facedetect(), as it is just running in the arduino loop, with nothing on the other cpu, and no user interrupts or tasks.
My setup is below.
And I have fiddled with these mtmn parameters without success, trying to reduce the time of the detect or fail, so it doesn't exceed the watchdog.
It usually fails after about 50ms when there is no face, and takes 100ms to 150ms when there is a face, but sometimes looking at a face which is programmed or not programmed, it seems to run past the limit of the watchdog.
So any advice? Is there a way to command it to give up after 250 ms say? I'm keeping the faces in flash, and I have 30 faces configured. Could they be corrupted somehow? Or some strange interaction with the SPI activities? I removed the SPI and 1306, but still getting the problem.