On providing a local path to the Google Cloud Video Intelligence Api for a Video file to be processed for labels (CODE),it gave a syntax error.All relevant files are stored in the same folder.Which other possible syntax can be used or does one have to upload video files to the Cloud for processing?
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 25-07-2019 18:45 other
-a---- 25-07-2019 17:20 2315 NykyVideoApi-5504e860576e.json
-a---- 25-07-2019 17:24 47906730 sampleVid.m4v
-a---- 25-07-2019 18:48 1808 VideoLabels.py
SYNTAX 1
PS D:\Script\GCloud> d:\Script\GCloud\VideoLabels.py
File "D:\Script\GCloud\VideoLabels.py", line 7
def analyze_labels('sampleVid.m4v'):
^
SyntaxError: invalid syntax
SYNTAX 2
PS D:\Script\GCloud> d:\Script\GCloud\VideoLabels.py
File "D:\Script\GCloud\VideoLabels.py", line 7
def analyze_labels('D:\Script\GCloud\sampleVid.m4v'):
^
SyntaxError: invalid syntax