检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
SSL配置报错 Java SDK SSL配置属可选项,用户可根据具体需求确认是否需要SSL证书验证,详情如下: // 根据需要配置是否跳过SSL证书验证 // 执行SDK时出现javax.net.ssl.SSLHandshakeException: Received fatal
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
不同区域是否有时延 区域(Region):从地理位置和网络时延维度划分,同一个Region内共享弹性计算、块存储、对象存储、VPC网络、弹性公网IP、镜像等公共服务。 一般情况下,建议就近选择靠近您或者您的目标用户的区域,这样可以减少网络时延,提高访问速度。 不过,在基础设施、BGP网
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
区创建资源。 区域(Region):从地理位置和网络时延维度划分,同一个Region内共享弹性计算、块存储、对象存储、VPC网络、弹性公网IP、镜像等公共服务。Region分为通用Region和专属Region,通用Region指面向公共租户提供通用云服务的Region;专属Re
”按钮。分别执行以下命令安装SDK(该SDK支持Python3及以上版本)。 # 安装核心库 pip install huaweicloudsdkcore # 安装OCR服务库 pip install huaweicloudsdkocr 检查SDK是否已正确安装。 在PyCharm中选择“File
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
driver_license:驾驶证 vehicle_license:行驶证 transportation_license:道路运输证 bankcard:银行卡 bus_ship_ticket:车船票 ride_hailing_itinerary:网约车行程单 machine_printed_invoice:通用机打发票
以下命令来检查并更新SDK至最新版本。 pip show huaweicloudsdkcore pip show huaweicloudsdkocr pip install --upgrade huaweicloudsdkcore pip install --upgrade huaweicloudsdkocr
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
URI-scheme 表示用于传输请求的协议,当前所有API均采用HTTPS协议。 endpoint 指定承载REST服务端点的服务器域名或IP,不同服务不同区域的endpoint不同,您可以从终端节点章节查看。 例如OCR服务在“华北-北京四”区域的“endpoint”为“ocr
OCR服务的SDK是否依赖于Maven管理依赖包 Python SDK依赖的部分包如requests等需要在本地环境中安装,在连通外网的情况下可直接使用pip install +包名安装。 Java SDK不需要使用Maven管理本地依赖包,可以直接运行使用。 父主题: SDK使用类
SSL配置(可选) // 根据需要配置是否跳过SSL证书验证 // 执行SDK时出现javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure报错,可添加此代码,跳过SSL证书验证 config.with
// 默认超时时间为120秒,可根据需要调整 config.Timeout = 120; SSL配置(可选) // 根据需要配置是否跳过SSL证书验证 config.IgnoreSslVerification = true; 配置认证信息 配置AK、SK信息。华为云通过AK识别用户
图片识别API,获取识别结果。 前提条件 开通网络图片识别。 参考本地调用,安装OCR Python SDK。并执行pip install fitz命令和pip install PyMuPDF==1.18.0命令安装依赖包。 登录访问密钥页面,获取AK、SK。可以新增访问密钥,或
Execution, Deployment > > CMake”。 在CMake options中加入: -DCMAKE_TOOLCHAIN_FILE={your vcpkg install dir}/scripts/buildsystems/vcpkg.cmake 右键 CMakeLists.txt
PHP SDK 本章节介绍新版PHP SDK,您可以参考本章节进行快速集成开发。 准备工作 注册华为账号并开通华为云,并完成实名认证,账号不能处于欠费或冻结状态。 已具备开发环境,PHP 5.6 及以上版本,可执行 php --version 检查当前的版本信息。 登录“我的凭证