Coder Social home page Coder Social logo

asdlei99 / img-labeler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from erikbernheim/img-labeler

0.0 1.0 0.0 19.68 MB

A tool for polygonal segmentation, created with Angular + D3

Home Page: https://erikbernheim.github.io/img-labeler/

License: MIT License

HTML 16.01% JavaScript 1.30% TypeScript 81.76% CSS 0.93%

img-labeler's Introduction

img-labeler

Landing Image

img-labeler recommended workflow

Step 0: Visit the comma10k img directory and copy the direct image address of the image you want to label: https://github.com/commaai/comma10k/tree/master/imgs Right-click on the image to copy its address.

Step 1: Launch the img-labeler app from the URL above, and paste the URL into the Image URL box.

Step 2: Start by changing your color to the “moveable” color, (either by clicking movable, or m on your keyboard), then zoom in (with scroll), and place masks by clicking tightly around all movable objects (cars, motorcycles, bicycles, etc…) NOTE: The tool automatically crops your image when you save, drawing outside the lines is encouraged, to prevent any blank space on the borders, layers should also overlap as you work. Many users also like to lower the mask opacity as they work.

Step 3: Now label lane markings using the same process as above.

Step 4: Label the road, and by using the layers palette, send the road layer to the bottom.

Step 5: Label "my-car" in pink. Start by dropping a point outside of the image, to avoid unmarked points.

Step 6: Undriveable is optional, img-labeler will automatically add undriveable to any areas left blank when you save.

Step 7: Save your image

Upload your labeled images to GitHub and make a Pull Request

Step 1: Fork comma10k https://github.com/commaai/comma10k/

Step 2: Go to the mask directory.

Step 3: Replace the existing masks in your range, with the masks you updated.

Step 4: Create a pull request between your branch and comma10k master.

Step 5: Create a Pull Request (this will ask comma guys to check your images etc...). Name it and click Pull Request.

Report any issues in GitHub issues for this repo or in Discord.

Any git questions can usually be answered on StackOverflow.

for development of images.json

a = glob.glob("r*.png")
a.sort()
for i in a[9:]: print('  {\n    "id": "'+i[:4]+'",\n    "val": "'+i+'"\n  },')

img-labeler's People

Contributors

erikbernheim avatar dependabot[bot] avatar ed2k avatar geohot avatar meh-meh avatar mobula3967 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.