Moved all non-gui stuff outside the GUI

Added FindObject and ObjSignature classes
Added ULogger from utilite for pretty log

git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@356 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
matlabbe
2014-07-31 19:02:31 +00:00
parent 79b4f319f1
commit 680b1740b1
33 changed files with 3364 additions and 1447 deletions
+4
View File
@@ -2,6 +2,7 @@
SET(headers_ui
../src/ObjWidget.h
../src/Camera.h
../src/CameraTcpClient.h
)
#This will generate moc_* for Qt
QT4_WRAP_CPP(moc_srcs ${headers_ui})
@@ -14,8 +15,11 @@ SET(SRC_FILES
../src/QtOpenCV.cpp
../src/Settings.cpp
../src/Camera.cpp
../src/CameraTcpClient.cpp
../src/utilite/UDirectory.cpp
../src/utilite/UFile.cpp
../src/utilite/ULogger.cpp
../src/utilite/UConversion.cpp
${moc_srcs}
)
+2 -2
View File
@@ -151,8 +151,8 @@ int main(int argc, char * argv[])
// PROCESS NEAREST NEIGHBOR RESULTS
////////////////////////////
// Set gui data
objWidget.setData(objectKeypoints, objectDescriptors, objectImg, "", "");
sceneWidget.setData(sceneKeypoints, sceneDescriptors, sceneImg, "", "");
objWidget.setData(objectKeypoints, cvtCvMat2QImage(objectImg));
sceneWidget.setData(sceneKeypoints, cvtCvMat2QImage(sceneImg));
// Find correspondences by NNDR (Nearest Neighbor Distance Ratio)
float nndrRatio = 0.8;