資源簡介
KCF目標跟蹤算法C++版(非opencv),在路徑中放入自己的視頻即可使用
代碼片段和文件信息
/*M///////////////////////////////////////////////////////////////////////////////////////
//
//??IMPORTANT:?READ?BEFORE?DOWNLOADING?COPYING?INSTALLING?OR?USING.
//
//??By?downloading?copying?installing?or?using?the?software?you?agree?to?this?license.
//??If?you?do?not?agree?to?this?license?do?not?download?install
//??copy?or?use?the?software.
//
//
//???????????????????????????License?Agreement
//????????????????For?Open?Source?Computer?Vision?Library
//
//?Copyright?(C)?2010-2013?University?of?Nizhny?Novgorod?all?rights?reserved.
//?Third?party?copyrights?are?property?of?their?respective?owners.
//
//?Redistribution?and?use?in?source?and?binary?forms?with?or?without?modification
//?are?permitted?provided?that?the?following?conditions?are?met:
//
//???*?Redistribution‘s?of?source?code?must?retain?the?above?copyright?notice
//?????this?list?of?conditions?and?the?following?disclaimer.
//
//???*?Redistribution‘s?in?binary?form?must?reproduce?the?above?copyright?notice
//?????this?list?of?conditions?and?the?following?disclaimer?in?the?documentation
//?????and/or?other?materials?provided?with?the?distribution.
//
//???*?The?name?of?the?copyright?holders?may?not?be?used?to?endorse?or?promote?products
//?????derived?from?this?software?without?specific?prior?written?permission.
//
//?This?software?is?provided?by?the?copyright?holders?and?contributors?“as?is“?and
//?any?express?or?implied?warranties?including?but?not?limited?to?the?implied
//?warranties?of?merchantability?and?fitness?for?a?particular?purpose?are?disclaimed.
//?In?no?event?shall?the?Intel?Corporation?or?contributors?be?liable?for?any?direct
//?indirect?incidental?special?exemplary?or?consequential?damages
//?(including?but?not?limited?to?procurement?of?substitute?goods?or?services;
//?loss?of?use?data?or?profits;?or?business?interruption)?however?caused
//?and?on?any?theory?of?liability?whether?in?contract?strict?liability
//?or?tort?(including?negligence?or?otherwise)?arising?in?any?way?out?of
//?the?use?of?this?software?even?if?advised?of?the?possibility?of?such?damage.
//
//M*/
//Modified?from?latentsvm?module‘s?“lsvmc_featurepyramid.cpp“.
//#include?“precomp.hpp“
//#include?“_lsvmc_latentsvm.h“
//#include?“_lsvmc_resizeimg.h“
#include?“fhog.hpp“
#ifdef?HAVE_TBB
#include?
#include?“tbb/parallel_for.h“
#include?“tbb/blocked_range.h“
#endif
#ifndef?max
#define?max(ab)????????????(((a)?>?(b))???(a)?:?(b))
#endif
#ifndef?min
#define?min(ab)????????????(((a)?(b))???(a)?:?(b))
#endif
/*
//?Getting?feature?map?for?the?selected?subimage
//
//?API
//?int?getFeatureMaps(const?IplImage?*?image?const?int?k?featureMap?**map);
//?INPUT
//?image?????????????-?selected?subimage
//?k?????????????????-?size?of?cells
//?OUTPUT
//?map???????????????-?feature?map
//?RESULT
//?Error?status
*/
int?getFeatureMaps(const?IplImage*?image?const?int?k?CvLSVMFeatureMapCaskade?**map)
{
int?sizeX?sizeY;
int?p?px?stringSize;
int?height?width?numChannels
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????6325??2018-06-11?11:00??kcf_demo\ffttools.hpp
?????文件????????5564??2018-06-11?11:00??kcf_demo\fhog.hpp
?????文件????????1711??2018-09-07?19:41??kcf_demo\kcf_demo.vcxproj.filters
?????文件?????????679??2018-06-11?11:01??kcf_demo\labdata.hpp
?????文件???????36686??2018-07-09?22:02??kcf_demo\ORBextractor.cpp
?????文件????????2221??2018-07-09?22:02??kcf_demo\ORBextractor.h
?????文件????????1323??2018-06-11?11:01??kcf_demo\tracker.h
?????目錄???????????0??2018-12-31?04:27??kcf_demo\x64\
?????目錄???????????0??2018-12-31?04:27??kcf_demo\x64\Debug\
?????文件????????2418??2018-09-07?19:38??kcf_demo\x64\Debug\kcf_demo.tlog\CL.command.1.tlog
?????文件?????????654??2018-09-07?19:41??kcf_demo\x64\Debug\kcf_demo.tlog\li
?????文件?????2960909??2018-09-07?19:38??kcf_demo\x64\Debug\ORBextractor.obj
?????文件??????654202??2018-09-07?19:38??kcf_demo\x64\Debug\runtracker.obj
?????文件?????1600512??2018-09-07?19:38??kcf_demo\x64\Debug\vc140.idb
?????目錄???????????0??2018-12-31?04:27??kcf_demo\x64\Release\
?????文件?????1565571??2018-07-04?15:12??kcf_demo\x64\Release\fhog.obj
?????文件????????3283??2018-07-04?15:12??kcf_demo\x64\Release\kcf_demo.log
?????文件????????4022??2018-07-04?15:12??kcf_demo\x64\Release\kcf_demo.tlog\CL.command.1.tlog
?????文件??????194028??2018-07-04?15:12??kcf_demo\x64\Release\kcf_demo.tlog\CL.read.1.tlog
?????文件????????2832??2018-07-04?15:12??kcf_demo\x64\Release\kcf_demo.tlog\CL.write.1.tlog
?????文件?????????192??2018-07-04?15:12??kcf_demo\x64\Release\kcf_demo.tlog\kcf_demo.lastbuildstate
?????文件????????8222??2018-07-04?15:12??kcf_demo\x64\Release\kcf_demo.tlog\li
?????目錄???????????0??2018-12-31?04:27??x64\
?????目錄???????????0??2018-12-31?04:27??x64\Debug\
?????文件??????293376??2018-09-07?19:41??x64\Debug\kcf_demo.exe
?????文件?????1125136??2018-09-07?19:41??x64\Debug\kcf_demo.ilk
?????文件?????4362240??2018-09-07?19:41??x64\Debug\kcf_demo.pdb
?????目錄???????????0??2018-12-31?04:27??x64\Release\
?????文件???????82944??2018-07-04?15:12??x64\Release\kcf_demo.exe
?????文件??????885865??2018-07-04?15:12??x64\Release\kcf_demo.iobj
?????文件??????787920??2018-07-04?15:12??x64\Release\kcf_demo.ipdb
............此處省略26個文件信息
- 上一篇:智能無線語音小車
- 下一篇:wincap c++ mfc 網絡截包 多線程
評論
共有 條評論