91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.13MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-09-30
  • 語言: C/C++
  • 標(biāo)簽: KCF??

資源簡介

## Tracking with Kernelized Correlation Filters Code author : Tomas Vojir ________________ This is a C++ reimplementation of algorithm presented in "High-Speed Tracking with Kernelized Correlation Filters" paper. For more info and implementation in other languages visit the [autor's webpage!](http://home.isr.uc.pt/~henriques/circulant/). It is extended by a scale estimation (use several *7* different scales steps) and by a RGB (channels) and Color Names [2] features. Data for Color Names features were obtained from [SAMF tracker](https://github.com/ihpdep/samf). It is free for research use. If you find it useful or use it in your research, please acknowledge my git repository and cite the original paper [1]. The code depends on OpenCV 2.4+ library and is build via cmake toolchain. _________________ Quick start guide for linux: open terminal in the directory with the code $ mkdir build; cd build; cmake .. ; make This code compiles into binary **kcf_vot** ./kcf_vot - using VOT 2014 methodology (http://www.votchallenge.net/) - INPUT : expecting two files, images.txt (list of sequence images with absolute path) and region.txt with initial bounding box in the first frame in format "top_left_x, top_left_y, width, height" or four corner points listed clockwise starting from bottom left corner. - OUTPUT : output.txt containing the bounding boxes in the format "top_left_x, top_left_y, width, height" ./kcf_trax - using VOT 2014+ trax protocol (http://www.votchallenge.net/) - require [trax](https://github.com/votchallenge/trax) library to be compiled with opencv support and installed. See trax instruction for compiling and installing. ___________ Performance | | **VOT2016 - baseline EAO** | **VOT2016 - unsupervised EAO** | [**TV77**](http://cmp.felk.cvut.cz/~vojirtom/dataset/index.html) Avg. Recall | |:---------------|:--------------:|:------------------:|:----------------:| | kcf |0.1530 | 0.3859 |

資源截圖

代碼片段和文件信息

#include?

#include?
#include?
#include?“kcf.h“

int?main()
{
????trax::Image?img;
????trax::Region?reg;

????std::unique_ptr?tracker;
????cv::Mat?image;
????cv::Rect?rectangle;

????trax::Server?handle(trax::metadata(TRAX_REGION_RECTANGLE?TRAX_IMAGE_PATH)?trax_no_log);

????while?(true)?{
????????trax::Properties?prop;
????????int?tr?=?handle.wait(img?reg?prop);

????????if?(tr?==?TRAX_INITIALIZE)?{
????????????//create?new?tracker
????????????tracker.reset(new?KCF_Tracker());

????????????rectangle?=?trax::region_to_rect(reg);
????????????image?=?trax::image_to_mat(img);

????????????//?Dynamically?configure?tracker
????????????tracker->m_use_scale?=?prop.get(“use_scale“?true);
????????????tracker->m_use_color?=?prop.get(“use_color“?true);
????????????tracker->m_use_subpixel_localization?=?prop.get(“use_subpixel_localization“?true);
????????????tracker->m_use_subgrid_scale?=?prop.get(“use_subgrid_scale“?true);
????????????tracker->m_use_multithreading?=?prop.get(“use_multithreading“?true);
????????????tracker->m_use_cnfeat?=?prop.get(“use_cnfeat“?true);
????????????tracker->m_use_linearkernel?=?prop.get(“use_linearkernel“?false);

????????????tracker->init(image?rectangle);

????????}?else?if?(tr?==?TRAX_frame)?{

????????????image?=?trax::image_to_mat(img);
????????????if?(tracker)?{
????????????????tracker->track(image);
????????????????BBox_c?bb?=?tracker->getBBox();
????????????????rectangle?=?bb.get_rect();
????????????}
????????}?else?{
????????????break;
????????}

????????trax::Region?status?=?trax::rect_to_region(rectangle);
????????handle.reply(status?trax::Properties());

????}

????return?EXIT_SUCCESS;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-05-16?11:49??kcf-master\
?????文件??????????57??2017-05-16?11:49??kcf-master\.gitignore
?????文件????????1182??2017-05-16?11:49??kcf-master\CMakeLists.txt
?????文件????????5284??2017-05-16?11:49??kcf-master\README.md
?????文件????????1707??2017-05-16?11:49??kcf-master\main_trax.cpp
?????文件????????2127??2017-05-16?11:49??kcf-master\main_vot.cpp
?????目錄???????????0??2017-05-16?11:49??kcf-master\src\
?????文件?????????291??2017-05-16?11:49??kcf-master\src\CMakeLists.txt
?????目錄???????????0??2017-05-16?11:49??kcf-master\src\cn\
?????文件?????????214??2017-05-16?11:49??kcf-master\src\cn\CMakeLists.txt
?????文件?????3513099??2017-05-16?11:49??kcf-master\src\cn\cn_data.cpp
?????文件????????1212??2017-05-16?11:49??kcf-master\src\cn\cnfeat.hpp
?????文件?????????742??2017-05-16?11:49??kcf-master\src\cn\gen_cpp_cn.m
?????文件?????1142188??2017-05-16?11:49??kcf-master\src\cn\w2crs.mat
?????文件????????6974??2017-05-16?11:49??kcf-master\src\complexmat.hpp
?????文件???????26397??2017-05-16?11:49??kcf-master\src\kcf.cpp
?????文件????????3576??2017-05-16?11:49??kcf-master\src\kcf.h
?????目錄???????????0??2017-05-16?11:49??kcf-master\src\piotr_fhog\
?????文件?????????264??2017-05-16?11:49??kcf-master\src\piotr_fhog\CMakeLists.txt
?????文件????????3087??2017-05-16?11:49??kcf-master\src\piotr_fhog\fhog.hpp
?????文件???????18893??2017-05-16?11:49??kcf-master\src\piotr_fhog\gradientMex.cpp
?????文件?????????569??2017-05-16?11:49??kcf-master\src\piotr_fhog\gradientMex.h
?????文件????????3125??2017-05-16?11:49??kcf-master\src\piotr_fhog\sse.hpp
?????文件????????1593??2017-05-16?11:49??kcf-master\src\piotr_fhog\wrappers.hpp
?????文件????????5024??2017-05-16?11:49??kcf-master\vot.hpp
?????文件???????18931??2017-05-16?11:49??kcf-master\vot_trax.h

評論

共有 條評論