Closed haicheviet closed 3 years ago
Any idea how to resolve this? @markstur
I found a solution to this problem via stack overflow. Since the response is zipped the console.log(body)
prints binary. In the response enable gzip: true
and it will return the json string. You might want to integrate it to the code path.
app.js --> app.post()--> request.post() include gzip: true as an option.
Thank you @HaiCheViet and @nirandiw this is now fixed with https://github.com/IBM/powerai-vision-object-detection/pull/67
The web api return as like that and don't display the image and prediction on web
Tks in advance