Created
February 1, 2019 01:05
-
-
Save apkelly/7444b0997c063dedeeab2244899b9a5d to your computer and use it in GitHub Desktop.
CloudAutoMLModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Expected json payload for webservice. | |
// { | |
// "payload": { | |
// "image": { | |
// "imageBytes": "YOUR_IMAGE_BYTE" | |
// } | |
// } | |
// } | |
data class CloudAutoMLModel(val payload: Payload) | |
data class Payload(val image: MlImage) | |
data class MlImage(val imageBytes: String) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment