GithubHelp home page GithubHelp logo

dumisanik / dataset_creator-groundtruth- Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 2.08 MB

This tool is used for enhancing the process of collecting training samples from image datasets. cropping multiple regions. The tool allows you to use mouse-drag controls to crop ROIs and automatically store their image coordinates to a simple XML file for the validation of Ground Truth information once a statistical a statistical learning method or classifier has been trained.

License: GNU General Public License v3.0

Python 100.00%

dataset_creator-groundtruth-'s Introduction

Dataset_Creator-GroundTruth-

This tool is used for enhancing the process of collecting training samples from image datasets. cropping multiple regions. The tool allows you to use mouse-drag controls to crop ROIs and automatically store their image coordinates to a simple XML file for the validation of Ground Truth information once a statistical a statistical learning method or classifier has been trained.


Usage: First Copy the scripts {CreateXmlDataSet.py, Step1_StoreAllFilenames.py, Step2_CropSubRegionsOfRoi.py} to the directory of your image dataset.

Step 1: Double click to run "Step1_StoreAllFilenames.py" to store the names of all the images in its folder.

Step 2: Run "Step2_CropSubRegionsOfRoi.py", to open up the app. -You will see a pop up to select the type of your samples: "PositiveSamples" or "Negative Samples"

  • This will open the first image, use the mouse to select all the ROIs you would like to save.

  • You do this by clicking at the Top-Left corner of the rectangle bounding your object of interest,

  • hold and drag to the Bottom-Right corner of it. NB: You can select as many ROIs you like on the same picture.

  • Once you are done with the current image, press the [Right-Arrow] key on your keyboard to move to the next image. NB: You can only iterate to the next images, and cannot move to the previous images.

The app will ask you to confirm saving to the xml once you have iterated through all the images. You can hold the [Right-Arrow] key to skip through images.

REquirements and Dependencies

  • Python 2.7
  • OpenCV for Python
  • lxml

dataset_creator-groundtruth-'s People

Contributors

dumisanik avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

marc45

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.