目标检测安装:GOTURN安装

本文介绍了一个基于深度学习的目标跟踪项目GOTURN,详细阐述了安装步骤、配置过程及预训练模型使用方法。通过简单的边框标注,在视频首帧指定目标后,即可实现后续帧的自动跟踪。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. Github

https://github.com/davheld/GOTURN

Introduction

GOTURN addresses the problem of single target tracking: given a bounding box label of an object in the first frame of the video, we track that object through the rest of the video.



2.Installation

  1. Install CMake:

    sudo apt-get install cmake

  2. Install TinyXML (needed to load Imagenet annotations):

    sudo apt-get install libtinyxml-dev

  3. clone GOTURN

    git clone --recursive https://github.com/davheld/GOTURN.git

  4. make 
    mkdir build 
    cd build 
    cmake .. 
    make

3. 遇到的问题

  1. 配置caffe路径 
    需要在 GOTURN/cmake/Modules目录下修改Caffe_DIR的值: 
    ###Set the variable Caffe_DIR as the root of your caffe directory 
    set(Caffe_DIR /home/dl/caffe)

  2. make编译时遇到以下编译错误: 
    fatal error: caffe/proto/caffe.pb.h:No such file or directory #include 'caffe/proto/caffe.pb.h' 
    解决: 
    切换到caffe根目录: 
    (1) proto src/caffe/proto/caffe.proto –cpp_out=. 
    【–cpp_out 指定生成c++的代码并放置在当前路径中 】 
    (2) mkdir include/caffe/proto 
    (3) mv src/caffe/proto/caffe.pb.h include/caffe/proto

4. Pretrained model

bash scripts/download_trained_model.sh

5. Tracking Performance

bash scripts/show_tracker_test.sh /home/dl/Downloads/vot2015 

这里写图片描述


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值