TRACKING-BY-DETECTION in MATLAB windows下的程序调试

2024-02-20 02:48

本文主要是介绍TRACKING-BY-DETECTION in MATLAB windows下的程序调试,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

调试了好几天,这个程序终于运行成功了。

遇到的问题:

#include <pthread.h>

in it, I get the error: pthread.h: No such file or directory

查找了很长时间这个问题,没有解决,说这个头文件应该是在linux下的文件。

虽然Windows有pthread的移植版本pthreads-w32-2-9-1-release,但是不知道怎么添加到matlab的环境变量中,

加到系统变量中,不行。

无奈,在网上搜到了mexw64的版本,就是别人编译后的,终于跑成功。


我的目标是做人体的检测,愿下一步顺利。

###################################

# TRACKING-BY-DETECTION in MATLAB #
#  Andreas Geiger, MPI Tübingen   #
###################################

This is the tracking code that has been used for computing the tracklets
urban scene understanding papers:

@ARTICLE{Geiger2014PAMI,
  author = {Andreas Geiger and Martin Lauer and Christian Wojek and Christoph
Stiller and Raquel Urtasun},
  title = {3D Traffic Scene Understanding from Movable Platforms},
  journal = {PAMI},
  year = {2014}
}

@INPROCEEDINGS{Zhang2013ICCV,
  author = {Hongyi Zhang and Andreas Geiger and Raquel Urtasun},
  title = {Understanding High-Level Semantics by Modeling Traffic Patterns},
  booktitle = {ICCV},
  year = {2013}
}

Preparation:

If you want to also run the detection part of this toolbox you need to
compile the DPM object detector (otherwise you can also obtain
the pre-computed detections from www.cvlibs.net/software/trackbydet).
To do so, enter the 'lsvm4' directory and run make.m. You also need to
compile the implementation of the Hungarian algorithm by running make.m

in the tracking directory.


Usage:
1) Download the KITTI raw sequences
   - 2011_09_26_drive_0056
   - 2011_09_26_drive_0059
   - 2011_09_29_drive_0026
   from www.cvlibs.net/datasets/kitti/raw_data.php.
2) You need to run the object detector first. You don't need to train it,
   pre-computed models for cars, pedestrians and cyclists can be found
   in the folder 'models'. To run the object detector, first open
   'run_detection.m' and modify the variables base_dir and seq_dir to point
   to one of the downloaded sequences.
   Run the script to compute the object detections. Note that this part
   takes approximately 5-10 seconds per image. The results for the left color
   image (image_02) are stored in the 'object_02' subfolder of the sequence
   directory.
   - OR -

   Alternatively, you can also use the pre-computed detections provided
   within this zip file in the objects folder. Simply put the
   corresponding object_02 folder underneath the corresponding sequence
   folder, ie, 2011_09_26_drive_0056/object_02.
3) To run the tracking stage, open 'run_tracking.m' and modify
   the variables base_dir and seq_dir to point to one of the downloaded
   sequences for which the folder 'object_02' exists. Run the script.
   The tracking results are stored in 'tracking_results.txt'.
4) To visualize the tracking results, , open 'run_visualization.m' and modify
   the variables base_dir and seq_dir to point to one of the downloaded
   sequences for which the file 'tracking_results.txt' exists. Images with
   colored bounding boxes are displayed and stored in the subfolder

   'track_02'.



程序地址:我已经上次到我的CSDN资源里面

这篇关于TRACKING-BY-DETECTION in MATLAB windows下的程序调试的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/726804

相关文章

在 Windows 上部署 gitblit

在 Windows 上部署 gitblit 在 Windows 上部署 gitblit 缘起gitblit 是什么安装JDK部署 gitblit 下载 gitblit 并解压配置登录注册为 windows 服务 修改 installService.cmd 文件运行 installService.cmd运行 gitblitw.exe查看 services.msc 缘起

Windows如何添加右键新建菜单

Windows如何添加右键新建菜单 文章目录 Windows如何添加右键新建菜单实验环境缘起以新建`.md`文件为例第一步第二步第三步 总结 实验环境 Windows7 缘起 因为我习惯用 Markdown 格式写文本,每次新建一个.txt后都要手动修改为.md,真的麻烦。如何在右键新建菜单中添加.md选项呢? 网上有很多方法,这些方法我都尝试了,要么太麻烦,要么不凑效

matlab读取NC文件(含group)

matlab读取NC文件(含group): NC文件数据结构: 代码: % 打开 NetCDF 文件filename = 'your_file.nc'; % 替换为你的文件名% 使用 netcdf.open 函数打开文件ncid = netcdf.open(filename, 'NC_NOWRITE');% 查看文件中的组% 假设我们想读取名为 "group1" 的组groupName

Windows下Nginx的安装及开机启动

1、将nginx-1.16.1.zip解压拷贝至D:\web\nginx目录下。 2、启动Nginx,两种方法: (1)直接双击nginx.exe,双击后一个黑色的弹窗一闪而过。 (2)打开cmd命令窗口,切换到nginx目录下,输入命令 nginx.exe 或者 start nginx ,回车即可。 3、检查nginx是否启动成功。 直接在浏览器地址栏输入网址 http://lo

利用matlab bar函数绘制较为复杂的柱状图,并在图中进行适当标注

示例代码和结果如下:小疑问:如何自动选择合适的坐标位置对柱状图的数值大小进行标注?😂 clear; close all;x = 1:3;aa=[28.6321521955954 26.2453660695847 21.69102348512086.93747104431360 6.25442246899816 3.342835958564245.51365061796319 4.87

C# double[] 和Matlab数组MWArray[]转换

C# double[] 转换成MWArray[], 直接赋值就行             MWNumericArray[] ma = new MWNumericArray[4];             double[] dT = new double[] { 0 };             double[] dT1 = new double[] { 0,2 };

Windows环境利用VS2022编译 libvpx 源码教程

libvpx libvpx 是一个开源的视频编码库,由 WebM 项目开发和维护,专门用于 VP8 和 VP9 视频编码格式的编解码处理。它支持高质量的视频压缩,广泛应用于视频会议、在线教育、视频直播服务等多种场景中。libvpx 的特点包括跨平台兼容性、硬件加速支持以及灵活的接口设计,使其可以轻松集成到各种应用程序中。 libvpx 的安装和配置过程相对简单,用户可以从官方网站下载源代码

C++实现俄罗斯方块(Windows控制台版)

C++实现俄罗斯方块(Windows控制台版) 在油管上看到一个使用C++控制台编写的俄罗斯方块小游戏,源代码200多行,B站上也有相关的讲解视频,非常不错,值得学习。 B站讲解视频地址为:【百万好评】国外技术大神C++游戏编程实战教程,油管580W收藏,新手10小时入门,并快速达到游戏开发能力(中英字幕) B站 CSDN博主千帐灯无此声还为此写了一篇博客:C++实现俄罗斯方块(源码+详解),讲

Windows下php扩展开发c++动态库

PHP扩展开发,从零了解到初步完成一个小项目,经过三天的仔细研究,现整理如下 一、需求介绍 PHP扩展开发,调用自己之前的c++动态库,完成功能 二、项目之前 系统:windows xp  开发工具:vs 2008 web环境:apache2.4  PHP5.3.29-VC9-ts-x86 aphach和PHP 环境之前已经搭建完成 PHP源码:去官网http://www.php.n

libsvm在matlab中的使用方法

原文地址:libsvm在matlab中的使用方法 作者: lwenqu_8lbsk 前段时间,gyp326曾在论坛里问libsvm如何在matlab中使用,我还奇怪,认为libsvm是C的程序,应该不能。没想到今天又有人问道,难道matlab真的能运行libsvm。我到官方网站看了下,原来,真的提供了matlab的使用接口。 接口下载在: http://www.csie.ntu.edu.