Code Monkey home page Code Monkey logo

human's People

Contributors

dependabot[bot] avatar rainbowrevenge avatar ruitedk6 avatar vdrummer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

human's Issues

Inefficient counting of annotations

Right now when selecting new data for a user we calculate how many annotations there are for each data item. This will get really inefficient when there are a lot of annotations potentially making this process really slow.

Solution:

  1. Add a counter column to the data table in the database
  2. Count up when a data instance is selected for a user
  3. Select all instances where the count column entry is < max_annotations

Outdated gulp

Gulp is not really maintained well anymore, the last release version is from May 2019 and its dependencies are outdated. Maybe switch to an alternative like webpack or grunt.

Persist fuzzy find option

Fuzzy find now has a button to activate or deactivate it. This should be persistent and saved as an option like theme or split size

Data distribution

There is a bug, where while an annotator is working on an annotation, other annotators could get the same annotation as well, circumventing the max_annotations setting.

Solution:

  1. Save the current annotation of each user in the user table in the database.
  2. Remove the current annotation when the finished annotation is written to the db
  3. If there is a current annotation and the client requests a new one, send the current one again.

Picture Labeling with paperjs

Konvajs does not allow drawing freehand polygons. Paperjs has all functionalities of konvajs and more and should be a more robust choice for the future.

New State Machine

XStates transition handling is always asynchronous in nature. Setting up a new UI for the next state or saving annotations are done in this transitions. This can lead to inconsistencies e.g. when the state is changed before an annotation is saved. We also don't need the many more advanced functionalities XState has.

Solution: Write a new state machine system from scratch.
It needs to have:

  • entry, transition and exit hooks
  • a state identifier with possible transitions and arbitrary data
  • a transition handler

Update to Bootstrap 5

We are using Bootstrap 4.3.1 right now. Boostrap 5 has some new features which could be useful but some refactoring is needed to use the new classes

Label badges for all bounding boxes

Labels for multilabels are shown as badges on top of the box. It would be nice to have that for the labelBboxes task as well.
While doing that, it would also be nice to be able to toggle these on and off.

Restructure picturelabeling in classes

The previous approach by just either using global variables or writing in Data is just not a good way to handle a lot of modules.

Solution:

  1. Define a Superclass for all Tasks
  2. Define a Class for all bboxlabel Tasks inheriting from that one
  3. Define classes for each task variant which inherits from one of these

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.