Using the following code on JupyterLab in order to run Google Video Intelligence Package:
from google.cloud import videointelligence
import os
client = videointelligence.VideoIntelligenceServiceClient.from_service_account_json("VidIntelligence.json")
job = client.annotate_video(
input_uri='gs://vidintelligencebucket/The Simpsons - Monopoly Night.mp4',
features=['LABEL_DETECTION', 'SHOT_CHANGE_DETECTION'])
result = job.result()
When I run it, the following error appears:
PermissionDenied: 403 The caller does not have permission
Any suggestions?