From: <bl...@us...> - 2008-10-07 13:26:24
|
Revision: 3477 http://hugin.svn.sourceforge.net/hugin/?rev=3477&view=rev Author: blimbo Date: 2008-10-07 12:13:22 +0000 (Tue, 07 Oct 2008) Log Message: ----------- Linked standalone tool with libceleste Modified Paths: -------------- hugin/branches/gsoc2008_sky_identification/src/celeste/CMakeLists.txt hugin/branches/gsoc2008_sky_identification/src/hugin1/hugin/CPEditorPanel.cpp Modified: hugin/branches/gsoc2008_sky_identification/src/celeste/CMakeLists.txt =================================================================== --- hugin/branches/gsoc2008_sky_identification/src/celeste/CMakeLists.txt 2008-10-06 11:28:05 UTC (rev 3476) +++ hugin/branches/gsoc2008_sky_identification/src/celeste/CMakeLists.txt 2008-10-07 12:13:22 UTC (rev 3477) @@ -65,8 +65,9 @@ # standalone and training executables -ADD_EXECUTABLE(celeste_standalone ../hugin_config.h Main.cpp Celeste.cpp Celeste.h ) -target_link_libraries( celeste_standalone gabor tinysvm ${image_libs} ) +#ADD_EXECUTABLE(celeste_standalone ../hugin_config.h Main.cpp Celeste.cpp Celeste.h ) +ADD_EXECUTABLE(celeste_standalone ../hugin_config.h Main.cpp ) +target_link_libraries( celeste_standalone gabor tinysvm celeste ${image_libs} ) SET (CELESTE_MODEL data/celeste.model Modified: hugin/branches/gsoc2008_sky_identification/src/hugin1/hugin/CPEditorPanel.cpp =================================================================== --- hugin/branches/gsoc2008_sky_identification/src/hugin1/hugin/CPEditorPanel.cpp 2008-10-06 11:28:05 UTC (rev 3476) +++ hugin/branches/gsoc2008_sky_identification/src/hugin1/hugin/CPEditorPanel.cpp 2008-10-07 12:13:22 UTC (rev 3477) @@ -2185,6 +2185,8 @@ // Open SVM model file TinySVM::Model m; + cout << "Loading model file " << modelfile << endl; + if (! m.read(modelfile.c_str())) throw; // Image to analyse This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |