# -------------------------------------------------------------------- #
# Author: Martin Godec
# godec@icg.tugraz.at
# -------------------------------------------------------------------- #
cmake_minimum_required (VERSION 2.6)
project (HoughTracker)
SET(HoughTracker_VERSION_MAJOR 1)
SET(HoughTracker_VERSION_MINOR 0)
MESSAGE(STATUS "--------------------------------------------------")
MESSAGE(STATUS "Project: HoughTracker v${HoughTracker_VERSION_MAJOR}.${HoughTracker_VERSION_MINOR}")
MESSAGE(STATUS "by Martin Godec <godec@icg.tugraz.at>")
MESSAGE(STATUS "--------------------------------------------------")
# -------------------------------------------------------------------- #
# Change to configure for your system / preferences
# -------------------------------------------------------------------- #
SET( CMAKE_BUILD_TYPE Release ) # set to [Release|Debug] to switch optimization flags
SET( OPENCV_LIB /usr/local/lib ) # set OpenCV library dir (default: /usr/local/lib)
SET( OPENCV_INCLUDE /usr/local/include/opencv ) # set OpenCV include dir (default: /usr/local/include)
SET( BOOST_LIB /usr/lib ) # set Boost library dir (default: /usr/lib)
SET( BOOST_INCLUDE /usr/include/boost ) # set Boost include dir (default: /usr/include)
# -------------------------------------------------------------------- #
# Application setup
# -------------------------------------------------------------------- #
SET ( APPLICATION_NAME Track )
SET ( APPLICATION_SOURCES code/main.cpp code/fern.cpp code/features.cpp code/capture.cpp code/parameters.cpp code/utilities.cpp)
# -------------------------------------------------------------------- #
# Change with caution!
# -------------------------------------------------------------------- #
MESSAGE(STATUS "Building -- ${CMAKE_BUILD_TYPE} -- Version")
SET(CMAKE_VERBOSE_MAKEFILE ON)
SET(OPTIMIZATION_FLAG_DEBUG "-O0 -pg")
SET(OPTIMIZATION_FLAG_RELEASE "-O3 -march=native -mtune=native -msse3 -mfpmath=sse -fomit-frame-pointer -finline-functions -floop-optimize -ffinite-math-only")
SET(WARNING_FLAG_DEBUG "-Wall -Winit-self -Wsequence-point -Wunused")
SET(WARNING_FLAG_RELEASE "-Wall -Winit-self -Wsequence-point -Wunused -Wno-deprecated")
IF( CMAKE_BUILD_TYPE MATCHES Release )
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OPTIMIZATION_FLAG_RELEASE} -fmessage-length=0 -pipe ${WARNING_FLAG_RELEASE}")
ELSE( CMAKE_BUILD_TYPE MATCHES Release )
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OPTIMIZATION_FLAG_DEBUG} -fmessage-length=0 -pipe ${WARNING_FLAG_DEBUG}")
ENDIF( CMAKE_BUILD_TYPE MATCHES Release )
LINK_DIRECTORIES(
${OPENCV_LIB}
${BOOST_LIB}
)
INCLUDE_DIRECTORIES(
${OPENCV_INCLUDE}
${BOOST_INCLUDE}
)
ADD_EXECUTABLE (
${APPLICATION_NAME}
${APPLICATION_SOURCES}
)
TARGET_LINK_LIBRARIES (
${APPLICATION_NAME}
cv
cvaux
cxcore
highgui
config++
boost_filesystem # Lookup the correct library name if this does not work!
)
没有合适的资源?快使用搜索试试~ 我知道了~
Hough-based Tracking
共66个文件
jpg:50个
cpp:6个
h:5个
需积分: 9 7 下载量 65 浏览量
2015-05-14
16:32:42
上传
评论
收藏 1.78MB ZIP 举报
温馨提示
用C++实现目标跟踪,复现这个文献Hough-based Tracking of Non-Rigid Objects,里面说明详细
资源推荐
资源详情
资源评论
收起资源包目录
HoughTrack1.0.zip (66个子文件)
HoughTrack1.0
sample
input
img0016.jpg 40KB
img0040.jpg 26KB
img0041.jpg 25KB
img0038.jpg 29KB
img0042.jpg 25KB
img0019.jpg 40KB
img0030.jpg 37KB
img0018.jpg 39KB
img0044.jpg 26KB
img0023.jpg 40KB
img0017.jpg 39KB
img0000.jpg 40KB
img0025.jpg 39KB
img0015.jpg 39KB
img0034.jpg 33KB
img0046.jpg 28KB
img0043.jpg 26KB
img0005.jpg 44KB
img0032.jpg 35KB
img0028.jpg 37KB
img0031.jpg 36KB
img0011.jpg 39KB
img0027.jpg 38KB
img0008.jpg 41KB
img0045.jpg 27KB
img0009.jpg 41KB
img0039.jpg 27KB
img0003.jpg 43KB
img0014.jpg 38KB
img0033.jpg 34KB
img0037.jpg 30KB
img0022.jpg 41KB
img0035.jpg 32KB
img0012.jpg 39KB
img0029.jpg 37KB
img0026.jpg 38KB
img0004.jpg 44KB
img0006.jpg 43KB
img0020.jpg 40KB
img0036.jpg 31KB
img0049.jpg 28KB
img0013.jpg 38KB
img0047.jpg 28KB
img0007.jpg 42KB
img0010.jpg 40KB
img0048.jpg 28KB
img0002.jpg 42KB
img0021.jpg 41KB
img0024.jpg 40KB
img0001.jpg 41KB
sample.conf 722B
LICENSE 3KB
README 3KB
code
capture.cpp 4KB
capture.h 2KB
fern.cpp 4KB
main.cpp~ 13KB
parameters.cpp 7KB
features.h 6KB
features.cpp 2KB
parameters.h 941B
utilities.cpp 3KB
fern.h 7KB
utilities.h 1KB
main.cpp 13KB
CMakeLists.txt 3KB
共 66 条
- 1
资源评论
YimingHu
- 粉丝: 0
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功