Text this: Design and optimization of an embedded machine learning image processing system with a Linux SOC for large-scale livestock tallying