Face detection is an essential component of computer vision in artificial intelligence, and it finds widespread applications in both industrial manufacturing and daily life. This paper investigates a face detection system using the Haar Cascades algorithm to recognize face objects in real-time frames and locate faces within the frames. The system comprises a face recognition training module with input training data and a feature extraction algorithm for faces. After obtaining real-time images from the camera, data preprocessing is conducted, and the data is fed into the trained face recognition module to output the position of the face. Once the face's position on the frame is determined, the face area is highlighted to display the face detection results on the frame. The research results indicate an accuracy rate of up to 96% under stable lighting conditions. However, under unstable lighting conditions, with the camera focused on distant objects beyond 500mm, the accuracy rate drops to 66%.Nhận diện khuôn mặt (Face detection) là một phần quan trọng của thị giác máy tính trí tuệ nhân tạo, nhận diện khuôn mặt được úng dụng khá phổ biển cả trong công nghiệp sản xuất lẫn đời sống hàng ngày. Bài báo này nghiên cứu hệ thống nhận diện khuôn mặt sử dụng thuật toán Haar Cascades để nhận dạng đối tượng khuôn mặt trong khung hình theo thời gian thực và định vị khuôn mặt trên khung hình. Hệ thống gồm module huấn luyện nhận dạng khuôn mặt với dữ liệu huấn luyện đầu vào của module và thuật toán trích trọn đặc trưng khuôn mặt. Sau khi có hình ảnh theo thời gian thực từ camera, tiền xử lý dữ liệu và đẩy dữ liệu vào module đã được huấn luyện nhận dạng khuôn mặt để trả ra vị trí của khuôn mặt, có vị trí khuôn mặt trên khung hình sẽ khoanh vùng khuôn mặt để hiển thị kết quả khuôn mặt trên khung hình. Kết quả nghiên cứu cho tỉ lệ chính xác với điều kiện ánh sáng ổn định lên đến 96%, tuy nhiên với điều kiện ánh sáng không ổn định, khoảng cách camera hướng tới đối tượng xa trên 500 mm độ chính xác chỉ đạt 66%.