Integration of AI with touchscreen sensors