-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
I want to implement Motion Detection.
For a time the program runs fine. But then it throws an error message:
esp_jpg_decode: JPG Decompression Failed! Data format error
After this, the program hangs in the while loop:
if (!detection.run().isOk()) {
Serial.println("Detection error: ");
Serial.println(detection.exception.toString());
return;
}
No more exception is printed. ESP needs no be reset to work again for a time.
Any solution? Tried to implement ESP.restart in the while loop but this conflicts with detection.rate.atMostOnceEvery(5).seconds();
So the ESP is restarted immediately after start.
Metadata
Metadata
Assignees
Labels
No labels