jolibrain / deepdetect

Deep Learning API and Server in C++14 support for PyTorch,TensorRT, Dlib, NCNN, Tensorflow, XGBoost and TSNE
https://www.deepdetect.com/
Other
2.52k stars 561 forks source link

feat: allow returning images in json in base64 format #1531

Closed Bycob closed 1 year ago

Bycob commented 1 year ago

With image=true, a dd predict call will now return base64 encoded images in an images field.

Adds parameters.output.encoding: an extension characterizing the image encoding, e.g ".png" or ".jpg"