GithubHelp home page GithubHelp logo

segmentation_-tool's Introduction

语义分割训练前处理工具

详细说明在:CSDN链接

运行

git clone或下载程序后,运行.exe文件可直接运行 或运行Segmentation_UI.py也可打开界面进行操作

主要功能:

Num Title
FUNC1: 视频素材转换成图像
FUNC2: 把标注后json文件和对应的jpg文件从混合的文件夹中提取出来
FUNC3: Json_to_Dataset功能.从Json文件获得标签文件
FUNC4: Get_JPG_PNG从上一步的Dataset文件中提取训练图像和训练标签
FUNC5: 从训练集中随机选取一定比例的图像和标签作为验证集图像和标签
FUNC6: 由模型输出标签和人工标签计算得到MIOU和MPA

BY LiangBo

FUNC1:视频素材转换成图像

  • 用于将视频素材转换成单张图像素材,本程序默认转换为640*480大小的图像,若需其他尺寸需要在函数中修改

FUNC2:把标注后json文件和对应的jpg文件从混合的文件夹中提取出来.

  • 当我们在用Labelme等标注素材图像时,往往将标注后的Json文件和这些素材放在同一个文件夹中. 但又不需要对该文件夹中的每张图像都进行标注,因此在对Json和对应的Jpg文件进行Json_to_dataset之前需要 将标注完成的Json文件及对应的Jpg文件提取出来单独存放,只就是FUN2的功能.

FUNC3:Json_to_Dataset功能

  • 用于从标注完成的Json文件提取出来标签图像等信息存放到OUTPUT文件夹.

FUNC4:Get_JPG_PNG从上一步的Dataset文件中提取训练图像和训练标签

  • 从Jpg文件夹和OUTPUT文件夹提取训练集的图像和标签文件分别存放到指定文件夹.

FUNC5:从训练集中随机选取一定比例的图像和标签作为验证集图像和标签

  • 功能如标题所示.

FUNC6:由模型输出标签和人工标签计算得到MIOU和MPA

  • 功能如标题所示.

images

segmentation_-tool's People

Contributors

rambo-l avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.