File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
videointelligence/samples/analyze Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
3- # Copyright 2017 Google Inc . All Rights Reserved.
3+ # Copyright 2017 Google LLC . All Rights Reserved.
44#
55# Licensed under the Apache License, Version 2.0 (the "License");
66# you may not use this file except in compliance with the License.
@@ -50,7 +50,7 @@ def analyze_explicit_content(path):
5050 result = operation .result (timeout = 90 )
5151 print ("\n Finished processing." )
5252
53- # first result is retrieved because a single video was processed
53+ # Retrieve first result because a single video was processed
5454 for frame in result .annotation_results [0 ].explicit_annotation .frames :
5555 likelihood = enums .Likelihood (frame .pornography_likelihood )
5656 frame_time = frame .time_offset .seconds + frame .time_offset .nanos / 1e9
You can’t perform that action at this time.
0 commit comments