python - 内容审核(图片鉴别)回调无数据?
阿神
阿神 2017-04-18 10:28:01
0
1
507
  1. 调用内容审核时,返回了一组按任务提交先后顺序排序的 task_id,这个没有问题

  2. 回调的时候,在接受的地方,我打印了log,是空数据(有回调但无数据)

def identify_images(self):
        tasks = [
            {
                "source": "/5435654_n2_oneFalse1.jpg",
            },
            {
                "source": "/5435654_n2_oneFalse2.jpg",
            }
        ]
        notify_url = 'http://domain****/webhooks'
        res = up.put_tasks(tasks, notify_url, 'imgaudit')
        print res

结果是

[u'5d986d3b4e5bed3f5454142035f46ccf', u'845fdff6cc47970ddaa68a4d61d8b11d']
阿神
阿神

闭关修行中......

reply all(1)
大家讲道理

It is recommended that you submit a work order and provide detailed information to Youpaiyun’s technical support.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!