运之盟开放平台


道路运输从业资格证识别

<p><strong>简要描述:</strong> </p> <ul> <li>OCR-道路运输从业资格证识别</li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>API地址: <a href="https://open-beta.56yzm.com:8443">https://open-beta.56yzm.com:8443</a> (不同的环境,不同的API地址)</li> <li>请求地址:/open-api/ocr/ocrScanQualificationCertificate</li> </ul> <p><strong>请求头数据 </strong></p> <ul> <li>Content-Type : application/json;charset=UTF-8 </li> <li>Authorization: Bearer {your_access_token} </li> </ul> <p><strong>入参参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">image</td> <td style="text-align: left;">否</td> <td style="text-align: left;">String</td> <td>与url二选一图片的Base64编码,要求Base64编码后大小不超过10MB。&lt;br&gt;图片最短边不小于15px,最长边不超过8192px,支持JPEG、JPG、PNG、BMP、TIFF格式。&lt;br&gt;图片Base64编码示例如/9j/4AAQSkZJRgABAg...,带有多余前缀会产生The image format is not supported报错。</td> <td>-</td> </tr> <tr> <td style="text-align: left;">url</td> <td style="text-align: left;">否</td> <td style="text-align: left;">String</td> <td>与image二选一图片的URL路径,目前支持:&lt;br&gt;公网http/https url&lt;br&gt;OBS提供的url,使用OBS数据需要进行授权。包括对服务授权、临时授权、匿名公开授权,详情参见配置OBS访问权限。&lt;br&gt;说明:接口响应时间依赖于图片的下载时间,如果图片下载时间过长,会返回接口调用失败。&lt;br&gt;请保证被检测图片所在的存储服务稳定可靠,推荐使用OBS服务存储图片数据。&lt;br&gt;url中不能存在中文字符,若存在,中文需要进行utf8编码。</td> <td>-</td> </tr> </tbody> </table> <p><strong>入参示例</strong></p> <pre><code>{ &amp;quot;image&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;url&amp;quot;: &amp;quot;string&amp;quot; }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">url</td> <td style="text-align: left;">string</td> <td>ocr识别的url</td> </tr> <tr> <td style="text-align: left;">idNumber</td> <td style="text-align: left;">string</td> <td>身份证号(非必有,依赖对应从业资格证板式)。</td> </tr> <tr> <td style="text-align: left;">assessmentDate</td> <td style="text-align: left;">string</td> <td>考核时间(非必有,依赖对应从业资格证板式)。</td> </tr> <tr> <td style="text-align: left;">certificateNumber</td> <td style="text-align: left;">string</td> <td>从业资格证号。</td> </tr> <tr> <td style="text-align: left;">fileNumber</td> <td style="text-align: left;">string</td> <td>档案号(非必有,&lt;br&gt;依赖对应从业资格证板式)。</td> </tr> <tr> <td style="text-align: left;">unionCardNumber</td> <td style="text-align: left;">string</td> <td>福路通号(非必有,依赖对应从业资格证板式)。</td> </tr> <tr> <td style="text-align: left;">continuingEducationInfo</td> <td style="text-align: left;">string</td> <td>继续教育信息(非必有,依赖对应从业资格证板式)。</td> </tr> <tr> <td style="text-align: left;">sex</td> <td style="text-align: left;">string</td> <td>性别(非必有,&lt;br&gt;依赖对应从业资格证板式)。</td> </tr> <tr> <td style="text-align: left;">phoneNumber</td> <td style="text-align: left;">string</td> <td>联系电话(非必有,依赖对应从业资格证板式)。</td> </tr> <tr> <td style="text-align: left;">registrationDate</td> <td style="text-align: left;">string</td> <td>登记时间(非必有,依赖对应从业资格证板式)。</td> </tr> <tr> <td style="text-align: left;">workUnit</td> <td style="text-align: left;">string</td> <td>单位(非必有,&lt;br&gt;依赖对应从业资格证板式)。</td> </tr> <tr> <td style="text-align: left;">integrityAssessmentInfo</td> <td style="text-align: left;">string</td> <td>诚信考核信息(非必有,依赖对应从业资格证板式)。</td> </tr> <tr> <td style="text-align: left;">nationality</td> <td style="text-align: left;">string</td> <td>国籍(非必有,&lt;br&gt;依赖对应从业资格证板式)。</td> </tr> <tr> <td style="text-align: left;">name</td> <td style="text-align: left;">string</td> <td>姓名。</td> </tr> <tr> <td style="text-align: left;">address</td> <td style="text-align: left;">string</td> <td>住址。</td> </tr> <tr> <td style="text-align: left;">drivingClass</td> <td style="text-align: left;">string</td> <td>准驾车型(非必有,依赖对应从业资格证板式)。</td> </tr> <tr> <td style="text-align: left;">issuingAuthority</td> <td style="text-align: left;">string</td> <td>发证机关(非必有,依赖对应从业资格证板式)。</td> </tr> <tr> <td style="text-align: left;">birthDate</td> <td style="text-align: left;">string</td> <td>出生日期(非必有,依赖对应从业资格证板式)。</td> </tr> <tr> <td style="text-align: left;">qualificationCategoryList</td> <td style="text-align: left;">array</td> <td>从业资格列表。</td> </tr> <tr> <td style="text-align: left;">confidence</td> <td style="text-align: left;">object</td> <td>各个字段的置信度。</td> </tr> </tbody> </table> <p><strong>出参示例</strong></p> <pre><code>{ &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;url&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;idNumber&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;assessmentDate&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;certificateNumber&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;fileNumber&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;unionCardNumber&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;continuingEducationInfo&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;sex&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;phoneNumber&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;registrationDate&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;workUnit&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;integrityAssessmentInfo&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;nationality&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;name&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;address&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;drivingClass&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;issuingAuthority&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;birthDate&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;qualificationCategoryList&amp;quot;: [ { &amp;quot;category&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;initialIssueDate&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;issueDate&amp;quot;: &amp;quot;string&amp;quot;, &amp;quot;expiryDate&amp;quot;: &amp;quot;string&amp;quot; } ], &amp;quot;confidence&amp;quot;: { &amp;quot;idNumberConfidence&amp;quot;: 0, &amp;quot;assessmentDateConfidence&amp;quot;: 0, &amp;quot;certificateNumberConfidence&amp;quot;: 0, &amp;quot;fileNumberConfidence&amp;quot;: 0, &amp;quot;unionCardNumberConfidence&amp;quot;: 0, &amp;quot;continuingEducationInfoConfidence&amp;quot;: 0, &amp;quot;sexConfidence&amp;quot;: 0, &amp;quot;phoneNumberConfidence&amp;quot;: 0, &amp;quot;registrationDateConfidence&amp;quot;: 0, &amp;quot;workUnitConfidence&amp;quot;: 0, &amp;quot;integrityAssessmentInfoConfidence&amp;quot;: 0, &amp;quot;nationalityConfidence&amp;quot;: 0, &amp;quot;nameConfidence&amp;quot;: 0, &amp;quot;addressConfidence&amp;quot;: 0, &amp;quot;drivingClassConfidence&amp;quot;: 0, &amp;quot;issuingAuthorityConfidence&amp;quot;: 0, &amp;quot;birthDateConfidence&amp;quot;: 0, &amp;quot;qualificationCategoryListConfidence&amp;quot;: [] } } }</code></pre>

页面列表

ITEM_HTML