sravanareddy / darlaweb

Web server code for DARLA
http://darla.dartmouth.edu/
0 stars 2 forks source link

Use Google API instead of YouTube solution #135

Closed sravanareddy closed 7 years ago

sravanareddy commented 8 years ago

https://cloud.google.com/speech/

irenelfeng commented 8 years ago

hi sravana! so i was reading the youtube closed captioning option for CAVE, and it seems like if we implement the google speech API, we should also replace all the transcription methods with google API (e.g. local ASR), no? since the use of the google api will no longer take 5+ hours, and probably doesn't reject certain videos?

let me know!

i just got all my dependencies downloaded so i can run the site locally on my mac. i'll get reading on the code structure soon.

sravanareddy commented 8 years ago

Yup, that's exactly right. Just make sure you create a copy of that class and its methods rather than overwriting it, just in case. (And have the POST method simply return the transcription.)

On Thu,Sep 22, at 7:47 PM, Irene notifications@github.com wrote:

hi sravana! so i was reading the youtube closed captioning option for CAVE, and it seems like if we implement the google speech API, we should also replace all the transcription methods with google API (e.g. local ASR), no? since the use of the google api will no longer take 5+ hours, and probably doesn't reject certain videos?

let me know!

i just got all my dependencies downloaded so i can run the site locally on my mac. i'll get reading on the code structure soon.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/sravanareddy/darlaweb/issues/135#issuecomment-249060390, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJ_iCpka8r9ZVSk4JYlRNyArMDbIQoZks5qsxOZgaJpZM4JnNzE.

irenelfeng commented 8 years ago

working on the google client!

<HttpError 403 when requesting https://speech.googleapis.com/v1beta1/speech:syncrecognize?alt=json returned "Project darla-141904 (#531861991552) has billing disabled. Please enable it.">

--> looks like we need to add billing for the project?

On Thu, Sep 22, 2016 at 7:49 PM, Sravana Reddy notifications@github.com wrote:

Yup, that's exactly right. Just make sure you create a copy of that class and its methods rather than overwriting it, just in case. (And have the POST method simply return the transcription.)

On Thu,Sep 22, at 7:47 PM, Irene notifications@github.com wrote:

hi sravana! so i was reading the youtube closed captioning option for CAVE, and it seems like if we implement the google speech API, we should also replace all the transcription methods with google API (e.g. local ASR), no? since the use of the google api will no longer take 5+ hours, and probably doesn't reject certain videos?

let me know!

i just got all my dependencies downloaded so i can run the site locally on my mac. i'll get reading on the code structure soon.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ sravanareddy/darlaweb/issues/135#issuecomment-249060390, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJ_ iCpka8r9ZVSk4JYlRNyArMDbIQoZks5qsxOZgaJpZM4JnNzE.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/sravanareddy/darlaweb/issues/135#issuecomment-249060681, or mute the thread https://github.com/notifications/unsubscribe-auth/AI-PbxnwAZijamF2zeHBZ9VI0dbKjbIeks5qsxQPgaJpZM4JnNzE .

sravanareddy commented 8 years ago

Progress update: shows transcription.