Skip to content

Instantly share code, notes, and snippets.

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
@huy10
huy10 / Face_SwappingFinal.cpp
Last active December 20, 2015 01:18
first day here
// Face_SwappingFinal.cpp : ��������̨Ӧ�ó��������ڵ㡣
//
// FaceSwapping_new.cpp : ��������̨Ӧ�ó��������ڵ㡣
//
#include "stdafx.h"
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"