Skip to content

Commit 8393f19

Browse files
committedApr 17, 2023
Commit open source version
1 parent c7313fe commit 8393f19

File tree

3 files changed

+30
-4
lines changed

3 files changed

+30
-4
lines changed
 

‎.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ bld/
3434
[Oo]ut/
3535
[Ll]og/
3636
[Ll]ogs/
37+
Debug.props
38+
Release.props
3739

3840
# Visual Studio 2015/2017 cache/options directory
3941
.vs/

‎CMakeLists.txt

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
cmake_minimum_required(VERSION 3.16)
2+
project(CylinderTag VERSION 1.0.0 LANGUAGES CXX)
3+
4+
set(CMAKE_CXX_STANDARD 17)
5+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
6+
set(CMAKE_CXX_EXTENSIONS OFF)
7+
8+
# Find OpenCV
9+
find_package(OpenCV REQUIRED)
10+
include_directories(${OpenCV_INCLUDE_DIRS})
11+
12+
# Find Ceres
13+
find_package(Ceres REQUIRED)
14+
include_directories(${CERES_INCLUDE_DIRS})
15+
16+
# Add headers directory
17+
include_directories(${PROJECT_SOURCE_DIR}/header)
18+
19+
# Add source files
20+
add_executable(${PROJECT_NAME}
21+
main.cpp
22+
CylinderTag.cpp
23+
corner_detector.cpp
24+
pose_estimation.cpp
25+
)
26+
27+
# Link libraries
28+
target_link_libraries(${PROJECT_NAME} ${OpenCV_LIBS} ${CERES_LIBRARIES})

‎corner_localize.cpp

-4
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.