Giter VIP home page Giter VIP logo

pixelme's Introduction

PixelMe

PixelMe is a tool which allows users to classify images and videos into different categories. This is to label the dataset for image classification algorithm development.

image

Setup

To classify all the images within a folder simply use the command

python3 PixelMe.py --main_class <YOUR-MAIN-CLASS> --sub_class <SUB-CLASS-1> <SUB-CLASS-2>

To classify frames in the video use

python3 PixelMe.py --main_class <YOUR-MAIN-CLASS> --sub_class <SUB-CLASS-1> <SUB-CLASS-2> --vid

How to use:

Here I give the example of classifying cars based on brands

python3 PixelMe.py --main_class cars --sub_class toyota lexus honda --vid
  • Click on the load button and select the video file
  • When the video is playing use the number keys on your key board to label the frame being displayed
    • Press number key 1 for labelling the frame as toyota
    • Press number key 2 for labelling the frame as lexus
    • Press number key 3 for labelling the frame as honda
  • The images can then be found in the folder ./data/cars
  • Space bar will pause/play the video. (Only works for videos i.e --vid argument is provided)
  • Using the right and left arrow key will
    • Go to next/previous image
    • Forward/rewind the video by 10 seconds
  • Use the slider to forward and rewind the video, and the buttons at the bottom to control the video playback
  • The slider on the right in the video mode allows you to control the playback speed

Bugs and feature requests

Head over to the issues tab and feel free to create one

Credits

The parts of the video player is based on the Tkinter VLC player

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.