Re: Cloud Video Intelligence API performance slow

86 views
Skip to first unread message
Message has been deleted

Jun Lu

unread,
Jul 27, 2020, 2:16:48 PM7/27/20
to cloud-videointel-discuss

Hi, 

Google Groups is meant for general product discussions only and not for reporting issues, and it is recommended to report this at the Issue Tracker with more details for the support to better assist you for your specific situation.




On Monday, July 27, 2020 at 8:29:32 AM UTC-4, scott hehir wrote:
Running some pretty basic python code to hit the Video Intelligence API with feature TEXT_DETECTION.  5min chunks of video of about 60MB.  Performance will vary from, complete within 3 to 4 mins, to timing out with a timeout of 3600secs. When I first started using the API a couple of weeks ago, response was consistently within 3 to 4 mins.  I'm aware of quota limits and I am well within those.    Running video annotation one video at a time.  

video_client = videointelligence.VideoIntelligenceServiceClient()
features = [videointelligence.enums.Feature.TEXT_DETECTION]

operation = video_client.annotate_video(input_uri=mp4filepath, features=features)

print("\nProcessing video for text detection.")
result = operation.result(timeout=300)
Reply all
Reply to author
Forward
0 new messages