Real-time monitoring of dairy cow activity and feeding behavior based on computer vision