function loadPaths % % In this function you declare the paths of % the directories of the database. It is the % only function that is needed to be changed. % % I want to thank Pedro for his useful lessons. % Directories of the database for getting data global signDir; global voiceDir; global faceDir; % Local directories for training data global userDir; global worldDir; %%%%%%% WARNING %%%%%%%%%%%%%%%%%%%% % userDir is cleared by makeDatabase %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%% The matrices with the features of eigenfaces %%%%%%% global trainFaceFeat; global testFaceFeat; trainFaceFeat = 'stat_features_feat15_users47_frames200_frameoffset0'; testFaceFeat = 'test_features_feat15_users47_framesperuser50_frameoffset200'; if ispc voiceDir = '\\falafell\enterfacedb\original_UYVY'; testdir=voiceDir; if exist(testdir) ~= 7 error([testdir ': is not a directory']); end faceDir = '\\falafell\enterfacedb\original_UYVY'; testdir=faceDir; if exist(testdir) ~= 7 error([testdir ': is not a directory']); end %signDir = 'Z:\original_UYVY\'; signDir = '\\falafell\enterfacedb\original_UYVY'; testdir=signDir; if exist(testdir) ~= 7 error([testdir ': is not a directory']); end userDir = 'C:\tmp\users\'; worldDir = 'C:\tmp\world\'; %%%%% The path of Bayesian GMM Toolbox %%%%% P=path; path(P, 'gmmbayestb-v1.0'); elseif isunix %voiceDir = 'Z:\original_UYVY\'; voiceDir = '/home/piotr/devel/enterface/enterface/main/database/original_UYVY/'; testdir=voiceDir; if exist(testdir) ~= 7 error([testdir ': is not a directory']); end %faceDir = 'C:\felipe\'; faceDir = '/home/piotr/devel/enterface/enterface/main/database/original_UYVY/'; testdir=faceDir; if exist(testdir) ~= 7 error([testdir ': is not a directory']); end %signDir = 'Z:\original_UYVY\'; signDir = '/home/piotr/devel/enterface/enterface/main/database/original_UYVY/'; testdir=signDir; if exist(testdir) ~= 7 error([testdir ': is not a directory']); end %userDir = 'C:\train\users\'; userDir = '/home/piotr/tmp/train/users/'; worldDir = '/home/piotr/tmp/train/world/'; %%%%% The path of Bayesian GMM Toolbox %%%%% P=path; path(P, 'gmmbayestb-v1.0'); else error('Configure your platform'); end