Zeyi-Lin / HivisionIDPhotos

⚡️HivisionIDPhotos: a lightweight and efficient AI ID photos tools. 一个轻量级的AI证件照制作算法。
https://swanhub.co/ZeYiLin/HivisionIDPhotos/demo
Apache License 2.0
12.46k stars 1.27k forks source link

怎么调用face++啊 #88

Open wsysl1989 opened 2 months ago

wsysl1989 commented 2 months ago

根据说明,设置变量不管用,直接修改HivisionIDPhotos\hivision\creator\face_detector.py,把key,secret填入也不行啊。报错:Please make sure you have correctly set up the Face++ API Key and Secret. API Error Status Code is 400 Possible errors are: Bad request error: MISSING_ARGUMENTS: api_key

Zeyi-Lin commented 2 months ago

看报错,你的API KEY可能填错了:)

https://console.faceplusplus.com.cn/documents/4888373

wsysl1989 commented 2 months ago

没填错啊,这个身份证识别没问题

wsysl1989 commented 2 months ago

看报错,你的API KEY可能填错了:)

https://console.faceplusplus.com.cn/documents/4888373

postman测试API也没问题,是不是哪里步骤不对啊?能直接在face_detector.py里面填上AIPkey吗?

Zeyi-Lin commented 2 months ago

看报错,你的API KEY可能填错了:)

https://console.faceplusplus.com.cn/documents/4888373

postman测试API也没问题,是不是哪里步骤不对啊?能直接在face_detector.py里面填上AIPkey吗?

可以试试直接改

wsysl1989 commented 2 months ago

看报错,你的API KEY可能填错了:)

https://console.faceplusplus.com.cn/documents/4888373

postman测试API也没问题,是不是哪里步骤不对啊?能直接在face_detector.py里面填上AIPkey吗?

可以试试直接改

改了不管用