cvondrick / vatic

Efficiently Scaling Up Video Annotation with Crowdsourced Marketplaces. IJCV 2012
http://mit.edu/vondrick/vatic/
MIT License
603 stars 255 forks source link

How can i import video to Vatic #56

Open ahmedkhak opened 7 years ago

ahmedkhak commented 7 years ago

I am able to install vatic on my ubuntu server. On doing

turkic status --verify it shows

` Sandbox: False Database: mysql://root:root@localhost/vatic Localhost: http://localhost/

Testing access to Amazon Mechanical Turk... ERROR! Signature or access key missing Testing access to database server... OK Testing access to web server... OK ` and when i access url on browser it shows vatic screen, which is like

185 48 117 147-

now what should i do next, i am confused.

Thankyou

zesoft23 commented 7 years ago

This is pretty late, but what exactly are you trying to do?

If you're trying to add a video, you'll need to extract frames from a video then load it to vatic with appropriate identifiers.

At it's most basic level:

Extract frames from the video.

$ turkic extract /path/to/video.mp4 /path/to/output/directory

Load the formatted frames to vatic. Use the offline keyword if your amazon turk credentials are still not setup.

$turkic load identifier /path/to/output/directory Label1 Label2 LabelN --offline

Publish the video to vatic. This allows the annotators to see the videos on vatic. It should give you the id's for each of the videos.

$ turkic publish --offline