Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
358044c
fix CORS in app.js
Mar 28, 2020
d48026a
add cors module
Mar 29, 2020
3e0f2c5
add package for cors
Mar 29, 2020
2bef772
cors package
jzhao11 Mar 29, 2020
e358dab
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
jzhao11 Mar 29, 2020
aa328f7
Merge pull request #16 from umangmathur92/vb.automateUpload
bishtvaishali Mar 29, 2020
33a2d4e
add new api to fetch scene data from SCENE and DESCription table
Mar 30, 2020
ebdac97
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
jzhao11 Mar 30, 2020
2b1d31d
add Upload Video to Video Indexer backend api
Mar 30, 2020
2414b1a
add upload video on Vi, get insight and insert in Db
Mar 31, 2020
fae9bad
add dynamic fileName for upload video to VI
Mar 31, 2020
8b7efbc
add callbackurl to Video Indexer POST request
Apr 1, 2020
60c34b8
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
jzhao11 Apr 1, 2020
171f210
add param to post request
Apr 1, 2020
3b61cf8
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
jzhao11 Apr 1, 2020
b08048f
add fix if OCR detail is not present in the video insight json of Vid…
Apr 1, 2020
739d251
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
jzhao11 Apr 1, 2020
b378324
add mp4 to mp3 convert feature
Apr 2, 2020
8e5f722
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
jzhao11 Apr 2, 2020
1c72142
add speechTOText integration
Apr 3, 2020
584b7ff
add save scene data,update delete state of a scene
Apr 5, 2020
37f13f0
Implemented full working model for inline/extended
aditya369b Apr 5, 2020
c69cb23
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
jzhao11 Apr 5, 2020
35b5d6d
Merge branch 'usr-study4-sentence' into usr-study-sound
Apr 5, 2020
0067a52
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
jzhao11 Apr 5, 2020
53bcff8
add keys for ssl
jzhao11 Apr 5, 2020
2166195
Fixed the rewind/forward bug
aditya369b Apr 5, 2020
58132f8
add https server
Apr 6, 2020
b835000
reverting back to http
Apr 6, 2020
3be33e8
update video and audio details
Apr 7, 2020
210c599
refactor uploadVideo api chaining
Apr 7, 2020
67118c4
add polling Video Indexer to check the video state
Apr 7, 2020
4efec69
add merge in polling VI
Apr 7, 2020
15fe637
add description, ocr in merge
Apr 8, 2020
05eb311
add audio timestamps during merge
Apr 8, 2020
0d99660
integrate pythia caption generation model
Apr 10, 2020
ba9ee69
remove noise from audio insight, fix duplicate block id from videoInd…
Apr 11, 2020
4faf193
add auto merged scene in description table
Apr 11, 2020
9645f0a
fix delete in save AI
Apr 11, 2020
c36eaa1
merge vb.chat, create a new UI for phase3
Apr 12, 2020
14f7d0e
add reload page after merge
Apr 12, 2020
63a0219
add error message in savModifiedDescription api
Apr 12, 2020
4856e14
add youdescribe text to speech key
Apr 12, 2020
80426e3
fix UI rerender issue after each merge
Apr 12, 2020
2c50390
removing https from withAi UI
Apr 13, 2020
8cd2b82
fix youtube player state change error
Apr 13, 2020
8b12483
move mergecontroller file to a folder, fix filepath in youtube download
Apr 13, 2020
600bfa1
remove download button, add alerts on uploadVideo page
Apr 13, 2020
1c82bf4
add few changes in uploadvideo page
Apr 14, 2020
b329254
Added python script for bleu score
aditya369b Apr 15, 2020
bb831bf
modification in uploadcontroller
Apr 15, 2020
164da92
modify uploadVideoController
Apr 16, 2020
2f27527
Added API for generating audio descriptions by scene
aditya369b Apr 17, 2020
739349a
add filter description based on bleu score
Apr 18, 2020
228d8e4
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
Apr 18, 2020
2b6f917
Added intial pause status due to changes in javascript audio class
aditya369b Apr 18, 2020
013800d
add error status in uploadVideo
Apr 21, 2020
11f8e08
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
Apr 21, 2020
8b5cfc9
add video state
Apr 24, 2020
223d63f
add console message on save AI
Apr 25, 2020
bb74a2b
add error handling in pythia caption
Apr 26, 2020
9c723dc
uncomment code
Apr 26, 2020
5d4e355
Added API for media split
aditya369b Apr 27, 2020
b7defdb
remove comments from FilterDescription
Apr 27, 2020
842aa1b
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
Apr 27, 2020
df1d7f0
minor fixes and removing unnecessary comments
Apr 27, 2020
4b7e5a0
remove body-parser deprecated warning
Apr 27, 2020
b36cace
Added api for getting Audio file from description
aditya369b Apr 29, 2020
72a3ca8
Removed reject
aditya369b Apr 29, 2020
b17cfd9
Removed reject
aditya369b Apr 29, 2020
1fc7258
video insight json files
May 1, 2020
f58a0dd
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
May 1, 2020
0640a72
add OCR cleanup
May 1, 2020
76c4241
add ocr update
May 1, 2020
72fb42a
Changed Audio Description API for step 1 and step 2
aditya369b May 3, 2020
3b94724
add ocrcleanup changes
May 4, 2020
f11a21a
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
May 4, 2020
cb52570
Modified algorithm for finding time gaps for each scene
aditya369b May 5, 2020
346849b
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
aditya369b May 5, 2020
e01a65a
add fetch and save note
May 5, 2020
b1e32f3
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
May 5, 2020
ddde6e2
changed port of qgen model
May 5, 2020
9edd7a4
Modified time gaps algorithm
aditya369b May 5, 2020
7560423
add merge recommendation for scenes
May 11, 2020
02a84f1
change object name to mergeRecommendation
May 11, 2020
c58c315
adding new line in pythia captions
May 11, 2020
c5bf3e0
Added on-demand functionality
aditya369b May 13, 2020
28a1586
Modified Audio Desc API
aditya369b May 13, 2020
7750e16
on-demand and API
aditya369b May 14, 2020
e8fcdf8
Changed API parameter
aditya369b May 14, 2020
e0ca9fd
handle undefined note in saveAIDescriptions API
May 15, 2020
7e6c5a6
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
May 15, 2020
40cf76e
fix delete QnA
May 15, 2020
4eb9b47
fix a file name issue , add readme
May 16, 2020
c92625b
add order to fetchScene
May 17, 2020
e6e2d50
add pythia, filterBleu score to SceneSegmentation automation
May 18, 2020
04c6113
add filter ocr
May 18, 2020
039c36b
Added merge parameter to audio description API
aditya369b May 18, 2020
f1cd9fd
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
aditya369b May 18, 2020
75dc109
Added timestamps to audio description API
aditya369b May 18, 2020
f5ab993
fetch filtered pythia caption
May 26, 2020
c8414a6
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
May 26, 2020
4405f9a
Added new line for separating sentences
aditya369b May 27, 2020
9a6873b
Fixed some bugs in audioDescription API
aditya369b May 28, 2020
e423006
copy Data From User Test4 to Test 10
Jun 1, 2020
894c64f
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
Jun 1, 2020
ed76c2e
Added Audio Description API for scene
aditya369b Jun 9, 2020
9e47ffa
Separated OCR and description in Audio Descriptions API response
aditya369b Jun 11, 2020
068039a
Fixed bugs for frontend and changed URL for on demand
aditya369b Jun 11, 2020
6c0ca68
Fixed a bug on fetching keyframes
aditya369b Jun 18, 2020
dad4eb2
Added API to fetch 5 key frames
aditya369b Jun 19, 2020
87dc503
Added API to fetch all keyframes and captions
aditya369b Jul 6, 2020
4311b6a
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
Jul 6, 2020
6a71d49
removed callback url from the uploadVideo request to VI
Jul 6, 2020
ab0067d
moved BLEU filter process before fetching of pythia captions
Jul 6, 2020
1c736b7
commenting ocr filtered
Jul 10, 2020
c2ce624
Changes for on demand user study interface
aditya369b Jul 10, 2020
bf4757e
Created all routes for user study 4
aditya369b Jul 11, 2020
68c1d21
Added question model for user study 4
aditya369b Jul 11, 2020
8a57ac2
Fixed a bug in userstudy4 route
aditya369b Jul 12, 2020
5c35eec
Fixed a bug in on demand UI
aditya369b Jul 14, 2020
fe02f12
Changed the UI for on-demand
aditya369b Jul 20, 2020
6c5f69c
Created tutorial site
aditya369b Jul 24, 2020
9798c9d
Refactored visdial file
aditya369b Jul 24, 2020
2b0742e
added timestamp for questions and changed the user id
aditya369b Jul 24, 2020
31b565e
Added APIs for storing answers
aditya369b Jul 24, 2020
fdc340d
Added key events Q, C, space and changed TTS to google-cloud
aditya369b Jul 26, 2020
1b08df1
Changed max keyframes to 3
aditya369b Jul 26, 2020
a53d23b
Fixed a bug in fetchKeyFrames API
aditya369b Jul 26, 2020
e866c62
Changed UI and added features to tutorial site
aditya369b Jul 28, 2020
0bb915b
Fixed bug for asking a question
aditya369b Jul 28, 2020
857de48
Changed the element of question
aditya369b Jul 28, 2020
f3f8838
Added an event handler for question
aditya369b Jul 28, 2020
68eb186
Commented one the question key events
aditya369b Jul 28, 2020
d8b1e01
Added instructions
aditya369b Jul 28, 2020
b5010fe
Added https scheme to youtube Iframe API
aditya369b Aug 3, 2020
58706b2
Updated the changes for on demand
aditya369b Aug 4, 2020
12e7fb6
Changed the visdial API calls to a secured domain
aditya369b Aug 4, 2020
76ee2e7
Changed the audio file format from mp3 to wav
aditya369b Aug 4, 2020
a504457
Changed the flow of on demand
aditya369b Aug 4, 2020
867a163
Added Response times in on demand tutorial UI for reference
aditya369b Aug 5, 2020
dd5b20c
Fixed a typo
aditya369b Aug 5, 2020
66116ce
Changed instructions
aditya369b Aug 5, 2020
b50623c
Fixed the async bug of list of videos
aditya369b Aug 6, 2020
8e96b6d
Modified changes for db queries of question&answer us4
aditya369b Aug 10, 2020
a011998
Added different video formats and STT callbacks in comments
aditya369b Aug 26, 2020
22b29fb
Refactored user study 4 interface code
aditya369b Sep 9, 2020
f1504f5
Fixed a bug for extended audio and modified interface of 4 systems
aditya369b Sep 11, 2020
1e1559d
Fixed the issue with non-tutorial systems
aditya369b Sep 16, 2020
65ef0c7
CHanged on-demand api's to https
aditya369b Sep 16, 2020
f34f48a
Resolved input question issue
aditya369b Sep 16, 2020
af1804e
Removed input question
aditya369b Sep 18, 2020
7324cb5
Changed the keyframe limit to 1
aditya369b Sep 19, 2020
915be22
Added Baseline describer id info
aditya369b Sep 22, 2020
21dd405
Added process file for pm2
aditya369b Sep 22, 2020
24d89d4
Modified pm2 process file
aditya369b Sep 22, 2020
c8ede54
API to add revised keyframes to db
aditya369b Sep 23, 2020
90ea8d3
Changed API to fetch keyframes from keyframe_revised table
aditya369b Sep 23, 2020
5897703
Added feature to make all systems inaccessbile before tutorial
aditya369b Sep 23, 2020
49768cf
Modified Tutorial Instructions
aditya369b Sep 24, 2020
0b82f5a
Changed prev history in visdial to support mutli gpu
aditya369b Sep 24, 2020
103de85
Fixed bug for reading demand descriptions
aditya369b Sep 24, 2020
9648df0
Removed controls section
aditya369b Sep 24, 2020
8078a6c
Added basic code for inserting OCR in basline desc
Sep 28, 2020
138770d
changed API for keyframes to add pythia captions
aditya369b Sep 29, 2020
5c62c6f
Multi process support for chatbot
aditya369b Oct 1, 2020
b3edf73
changed to https for visdial
aditya369b Oct 1, 2020
01d8cce
Modified OCR baseline descriptions algorithm backend
aditya369b Oct 5, 2020
3a07966
Changes in chatbot simulator
aditya369b Oct 5, 2020
0dfc606
frontend js file to filter <unk> words
aditya369b Oct 5, 2020
276baa9
Fixed youtube loading error and added keys script
aditya369b Oct 5, 2020
1d4e8ca
Fixed issue with videoaudio and added D key
aditya369b Oct 5, 2020
c9a976a
D&Q Key functionalities and refactored files
aditya369b Oct 7, 2020
69f04d3
fixed a bug with fwd/rwd
aditya369b Oct 8, 2020
3831539
Changed wss url
aditya369b Oct 8, 2020
7b8a90f
added tutorial tracking
jcastan6 Oct 8, 2020
fec0189
added tutorial tracking
jcastan6 Oct 8, 2020
41a9e5f
Refactored code and fixed extended audio bug
aditya369b Oct 9, 2020
8e92d77
Increased speaking rate in Google TTS
aditya369b Oct 9, 2020
6a9bf52
Disabled pointer events/access around youtube frame
aditya369b Oct 10, 2020
ffa046d
Video will autoplay after reading the caption
aditya369b Oct 10, 2020
95f6b6a
Changed AI describer volunteer ID
aditya369b Oct 10, 2020
d2644dc
Minor changes in OCR
aditya369b Oct 10, 2020
58c37ec
Replaced newline with full stop
aditya369b Oct 11, 2020
be5fc68
Bug fix for fetching sentences in order
aditya369b Oct 11, 2020
d492935
API to fetch revised key frames
aditya369b Oct 13, 2020
2ea87d3
tutorial changes
jcastan6 Oct 14, 2020
5ec3a8c
merge
jcastan6 Oct 14, 2020
bb52fe1
added more info to tutorial page
jcastan6 Oct 15, 2020
fcbcf30
fixed visdial links
jcastan6 Oct 15, 2020
d48b102
Fixed minor issues in tutorial page
aditya369b Oct 15, 2020
896645d
Moved tutorial desc to backend and handled corner cases for audio con…
aditya369b Oct 16, 2020
8195097
Changed wss url
aditya369b Oct 16, 2020
0382af4
Fixed a bug for playing all tutorial descriptions
aditya369b Oct 16, 2020
34df5c6
Handled corner cases for generating audio desc
aditya369b Oct 19, 2020
2a1bad7
Fixed a minor bug in audio desc OCR
aditya369b Oct 19, 2020
f341bc2
Added earcon after question is complete
aditya369b Oct 20, 2020
1770a01
Modifications in OCR and audio descriptions for bug fixes
aditya369b Oct 22, 2020
25f8981
Changed voices and disabled left/right arrow keys
aditya369b Oct 22, 2020
8f252ac
Added GET request for reading data for generated audio descriptions
aditya369b Oct 22, 2020
10b24bd
Added missing file for previous commit
aditya369b Oct 22, 2020
e4b9645
Added APIs for saving audio descriptions for scene and sentence
aditya369b Oct 23, 2020
07af6e3
update home page, added embedded surveys
jcastan6 Oct 23, 2020
7959031
Fixed incorrect function calls
aditya369b Oct 23, 2020
d945efc
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
aditya369b Oct 23, 2020
65722fa
fixed survey links, added intro text to video pages
jcastan6 Oct 23, 2020
61f830c
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
jcastan6 Oct 23, 2020
e8cb0fb
Modifications for only baseline
aditya369b Oct 23, 2020
d4689a0
Small change in backend
aditya369b Oct 23, 2020
13d43b5
fixed repeating videos
jcastan6 Oct 23, 2020
6307940
Merge branch 'usr-study-sound' of https://github.com/umangmathur92/us…
jcastan6 Oct 23, 2020
b406905
Added API for user votes
aditya369b Oct 25, 2020
e436d90
Added video_id to API
aditya369b Oct 25, 2020
a116074
Implemented J&K keys for interface
aditya369b Oct 25, 2020
477fb71
Added earcons for upvote
aditya369b Oct 29, 2020
12b5539
Added missing file
aditya369b Oct 29, 2020
552f89c
CHanged voice for human baseline desc
aditya369b Oct 29, 2020
00696f7
Changed vote keys to up and down and changed earcon
aditya369b Oct 29, 2020
02bc6e8
Added/modified apis for question, answer and captions
aditya369b Oct 29, 2020
4c37c3a
Changes for API request for updating captions and questions
aditya369b Oct 30, 2020
5f30561
Update question api for keyframe and dialog id
aditya369b Oct 30, 2020
1f43ecc
fixed qualtrics links
jcastan6 Oct 30, 2020
5eca7a4
Bug fix for api to save answers in db
aditya369b Oct 30, 2020
456b30e
Disabled kb and changed vote API
aditya369b Oct 30, 2020
01af687
Added Vote option to tutorial page
aditya369b Oct 30, 2020
36856e3
Added vote audio for tutorial page
aditya369b Oct 30, 2020
58d2877
fixed sidebar text on infobot page
jcastan6 Oct 30, 2020
c80fcb3
updated tutorial steps
jcastan6 Oct 30, 2020
e13f0d9
Secured access to the list of users for user study
aditya369b Oct 30, 2020
0b071fb
passed describer id to only baseline
aditya369b Oct 30, 2020
72ced9f
fixed sidebar text
jcastan6 Oct 30, 2020
c8f8c9e
fixed sidebar text
jcastan6 Oct 30, 2020
a1c12f1
fixed sidebar text
jcastan6 Oct 30, 2020
de55c9f
fixed text
jcastan6 Oct 30, 2020
a6f04f5
fixed text
jcastan6 Oct 30, 2020
1325110
fixed text
jcastan6 Oct 30, 2020
da97981
fixed home page checkboxes
jcastan6 Nov 3, 2020
c82bea5
fixed broken survey link
jcastan6 Nov 3, 2020
ff0e550
video loading error fix
aditya369b Nov 12, 2020
ab431b0
Video loading error fix for tutorial page
aditya369b Nov 12, 2020
2e7d150
Video load error fix for only baseline condition
aditya369b Nov 13, 2020
19cc43f
updated tutorial text:
jcastan6 Nov 13, 2020
f62bdb3
Fixed bug related to saving questions with apostrophe
aditya369b Nov 22, 2020
cc23b64
fixed screen reader opening youtube links
jcastan6 Dec 3, 2020
ac23e40
Fixed a bug with only tutorial videos
aditya369b Dec 3, 2020
0ef5140
Removed general survey link for users with only tutorial
aditya369b Dec 14, 2020
d91929b
changed tutorial message
jcastan6 Dec 16, 2020
f7c2bc4
fixed jaws tutorial compatibility
jcastan6 Dec 22, 2020
57ac75b
Reverted code for unused file
aditya369b Dec 23, 2020
96eccc5
fixed screen reader not interacting
jcastan6 Dec 28, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ bower_components
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

videos/

# Dependency directories
node_modules/
jspm_packages/
Expand Down Expand Up @@ -83,4 +85,6 @@ videodata/

*.DS_Store

*.mp3
*.mp3

*.jpg
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}\\bin\\www"
}
]
}
1 change: 1 addition & 0 deletions MIrogue.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"code":0,"msg":"","status":"success","result":{"text":"","sentence":[{"sentence":" Can you open the door?","confidence":"0.8300","startTime":1.22,"endTime":2.68},{"sentence":" Ethan, who are you? I buy the plane. Betty, can you open the door? Uh Can I have the door? Uh Maybe","confidence":"0.7800","startTime":3.24,"endTime":10.3},{"sentence":" open the door. When I tell you","confidence":"0.8700","startTime":10.3,"endTime":12.04},{"sentence":" on the plane over the door, and you get in the plane, not in the plane. I'm on the plane,","confidence":"0.7800","startTime":27.25,"endTime":32.72},{"sentence":" open the door.","confidence":"0.7500","startTime":32.72,"endTime":34.06},{"sentence":" Yeah,","confidence":"0.0000","startTime":35.29,"endTime":36.3},{"sentence":" yeah.","confidence":"0.0000","startTime":36.87,"endTime":37.9},{"sentence":" Right. Jim opens the door. Yeah Yeah Yeah Yeah, okay okay,","confidence":"0.6100","startTime":39.03,"endTime":43.6},{"sentence":" Ben's you open that door right now. I'm trying","confidence":"0.8300","startTime":48.35,"endTime":51.1},{"sentence":" come on bench and you open that door.","confidence":"0.8800","startTime":65.76,"endTime":68.14},{"sentence":" Come On Come On Come on,","confidence":"0.8300","startTime":68.48,"endTime":70.68},{"sentence":" come on.","confidence":"0.6700","startTime":76.42,"endTime":77.2},{"sentence":" Yes, honey.","confidence":"0.4200","startTime":77.36,"endTime":78.62},{"sentence":" Got bored!","confidence":"0.6000","startTime":83.95,"endTime":85},{"sentence":" Ben. Je knap that door the other door the other door? All right. Yes The other door? Okay Yes Yes Yes, sorry sorry, my bad, my back","confidence":"0.6900","startTime":85.36,"endTime":92.19},{"sentence":" noise","confidence":"0.9900","startTime":92.91,"endTime":94.92},{"sentence":" to","confidence":"0.5100","startTime":95.02,"endTime":98.01},{"sentence":" hello hello.","confidence":"0.6700","startTime":98.09,"endTime":99.96},{"sentence":" All right. Look and get out the parallel.","confidence":"0.7100","startTime":99.96,"endTime":102.08},{"sentence":" How's that?","confidence":"0.6700","startTime":102.08,"endTime":103.46}],"word":[]}}
1 change: 1 addition & 0 deletions Mivault.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"code":0,"msg":"","status":"success","result":{"text":"","sentence":[{"sentence":" Is that before","confidence":"0.9500","startTime":0.47,"endTime":3.08},{"sentence":" yeah,","confidence":"0.2400","startTime":3.14,"endTime":4.76},{"sentence":" oh","confidence":"0.0000","startTime":5.01,"endTime":6.2},{"sentence":" for you.","confidence":"0.6400","startTime":16.52,"endTime":17.84},{"sentence":" One red,","confidence":"0.6100","startTime":21.08,"endTime":22.16},{"sentence":" yeah","confidence":"0.7000","startTime":22.6,"endTime":23.3},{"sentence":" yeah","confidence":"0.5600","startTime":24.2,"endTime":25.96},{"sentence":" noise","confidence":"0.9700","startTime":26.54,"endTime":27.48},{"sentence":" yeah.","confidence":"0.0000","startTime":27.8,"endTime":28.68},{"sentence":" uh","confidence":"0.5700","startTime":28.96,"endTime":30.2},{"sentence":" keep moving","confidence":"1.0000","startTime":33.51,"endTime":34.74},{"sentence":" yeah","confidence":"0.4700","startTime":35.08,"endTime":36.42},{"sentence":" post","confidence":"0.7100","startTime":36.42,"endTime":37.96},{"sentence":" toast","confidence":"1.0000","startTime":38.88,"endTime":39.88},{"sentence":" messy","confidence":"1.0000","startTime":43.88,"endTime":44.94},{"sentence":" noise.","confidence":"0.4900","startTime":45.2,"endTime":47.16},{"sentence":" uh","confidence":"0.5900","startTime":47.94,"endTime":49.04},{"sentence":" noise","confidence":"1.0000","startTime":66.93,"endTime":67.84},{"sentence":" noise","confidence":"0.9700","startTime":71.53,"endTime":73.68},{"sentence":" noise","confidence":"0.9600","startTime":76.65,"endTime":79.04},{"sentence":" noise","confidence":"0.9900","startTime":79.36,"endTime":81.08},{"sentence":" yeah","confidence":"0.7600","startTime":82.05,"endTime":84.96},{"sentence":" noise","confidence":"0.9900","startTime":85.76,"endTime":87.48},{"sentence":" yeah.","confidence":"0.2400","startTime":87.48,"endTime":90.98},{"sentence":" uh","confidence":"0.6500","startTime":90.98,"endTime":92.52},{"sentence":" noise","confidence":"0.9900","startTime":92.67,"endTime":94.04},{"sentence":" noise","confidence":"0.9300","startTime":94.04,"endTime":95.32},{"sentence":" noise","confidence":"1.0000","startTime":96.37,"endTime":97.28},{"sentence":" yeah","confidence":"0.6300","startTime":97.81,"endTime":100.28},{"sentence":" sure.","confidence":"0.4800","startTime":104.03,"endTime":104.96}],"word":[]}}
12 changes: 12 additions & 0 deletions README.Md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# RUN INSTRUCTIONS
- npm start
- app runs on port 5001

# Dependent services
- Azure Vision API
- IBM Max scene classifier
- To run image: docker run -it -p 5000:5000 max-scene-classifier
- Runs on port 5000
- Instructions to build and run availaible on https://github.com/IBM/MAX-Scene-Classifier
- Question-answer generation model
- running on port 5003
6 changes: 4 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ var cookieParser = require('cookie-parser');
var logger = require('morgan');
var indexRouter = require('./routes/index');
const app = express();
var cors = require('cors')



app.use(cors())
// view engine setup
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'ejs');
Expand All @@ -21,7 +22,7 @@ app.use('/', indexRouter);

// catch 404 and forward to error handler
app.use(function(req, res, next) {
next(createError(404));
next(createError(404));
});

// error handler
Expand All @@ -36,3 +37,4 @@ app.use(function(err, req, res, next) {
});

module.exports = app;
//
1 change: 1 addition & 0 deletions audio_ocean8.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"code":0,"msg":"","status":"success","result":{"text":"","sentence":[{"sentence":" It's kind,","confidence":"0.3900","startTime":6.25,"endTime":7.28},{"sentence":" it's further on and on","confidence":"0.7700","startTime":7.54,"endTime":11.2},{"sentence":" Spain,","confidence":"0.2700","startTime":11.35,"endTime":12.16},{"sentence":" this country","confidence":"0.1500","startTime":12.28,"endTime":13.32},{"sentence":" just like me","confidence":"0.3600","startTime":13.44,"endTime":15.72},{"sentence":" noise,","confidence":"0.1600","startTime":15.72,"endTime":16.54},{"sentence":" yes","confidence":"0.9200","startTime":16.63,"endTime":20.4},{"sentence":" noise","confidence":"0.8100","startTime":20.4,"endTime":21.55},{"sentence":" noise","confidence":"0.9700","startTime":21.55,"endTime":23.12},{"sentence":" noise","confidence":"0.0100","startTime":23.3,"endTime":25.4},{"sentence":" noise","confidence":"0.8900","startTime":25.4,"endTime":26.16},{"sentence":" noise","confidence":"0.9400","startTime":26.16,"endTime":26.92},{"sentence":" noise.","confidence":"0.4500","startTime":27.15,"endTime":28.04},{"sentence":" Hi, I like to return these. Oh Of Course Do have you ever seen? No, but they're uh nope. And they haven't touched. I really need to receipt.","confidence":"0.7200","startTime":28.35,"endTime":36.57},{"sentence":" They are sealed, their brand new. Do you have the credit card that you use? This is ridiculous. I bought these last week. Maybe you can try client services on the 6th floor.","confidence":"0.8200","startTime":36.57,"endTime":45.85},{"sentence":" Never mind. Just keep them. Jesus","confidence":"0.7500","startTime":45.89,"endTime":48.96},{"sentence":" can at least get a bag. Sure.","confidence":"0.7800","startTime":49.27,"endTime":51.64},{"sentence":" Thank you.","confidence":"0.6700","startTime":54.81,"endTime":55.69},{"sentence":" I'm checking I mean 2084, very randal job less and stay graphic.","confidence":"0.6600","startTime":66.53,"endTime":71.49},{"sentence":" Okay, my name is monica. There anything else I can do for you? Or arrange transportation? The girl said,","confidence":"0.7800","startTime":72.81,"endTime":78.04},{"sentence":" hi, this is this is randall. We just checked out of room 2084. Sp. Quick! Monica, please. Is she? Hi, monica! Hi Hi. Uh We just found out our flight was cancelled. Know, I know.","confidence":"0.6700","startTime":79,"endTime":91.72},{"sentence":" No. And instead of saying some horrible airport hotel, we were hoping that maybe we could get our original room back. Yeah We can give you that same room back.","confidence":"0.8800","startTime":91.72,"endTime":99.96},{"sentence":" That would be amazing. Thank you so much. Um We're just gonna go grab a bite. Uh Would it be possible to get the maid in there now?","confidence":"0.8600","startTime":99.96,"endTime":107.22},{"sentence":" Yes, absolutely","confidence":"0.6700","startTime":107.22,"endTime":108.66},{"sentence":" perfect. We really appreciate it. It's not a problem. Thank you so much. We'll see you soon.","confidence":"0.7700","startTime":108.66,"endTime":113.52},{"sentence":" Hi,","confidence":"0.5000","startTime":124.92,"endTime":125.96},{"sentence":" I'm so sorry. Can you finish up later? I just have to get off my feet. Of Course Thank you so much. Have a great day. Who! Bye? Bye.","confidence":"0.7400","startTime":125.96,"endTime":132.75}],"word":[]}}
Loading