... Chức :gom nhóm từ video • Bước 1: Thực dọc video: o void createFaceAndImageFormVideo(char* fileNameVideo); đọc liệu từ file video truyền vào, trả danh sách ảnh(frame) đọc từ video có chưa mặt ... createFaceAndImageFormVideo(); // Xác định liệu ảnh cần xử lý từ video void groupFace();// Gom nhóm ảnh có khuôn mặt void initGroup ();//Khởi tạo liệu mẫu void addNewFaceInListTrain(IplImage *face, int ... !pVideoFrame ) { fprintf(stderr, "failed to get a video frame\n"); } // Write the captured video frame as an image file sprintf(filename, "VideoFrame%d.jpg", i+1); if( !cvSaveImage(filename, pVideoFrame)...