Code Monkey home page Code Monkey logo

Comments (6)

kr-ish avatar kr-ish commented on September 28, 2024 1

I would like to know how to do this as well, thanks!

from vatic.

kr-ish avatar kr-ish commented on September 28, 2024 1

The SQL database doesn't seem to store annotation in the same format as the output files it generates - If I recall correctly, for each annotation, the database stores the annotation's state at the start and end of the video segment, and any changes (position, out of view, occluded, attribute change) in between.

So if you had an annotation that started at frame 50 and went out of view at frame 100, given the video segment to be 321 frames long, you would have (I think):

[[ x_min y_min x_max y_max frame lost occluded]]
1: x_min y_min x_max y_max 0 1 0 ...
2: x_min y_min x_max y_max 50 0 0 ...
3: x_min y_min x_max y_max 100 1 0 ...
4: x_min y_min x_max y_max 321 1 0 ...

You could probably write code that detects changes from line to line of the .txt and only injects those into the database.

Hope that helps (and is correct)!

from vatic.

thomaspreece avatar thomaspreece commented on September 28, 2024

I've looking into this myself and it appears that you can just dump the annotations into the sql database that vatic uses and they will pop up on the interface as if hand annotated. (This was only tested using offline mode, your mileage may vary)

from vatic.

nileshgu avatar nileshgu commented on September 28, 2024

@thomaspreece I guess this is what I need. Would you mind telling me how to dump the annotation into the SQL database. I have .txt file which is in same format as we get after dumping the "had annotated" data.

from vatic.

fucusy avatar fucusy commented on September 28, 2024

is there anyone have pre-populate annotations into vatic? I also want to do that. I annotate every frame of my video by deep network, but I need to correct it by vatic.

from vatic.

Alcatraz0000 avatar Alcatraz0000 commented on September 28, 2024

Did someone find a solution?

from vatic.

Related Issues (20)

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.