I sent post request as:
image = open(r'Photos/IMG_20190202_180358.jpg', 'rb').read()
file = {'image': image}
url = "http://api.kairos.com/detect"
# make request
r = requests.post(url, files=file, headers=headers)
print(r.json())
size of the image is 504kb.
response is:
{'Errors': [{'ErrCode': 5015, 'Message': 'Image too large to be processed'}]}
is there any other error?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…