This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filename = 'twins'; | |
OUTPUT = 'C:\\Users\\huy\\Desktop\\matlab\\'; | |
TRAIN = 'C:\\Users\\huy\\Desktop\\matlab\\faces\\'; | |
INPUT = 'C:\\Users\\huy\\Desktop\\matlab\\'; | |
% load the training data set (60 faces) | |
load('data60_256.mat'); | |
% read in original image, face and eyes coordinates/sizes data (from OpenCV's |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Face_SwappingFinal.cpp : ��������̨Ӧ�ó��������ڵ㡣 | |
// | |
// FaceSwapping_new.cpp : ��������̨Ӧ�ó��������ڵ㡣 | |
// | |
#include "stdafx.h" | |
#include "opencv2/objdetect/objdetect.hpp" | |
#include "opencv2/highgui/highgui.hpp" | |
#include "opencv2/imgproc/imgproc.hpp" |