initWorkspaceWHOGeneric.m 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. function initWorkspaceWHOGeneric
  2. %% add paths
  3. % pre-computed data
  4. addpath( genpath( fullfile(pwd, 'data') ) );
  5. % things for detecting objects
  6. addpath( genpath( fullfile(pwd, 'detect') ) );
  7. % mainly HOG and scripts for image resizing
  8. addpath( genpath( fullfile(pwd, 'features') ) );
  9. % everything regarding learning the actual LDA detectors
  10. addpath( genpath( fullfile(pwd, 'learn') ) );
  11. % path to introducing demo scripts
  12. addpath( genpath( fullfile(pwd, 'demos') ) );
  13. % minor things, e.g., warping of blocks or padding of arrays
  14. addpath( 'misc' );
  15. % read images from given filename
  16. if (exist('readImage') ~= 2 )
  17. addpath( genpath( fullfile(pwd, 'misc/imageIO') ) );
  18. end
  19. % scripts for configuration of setting-objects
  20. if (exist('getFieldWithDefault') ~= 2 )
  21. addpath( genpath( fullfile(pwd, 'misc/settings') ) );
  22. end
  23. %% 3rd party, untouched
  24. % nothing needed here...
  25. end