Text this: AI and IoT-powered edge device optimized for crop pest and disease detection