search

Home  >  Q&A  >  body text

python - 内容审核(图片鉴别)回调无数据?

  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']
阿神阿神2786 days ago543

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-04-18 10:30:01

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

    reply
    0
  • Cancelreply