An api in dataiku for image data

tjh
Level 3
An api in dataiku for image data
Since it seems to be possible now to train neural networks in dataiku, also convolutional networks for images (?), it feels natural to ask if it is possible to deploy these models via api call? This means that the api should be able to receive an image as payload ...
0 Kudos
4 Replies
jereze
Community Manager
Community Manager
Hi,

You should be able to deploy a model with images as inputs on the API node. For example, sending the base64 content of the image file.

I'll see if one of our data scientists who has already done so can share a little more information here.

Jeremy
Jeremy, Product Manager at Dataiku
0 Kudos
tjh
Level 3
Author
It would be great if you could add this information to this discussion. Thanks !
0 Kudos
tjh
Level 3
Author
@Jeremy. Any news on this?
0 Kudos
UserBird
Dataiker
Hi.
1.Push your model as usual on the API Node
2.Then when passing the payload, first transform your image in a base64 using img64 = base64.b64encode(myimage.read())
3. Then use the REST API as usual by passing the img64 in your payload.
0 Kudos