Code Monkey home page Code Monkey logo

Comments (5)

nrv avatar nrv commented on August 10, 2024

It seems the edition of bounding boxes is broken with amalia 1.3.2, try with the previous version 1.3.1

from amalia.js.

ogulkokan avatar ogulkokan commented on August 10, 2024

I tried both versions but was unable to open toolbox (createAddToolboxItem) to add bounding box. Maybe I am doing something wrong. I added overlay plugin to the editor plugin sample like in the picture. So you can still see bounding box at the timeline but can not add anything new.

Another question. I just would like to visualize bbox annotations on a web player like amalia.js plugin library. Is there any script to translate different annotations for the amalia.js plugin? For example, I would like to visualize the result CVAT XML annotations on this plugin

c4c31(7-b637-4a3e-bc52-2b4S6810892

from amalia.js.

nrv avatar nrv commented on August 10, 2024

you need the editable parameter for the plugins :
`plugins: {
dataServices: [
'/videos/MGCAF0006836--AP_1_213419_231219.json'
],
list: [
{
'className': 'fr.ina.amalia.player.plugins.OverlayPlugin',
//'metadataId' : 'tracks-amalia01',
debug: true,
'parameters': {
editable: true,
cuepointMinDuration: 1,
//'labels': true,
style: {
'fill': '#FFA500',
'strokeWidth': 2,
'stroke': '#FFA500',
'fillOpacity': 0
}
}
},
{
'className': 'fr.ina.amalia.player.plugins.MetadataListEditorPlugin',
'container': '#player-list-editor-plugin',
'debug': true,
'parameters': {
defaultDataType : fr.ina.amalia.player.PluginBindingManager.dataTypes.VISUAL_TRACKING
}
},
{
'className': 'fr.ina.amalia.player.plugins.MetadataBlockEditorPlugin',
'container': '#player-block-editor-plugin',
'debug': true,
'parameters': {}
},

                {
                    'className': 'fr.ina.amalia.player.plugins.TimelinePlugin',
                    'container': '#player_timeline-plugin',
                    'debug': false,
                    'parameters': {
                        debug: true,
                        timeaxeExpandable: true,
                        resizable: true,
                        displayLines: 2,
                        editingMode: true,
                        lineDisplayMode: fr.ina.amalia.player.plugins.PluginBaseMultiBlocks.METADATA_DISPLAY_TYPE.STATIC_DYNAMIC,
                        listOfLines: []
                    }
                }
            ]

        }`

from amalia.js.

nrv avatar nrv commented on August 10, 2024

and you may have to press CTRL + Click to add a box

from amalia.js.

ogulkokan avatar ogulkokan commented on August 10, 2024

Thanks, both answers solved the issue. I am able to use the editor plugin now.

I am writing a script that converts coco.json to amalia overlay.json format. But instead of getting only turning points, I would like to get the timecode for each frame and the x, y, rx, ry informations for each frame also. When I run this converted file amalia overlay plugin is not able to play properly.
first
ul
if I skip frames like in amalia.json example result is getting smoother:
second

How is the transition part is working actually? Is there any way to solve this issue?

from amalia.js.

Related Issues (5)

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.