我正在构建一个使用GoogleCloudVision的OCR的OCR应用程序。对于大约7-8个请求,OCR工作得很好,之后我得到一个错误,如下所示:
Error: 7 PERMISSION_DENIED: Your application has authenticated usingend user credentials from the GoogleCloud SDK or GoogleCloud Sh
我正在使用vision.enums.Feature.Type.DOCUMENT_TEXT_DETECTION来提取pdf文档中的一些密集文本。下面是我的代码: from google.cloud import vision
print('Lookingfor text in PDF {}'.format(filename))
# BATCH_SIZE; How