NaturalIntelligence / imglab

To speedup and simplify image labeling/ annotation process with multiple supported formats.
https://solothought.com/imglab/
MIT License
985 stars 608 forks source link

Custom category of a shape is not being saved #113

Closed amitguptagwl closed 6 years ago

amitguptagwl commented 6 years ago

Describe the bug User is not able to set the custom category of a labeled shape.

To Reproduce Steps to reproduce the behavior:

  1. Create a shape on the image
  2. Select the category from the already given categories
  3. Create another shape
  4. Select the previous shape
  5. You can see previously selected category.
  6. Now change to some category which is not in drop-down. The category will not be updated.

Screenshots labeling

Console Errors No error on console

Watch for changes, or Bookmark for easy discovery. Fund this project for new features and maintenance. [Showcase] your project with us by raising an issue

derekdkim commented 6 years ago

I'm a beginner but would I be able to try my hand at this? I might be slow but I think I can figure it out eventually. If you would like someone more experienced, I understand.

amitguptagwl commented 6 years ago

@derekdkim This change is perfect for beginners. So please go ahead. But please update if you're not able to complete the issue.

You can check label-panel.tag.html, and store.js to find relevant functionality.

derekdkim commented 6 years ago

Awesome, I'll have a go at it!

derekdkim commented 6 years ago

I think I have a fix. Please review the PR when you have the time. If you make any changes, please let me know what you did so that I can learn from it.