GithubHelp home page GithubHelp logo

data_preparation's Introduction

Data Preparation

This tools designed to create a set of images cropped from the original images for making an appropriate database of classified images. The graphical interface provided by 'imglab' makes it very easy to use.

You can use the up and down arrow keys to cycle though the images and the mouse to label objects. In particular, holding the shift key, left clicking, and dragging the mouse will allow you to draw boxes around the objects you wish to detect.

Once you finish labeling objects go to the file menu, click save, and then close the program. This will save the object boxes back to the xml file.

Possible usages is to create train/test database for a Neural Network.

Pre-requisites

OpenCV (2.4.11 or later)
imglab tool (see https://github.com/SaswatPadhi/dlib/tree/master/tools/imglab)

Running

./create_data.py <dir_for_cropped_images> <file.xml> <path_to_original_images>
where:
<dir_for_cropped_images>  - is directory where cropped images will be saved
<file.xml>                - is an xml file name where the intermediate
                            information will be kept before cropping
<path_to_original_images> - path to the directory where the original images
                            are located.

data_preparation's People

Contributors

fime-arsen avatar arsenhakobyan avatar

Stargazers

 avatar

Watchers

 avatar

data_preparation's Issues

ttt

This is the initial issue

  • 3
  • 4
  • 5
  • 6
  • 7

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.