资源简介
程序可以实现,鼠标框选目标之后,跟踪所选目标
操作过程:
1:运行程序
2:选定方式,例如输入1.选定视频流
3:选中视频显示框
4:输入字符p
5:鼠标框选区域
6:输入字符p,实现跟踪
代码片段和文件信息
/*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
/**********************************************************************************
函数功能:计算image的hog特征,结果在map结构中的map大小为sizeX*sizeY*NUM_SECTOR*3(Getting feature map for the selected subimage)
函数参数:选中的子图,cell的大小,返回的特征图
RESULT:Error status
// 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
/
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2371584 2018-12-16 23:17 KCFdemo\KCF\Debug\KCF.pdb
文件 151065 2018-12-16 23:12 KCFdemo\KCF\KCF\Debug\fhog.obj
文件 1700 2018-12-16 23:12 KCFdemo\KCF\KCF\Debug\HKCF.tlog\cl.command.1.tlog
文件 53712 2018-12-16 23:12 KCFdemo\KCF\KCF\Debug\HKCF.tlog\CL.read.1.tlog
文件 996 2018-12-16 23:12 KCFdemo\KCF\KCF\Debug\HKCF.tlog\CL.write.1.tlog
文件 161 2018-12-16 23:12 KCFdemo\KCF\KCF\Debug\HKCF.tlog\HKCF.lastbuildstate
文件 0 2018-12-16 23:12 KCFdemo\KCF\KCF\Debug\HKCF.tlog\unsuccessfulbuild
文件 27757 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.log
文件 1700 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.tlog\cl.command.1.tlog
文件 21290 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.tlog\CL.read.1.tlog
文件 1490 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.tlog\CL.write.1.tlog
文件 161 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.tlog\KCF.lastbuildstate
文件 2 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.tlog\li
文件 2 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.tlog\li
文件 2 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.tlog\li
文件 2 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.tlog\li
文件 2 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.tlog\li
文件 2 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.tlog\li
文件 2 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.tlog\li
文件 2 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.tlog\li
文件 2 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.tlog\li
文件 0 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\KCF.tlog\unsuccessfulbuild
文件 438052 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\kcftracker.obj
文件 223515 2018-12-16 23:12 KCFdemo\KCF\KCF\Debug\runtracker.obj
文件 1379328 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\vc120.idb
文件 1765376 2018-12-16 23:17 KCFdemo\KCF\KCF\Debug\vc120.pdb
文件 633 2018-12-16 23:12 KCFdemo\KCF\KCF\debug_32.props
文件 5369 2018-12-24 20:30 KCFdemo\KCF\KCF\KCF.vcxproj
文件 1855 2018-12-14 09:59 KCFdemo\KCF\KCF\KCF.vcxproj.filters
文件 772 2018-12-16 22:25 KCFdemo\KCF\KCF\PropertySheet.props
............此处省略41个文件信息
- 上一篇:FIR320B原厂编程器固件
- 下一篇:统计信号处理答案 估计部分 pdf
评论
共有 条评论