TinyML is an incredibly powerful piece of software, and you can easily train your own model and deploy it on an ESP32.
Since the ESP8266 came on the scene a few years ago and revolutionized the way microcontrollers communicate with other devices, incremental progress on this chip has occurred at a relatively even pace ...