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
7157e674
Commit
7157e674
authored
Nov 28, 2016
by
Pavel Rojtberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drop cnn_3dobj_config.hpp. the HAVE_CAFFE check was pointless.
parent
cbd26a65
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
15 deletions
+1
-15
CMakeLists.txt
modules/cnn_3dobj/CMakeLists.txt
+0
-2
cnn_3dobj_config.hpp.in
modules/cnn_3dobj/cnn_3dobj_config.hpp.in
+0
-5
cnn_3dobj.hpp
modules/cnn_3dobj/include/opencv2/cnn_3dobj.hpp
+1
-7
cnn_3dobj_config.hpp
modules/cnn_3dobj/include/opencv2/cnn_3dobj_config.hpp
+0
-0
test_precomp.hpp
modules/cnn_3dobj/test/test_precomp.hpp
+0
-1
No files found.
modules/cnn_3dobj/CMakeLists.txt
View file @
7157e674
...
...
@@ -27,8 +27,6 @@ endif()
if
(
NOT HAVE_CAFFE
)
ocv_module_disable
(
cnn_3dobj
)
else
()
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/cnn_3dobj_config.hpp.in
${
CMAKE_CURRENT_SOURCE_DIR
}
/include/opencv2/cnn_3dobj_config.hpp @ONLY
)
include_directories
(
${
CMAKE_CURRENT_BINARY_DIR
}
)
...
...
modules/cnn_3dobj/cnn_3dobj_config.hpp.in
deleted
100755 → 0
View file @
cbd26a65
#ifndef __OPENCV_CNN_3DOBJ_CONFIG_HPP__
#define __OPENCV_CNN_3DOBJ_CONFIG_HPP__
// HAVE CAFFE
#cmakedefine HAVE_CAFFE
#endif
modules/cnn_3dobj/include/opencv2/cnn_3dobj.hpp
View file @
7157e674
...
...
@@ -58,23 +58,17 @@ the use of this software, even if advised of the possibility of such damage.
#include <dirent.h>
#define CPU_ONLY
#include <opencv2/cnn_3dobj_config.hpp>
#ifdef HAVE_CAFFE
#include <caffe/blob.hpp>
#include <caffe/common.hpp>
#include <caffe/net.hpp>
#include <caffe/proto/caffe.pb.h>
#include <caffe/util/io.hpp>
#endif
#include "opencv2/viz/vizcore.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/highgui/highgui_c.h"
#include "opencv2/imgproc.hpp"
using
caffe
::
Blob
;
using
caffe
::
Caffe
;
using
caffe
::
Datum
;
using
caffe
::
Net
;
/** @defgroup cnn_3dobj 3D object recognition and pose estimation API
As CNN based learning algorithm shows better performance on the classification issues,
...
...
modules/cnn_3dobj/include/opencv2/cnn_3dobj_config.hpp
deleted
100755 → 0
View file @
cbd26a65
modules/cnn_3dobj/test/test_precomp.hpp
View file @
7157e674
...
...
@@ -12,7 +12,6 @@
#include <iostream>
#include "opencv2/ts.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/cnn_3dobj_config.hpp"
#include "opencv2/cnn_3dobj.hpp"
#endif
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