Skip to content

Commit

Permalink
Add automatic punctuation to video speech transcription [(#1603)](#1603)
Browse files Browse the repository at this point in the history
  • Loading branch information
nnegrey authored and leahecole committed Sep 15, 2023
1 parent dfd7bc8 commit 96cf3d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion videointelligence/samples/analyze/beta_snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ def speech_transcription(input_uri):
features = [videointelligence.enums.Feature.SPEECH_TRANSCRIPTION]

config = videointelligence.types.SpeechTranscriptionConfig(
language_code='en-US')
language_code='en-US',
enable_automatic_punctuation=True)
video_context = videointelligence.types.VideoContext(
speech_transcription_config=config)

Expand Down
2 changes: 1 addition & 1 deletion videointelligence/samples/analyze/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-cloud-videointelligence==1.2.0
google-cloud-videointelligence==1.3.0

0 comments on commit 96cf3d9

Please sign in to comment.