Coder Social home page Coder Social logo

label_tool's Introduction

使用方法:

##需要安装opencv, 更换main中的video路径
mkdir build
cd build
cmake ..
make
./label_tool

之后你需要在build文件夹中添加以下文件:

  • video.avi 内容为需标记的视频
    现在不需要添加文件夹,也暂时不需要做负例

数据集共享

每标记一个id的装甲板,在build文件夹中都应出现该id对应的文件夹,将其压缩并在其文件名末尾添加当前日期,如“id3_0430.zip”以便于区分。。 百度网盘群组: https://pan.baidu.com/mbox/homepage?short=pNqIv8n
加入后上传进来,我们将数据集中在这里,需要使用时再来全部下载

可以运行之后就可以按照提示操作

当目标变化不大时,可以一直按住空格键或r
注意:1)只有按下space才会储存标签。对box进行操作时也会进入下一帧,但是box不会被储存。
2) box应当完全包含完整的装甲板,包括数字和两侧灯条。
3)选择标签的原则为标记尽可能多状态下的装甲板,如角度,亮度,大小,模糊程度等。可以不用在同一个场景(如视频中车没有动了)下一直标记, 在那个场景标记了一定数量(100张)后,可适当跳过一些重复或者较相似的帧。

操作指南

space : 选定当前鼠标位置/储存当前box为label,并进入下一帧
r : 重新进入选取box模式/跳过当前图片
w : 向上移动box
s : 向下移动box
a : 向左移动box
d : 向右移动box
q : 等比缩小box
e : 等比放大box
j : 水平减小box
l : 水平放大box
i : 垂直放大box
k : 垂直减小box

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.