Text this: Cattle Segmentation and Contour Detection Based on Solo for Precision Livestock Husbandry