Image Similarity Detection for Livestock Tracking