Coder Social home page Coder Social logo

sloth's Introduction

sloth's People

Contributors

baeuml avatar herr-biber avatar jacobjenks avatar mika-fischer avatar neingeist avatar nilsonholger avatar tgehrig avatar wassname avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sloth's Issues

Saving does not work anymore

  • from the gui -> saveAs --> AttributeError: 'MainWindow' object has no attribute 'saveAnnotations'
  • using subcommand convert --> Writing to file test.txt failed 'annotations'

Make attributes editable via model tree

It needs to be defined, which attributes are editable and how the editing should work (drop-down box, etc.)
Also, the allowed values need to be stored somewhere where the model (or the TreeView?) can check them.

Find sane way to sync SceneItems and ModelItems

Currently state is redundant and things are complicated because changes can come from several sources:

  • Model.dataChanged -> AnnotationScene.dataChanged -> SceneItem.dataChanged
  • SceneItem.itemChanged
  • internally -> onKeyPressEvent etc.

Copy annotation boxes across frames

Along with the current copying annotation labels (ids), it will be nice to give an option (different key binding) to copy the boxes too. Useful if there is not much motion in the video.

New style configuration

LABELS = (
        {
            'attributes': {
                'class':     'Face',
                'quality':   QUALITY_VALUES,
                'pan':       float,
                'gender':    GENDER_VALUES,
                'ethnicity': ETHNICITY_VALUES,
                'age':       [10, 20, float],
                'id':        ID_VALUES + ['*', '+'],
                'score':     '-1',
            },
            'item':     VidemoFaceBoundingBox,
            'inserter': 'sloth.items.PointItemInserter',
            'hotkey':   'r',
        },
        {
            'attributes': {
                'class':   'Facial Feature',
                'feature': FEATURE_TYPES,
            },
            'inserter': 'sloth.items.PointItemInserter',
            'item':     VidemoFacialFeature,
            'hotkey':   'f',
        },
        {
            'attributes': {
                'class': 'Gender',
                'type':  'tag',
                'value': GENDER_VALUES,
            },
            'item':     'sloth.items.TagItem',
            'inserter': 'sloth.items.TagItemInserter',
        }
)

Maybe use choices to directly specify hotkeys, e.g."'gender': [ 'male [m]', 'female [f]' ]?

Ja, das hatte ich mir auch schon überlegt, allerdings würde ich das mit tuplen machen:

'gender': [ ('male', 'm'), ('female', 'f'), 'unlabeled' ]

Wenns kein tuple ist, dann hat der Eintrag einfach keinen Hotkey.

Inserters changes

  • Move index into constructor
  • Add slots to listen for important scene events (image changed)
  • finished signal
  • Pass model to inserters
  • "Labeling XYZ" message

Implement filtering of annotations

E.g. only show annotations of class "face" where the attribute "gender" is "male".

This should then hide all non-matching images/frames/videos in the tree view and the skipping should work accordingly.

CLI interface cannot be used with -c

sloth -c /home/mfischer/src/kit/sloth/videmo_config_new_face.py help 2011-08-16 15:07:47,535 CRITICAL sloth.core.labeltool Error loading annotations: No container registered for filename help Traceback (most recent call last): File "/home/mfischer/src/kit/sloth/sloth/bin/sloth", line 14, in <module> labeltool.execute_from_commandline(sys.argv) File "/home/mfischer/src/kit/sloth/sloth/core/labeltool.py", line 156, in execute_from_commandline self.loadAnnotations(args[1], handleErrors=False) File "/home/mfischer/src/kit/sloth/sloth/core/labeltool.py", line 226, in loadAnnotations self._container = self._container_factory.create(fname) File "/home/mfischer/src/kit/sloth/sloth/annotations/container.py", line 71, in create "No container registered for filename %s" % filename sloth.core.exceptions.ImproperlyConfigured: No container registered for filename help

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.