玩瞳文档中心


选定相似书

<p><strong>服务:</strong>api-cloud <strong>API:</strong><a href="http://cloud-api1.51wanxue.com/api-cloud/user/book/setSimilarBookPriority">http://cloud-api1.51wanxue.com/api-cloud/user/book/setSimilarBookPriority</a> <strong>请求方式:</strong>GET <strong>api开发者:</strong> 祖旦 <strong>是否授权登录:</strong> 否 <strong>简要描述</strong>:有些书籍在封面上非常相近,对于图像识别算来说,它们是不可区分的,我们把这样一组书籍称为相似书组。假设有一组总本数为3的相似书组,3本书的书名别是A1、A2、A3,用户在读其中任何一本时,算法有可能会将其误认为相似组中的另外两本:例如用户在设备前放的是A2,算法可能将其误识别为A1或A3。</p> <p>通过云端接口,可以让一台设备在识别一组相似书组时,将识别结果锁定为其中的某一本。例如,在上述相似书组中,可通过接口锁定A2为识别结果,则无论算法识别将用户的书识别为A1、A2还是A3,该接口都会强制纠正算法,使其认为用户的书是A2。</p> <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> </tr> </thead> <tbody> <tr> <td style="text-align: left;">baseBookId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">Long</td> <td>被选定书本图像库bookID</td> </tr> <tr> <td style="text-align: left;">openId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">String</td> <td>设备的openID</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code class="language-json">{ &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;ok&amp;quot;, &amp;quot;data&amp;quot;: null }</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;">code</td> <td style="text-align: left;">int</td> <td>请求码返回0(表示请求成功)</td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">String</td> <td>请求返回提示</td> </tr> </tbody> </table>

页面列表

ITEM_HTML