Độ chính xác của hệ thống đo sử dụng ánh sáng cấu trúc phụ thuộc vào thuật toán xử lý đám mây điểm đo 3D, các thuật toán ghép ảnh và dựng lại bề mặt chi tiết đo. Trong bài toán này, một phương pháp phát hiện mặt cầu được phát triển dựa trên thuật toán RANSAC. Phương pháp dựa trên việc lấy mẫu ngẫu nhiên trong tập dữ liệu chứa nhiễu để xác định mặt cầu. Kết quả thực nghiệm chứng minh thuật toán xác định mặt cầu đề xuất có độ chính xác cao với sai số tương đối là 0,2%The accuracy of the metering system using structural light depends on the algorithm of processing 3D point cloud, algorithms and reconstructing the measuring surface. In this problem, a spherical detection method is developed based on the RANSAC algorithm. The method is based on random sampling in the noise data set to determine the sphere. Experimental results prove that the algorithm determines the proposed spherical surface with high accuracy with relative error of 0.2%.