Abstract:In view of the existing pasture livestock measuring workload greatly and the limitations of manual measurement problem, we propose a non-contact measurement building method of grassland pasture sheep body signs based on machine vision. Considering the pasture breeding environment, this study on the portable real-time embedded Linux operating system platform, through the wide-angle camera to obtain sheep color images, and call the open source computer vision library OpenCV for real-time image processing, looking for signs of feature points and calculate the sheep's body height and length and other signs of data. Image processing:background subtraction, image denoising, binarization, contour extraction and feature point recognition. The experimental verification showed that:this measurement method has a certain error, the average relative error is less than 3%, so this measurement method has great practical value.