Created
June 3, 2020 17:11
-
-
Save zabir-nabil/866d3140792304bf12081e80aff96269 to your computer and use it in GitHub Desktop.
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
syntax = "proto3"; | |
// input image, width, height | |
message B64Image { | |
string b64image = 1; | |
int32 width = 2; | |
int32 height = 3; | |
} | |
// output prediction | |
message Prediction { | |
int32 channel = 4; | |
float mean = 5; | |
} | |
// service | |
service ImageProcedure { | |
rpc ImageMeanWH(B64Image) returns (Prediction) {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment