demo-request/utils/image.proto

19 lines
299 B
Protocol Buffer

syntax = "proto3";
package image;
service ImageService {
rpc UploadImage (ImageRequest) returns (ImageResponse);
}
message ImageRequest{
string filename =1;
bytes image_data = 2;
}
message ImageResponse {
string message = 1;
string inference_result = 2;
}