Drumbeat/MoJo/hackfest/berlin/projects/MetaProject: Difference between revisions

Jump to navigation Jump to search
Line 150: Line 150:
===Video===
===Video===
'''URL:''' /api/video
'''URL:''' /api/video
====POST====
<u>'''Inputs'''</u>
- '''video_file''':''file'' // The video file to store on the server
- '''url''':''str'' // The url containing the video to store on the server
- '''ttl''':''int'' {D:0} // The number of seconds until the file will be removed from the system (0 means indefinitely)
''Note:'' Either video_file or url must be provided
<u>'''Outputs'''</u>
- '''miid''':''int'' // The unique media item id assigned to this item
====GET====
<u>'''Inputs'''</u>
- '''miid''':''int'' // The server-provided media item id to be analyzed
- '''url''':''str'' // The url containing the video to be analyzed
- '''transcript''':''array'' {D: null}// A list of [MM:SS, transcript] tuples containing the known transcript information
- '''tasks''':''dictionary'' {D: null} // The list of tasks to perform.  (null means perform all)
''Note:'' Either miid or url must be provided
<u>'''Outputs'''</u>
- '''results''':''dictionary'' // The list of task results (one result object per task).
====Tasks====
=====???====
Identify main keywords found in the text, either document wide, per paragraph, or both
Powered by [http://csc.media.mit.edu/luminoso Luminoso]
<u>'''Inputs'''</u>
- '''type''':''enum('document','paragraph', 'both')'' {D: 'document'} // what is the scope of keywords to be extracted
<u>'''Outputs'''</u>
- '''document_keywords''':''array'' // list of keywords for the entire document
- '''paragraph_keywords''':''array'' // list of keywords for each paragraph


===Audio===
===Audio===
94

edits

Navigation menu