Giter Club home page Giter Club logo

labelseg's Introduction

LabelSeg

基于python和opencv的样本交互标注工具 (很简单,没有多余的GUI,只能用于全程手动的分割标注)

Requirements

  • python2.7
  • python-opencv
  • numpy
  • [optional] eclipse

Usage

在config.txt的img_path项处,填写目标待标注图片 运行main.py,显示两个窗口,分别为标注图像,和标注结果

类别设置参考config.txt

按键如下:

  • 1 to 9键 切换类别
  • 单击鼠标左键:在标注窗口滑动
  • 空格:闭合多边形,并更新标注结果
  • z键:撤销最近的一次“完整的”标注操作
  • Esc:退出标注并自动保存标注结果,保存路径为输入图像的同一文件夹下,并添加seg后缀

Trick

先标注层级较低的物体,使用非常粗略的标注(画到别的物体上),再标注细节,用较上层的物体覆盖

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.