'개인 프로젝트'에 VideoIntelligence API를 구현하려고합니다. 하지만 그렇게 할 수는 없습니다. [내 개인 프로젝트의 VideoIntelligence API에 대한 액세스 권한이 있습니다]Google Video Intelligence API 쿼리
작동하려면 몇 가지 제안 사항을 제공해주십시오.
(venv) [email protected]:~/Desktop/personal-project$ python manage.py shell
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from google.cloud.gapic.videointelligence.v1beta1 import video_intelligence_service_client
>>> video_client = video_intelligence_service_client.VideoIntelligenceServiceClient()
>>> path = 'gs://demomaker/google_gmail.mp4'
>>> features = [2]
>>> operation = video_client.annotate_video(path, features)
하지만 오류로이 무엇입니까 :
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "personal-project/venv/local/lib/python2.7/site-packages/google/cloud/gapic/videointelligence/v1beta1/video_intelligence_service_client.py", line 234, in annotate_video
self._annotate_video(request, options), self.operations_client,
File "personal-project/venv/local/lib/python2.7/site-packages/google/gax/api_callable.py", line 419, in inner
return api_caller(api_call, this_settings, request)
File "personal-project/venv/local/lib/python2.7/site-packages/google/gax/api_callable.py", line 407, in base_caller
return api_call(*args)
File "personal-project/venv/local/lib/python2.7/site-packages/google/gax/api_callable.py", line 368, in inner
return a_func(*args, **kwargs)
File "personal-project/venv/local/lib/python2.7/site-packages/google/gax/retry.py", line 126, in inner
' classified as transient', exception)
RetryError: GaxError(Exception occurred in retry method that was not classified as transient, caused by <_Rendezvous of RPC that terminated with (StatusCode.PERMISSION_DENIED, Google Cloud Video Intelligence API has not been used in project usable-auth-library before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/videointelligence.googleapis.com/overview?project=usable-auth-library then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.)>)
그것은 '사용 가능한-인증 도서관'프로젝트 내에서 검색하는
나는 다음과 같은 명령을 시도했다. 반면 내 개인 프로젝트에 대한 검색/사용 권한을 가져야합니다. [ '개인 프로젝트'에 대한 액세스 권한이 있고 '사용 가능한 인증 라이브러리가 아니기 때문에]어떻게하면됩니까? 어떤 제안을 해주시겠습니까?
감사
비공개 베타 프로그램에 대한 액세스 권한을 부여 받았음을 감안할 때 Google이 귀하를 그룹에 추가했다고 가정합니다. 나는 당신이 그것을 확인해야한다고 생각합니다. – DaImTo
@DaImTo 어떻게 확인할 수 있습니까? – Naveen
@DaImTo Any이 작품을 만들기위한 제안? – Naveen