forked from vlfeat/vlbenchmarks
/
install.m
29 lines (23 loc) · 810 Bytes
/
install.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
function install()
% INSTALL Install benchmarks and its basic support tools
% Authors: Karel Lenc
% AUTORIGHTS
% Installs VLFeat and compiles mex files needed for the benchmarking
% code. This script does not install any detector apart from VLFeat
% detectors and detectors with Matlab implementation. Other
% detectors or datasets are installed on demand during the wrapper
% object construction.
installers = {...
helpers.VlFeatInstaller(),...
helpers.Installer(), ...
benchmarks.RepeatabilityBenchmark(),...
benchmarks.IjcvOriginalBenchmark()
};
if ~ismember(computer,{'PCWIN','PCWIN64'})
installers = [installers {benchmarks.RetrievalBenchmark()}];
else
warning('Retrieval benchmark currently not supported on your platform.');
end
for installer=installers
installer{:}.install();
end