Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv_contrib
Commits
d712740e
Commit
d712740e
authored
Oct 02, 2015
by
Wangyida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove redundancy opencv libs in samples
parent
9852e809
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
9 deletions
+5
-9
README.md
modules/cnn_3dobj/README.md
+1
-1
CMakeLists.txt
modules/cnn_3dobj/samples/CMakeLists.txt
+4
-4
demo_classify.cpp
modules/cnn_3dobj/samples/demo_classify.cpp
+0
-1
demo_model_analysis.cpp
modules/cnn_3dobj/samples/demo_model_analysis.cpp
+0
-1
demo_sphereview_data.cpp
modules/cnn_3dobj/samples/demo_sphereview_data.cpp
+0
-1
demo_video.cpp
modules/cnn_3dobj/samples/demo_video.cpp
+0
-1
No files found.
modules/cnn_3dobj/README.md
View file @
d712740e
...
...
@@ -30,7 +30,7 @@ $ sudo make install
$ cd <opencv_source_directory>
$ mkdir build
$ cd build
$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D
BUILD_NEW_PYTHON_SUPPORT=OFF -D WITH_V4L=ON -D WITH_QT=OFF -D WITH_OPENGL=ON -D WITH_VTK=ON -D INSTALL_TESTS=ON -D OPENCV_EXTRA_MODULES_PATH=<opencv_contrib>
/modules ..
$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D
WITH_V4L=ON -D WITH_QT=OFF -D WITH_OPENGL=ON -D WITH_VTK=ON -D INSTALL_TESTS=ON -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib
/modules ..
$ make -j4
$ sudo make install
```
...
...
modules/cnn_3dobj/samples/CMakeLists.txt
View file @
d712740e
...
...
@@ -6,16 +6,16 @@ find_package(OpenCV REQUIRED)
set
(
SOURCES_generator demo_sphereview_data.cpp
)
include_directories
(
${
OpenCV_INCLUDE_DIRS
}
)
add_executable
(
sphereview_test
${
SOURCES_generator
}
)
target_link_libraries
(
sphereview_test
${
OpenCV_LIBS
}
)
target_link_libraries
(
sphereview_test
opencv_core opencv_imgproc opencv_highgui opencv_cnn_3dobj opencv_xfeatures2d
)
set
(
SOURCES_classifier demo_classify.cpp
)
add_executable
(
classify_test
${
SOURCES_classifier
}
)
target_link_libraries
(
classify_test
${
OpenCV_LIBS
}
)
target_link_libraries
(
classify_test
opencv_core opencv_imgproc opencv_highgui opencv_cnn_3dobj opencv_xfeatures2d
)
set
(
SOURCES_modelanalysis demo_model_analysis.cpp
)
add_executable
(
model_test
${
SOURCES_modelanalysis
}
)
target_link_libraries
(
model_test
${
OpenCV_LIBS
}
)
target_link_libraries
(
model_test
opencv_core opencv_imgproc opencv_highgui opencv_cnn_3dobj opencv_xfeatures2d
)
set
(
SOURCES_video demo_video.cpp
)
add_executable
(
video_test
${
SOURCES_video
}
)
target_link_libraries
(
video_test
${
OpenCV_LIBS
}
)
target_link_libraries
(
video_test
opencv_core opencv_imgproc opencv_highgui opencv_cnn_3dobj opencv_xfeatures2d
)
modules/cnn_3dobj/samples/demo_classify.cpp
View file @
d712740e
...
...
@@ -37,7 +37,6 @@
* @brief Feature extraction and classification.
* @author Yida Wang
*/
#define HAVE_CAFFE
#include <opencv2/cnn_3dobj.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <iomanip>
...
...
modules/cnn_3dobj/samples/demo_model_analysis.cpp
View file @
d712740e
...
...
@@ -37,7 +37,6 @@
* @brief Generating training data for CNN with triplet loss.
* @author Yida Wang
*/
#define HAVE_CAFFE
#include <iostream>
#include "opencv2/imgproc.hpp"
#include "opencv2/cnn_3dobj.hpp"
...
...
modules/cnn_3dobj/samples/demo_sphereview_data.cpp
View file @
d712740e
...
...
@@ -37,7 +37,6 @@
* @brief Generating training data for CNN with triplet loss.
* @author Yida Wang
*/
#define HAVE_CAFFE
#include <opencv2/cnn_3dobj.hpp>
#include <opencv2/viz/vizcore.hpp>
#include <iostream>
...
...
modules/cnn_3dobj/samples/demo_video.cpp
View file @
d712740e
...
...
@@ -2,7 +2,6 @@
#include <opencv2/calib3d/calib3d.hpp>
#include <iostream>
#include <fstream>
#define HAVE_CAFFE
#include <opencv2/cnn_3dobj.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <iomanip>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment