https://github.com/goruck/semantic-segmentation-server
Semantic segmentation served over grpc using Google Edge TPU.
https://github.com/goruck/semantic-segmentation-server
gprc semantic-segmentation tpu
Last synced: 5 days ago
JSON representation
Semantic segmentation served over grpc using Google Edge TPU.
- Host: GitHub
- URL: https://github.com/goruck/semantic-segmentation-server
- Owner: goruck
- License: mit
- Created: 2020-05-10T02:53:31.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:20:37.000Z (over 3 years ago)
- Last Synced: 2025-11-20T10:04:07.667Z (7 months ago)
- Topics: gprc, semantic-segmentation, tpu
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
*Work in progress - p/o the radar-ml project*
# semantic-segmentation-server
## Semantic segmentation served over grpc using Google Edge TPU.
```protobuf
service SemanticSegmentation {
// A simple RPC.
rpc GetSegmentedObjects(Empty) returns (SegmentedObjectData) {}
rpc GetCameraResolution(Empty) returns (CameraResolution) {}
}
message SegmentedObject {
// Most likely semantic segment label.
string label = 1;
// Score of label.
// This can be used as a measure of confidence.
float score = 2;
// Relative area of segment. Max = 1.
float area = 3;
// Relative segment centroid coords.
// (0,0) is top left of image containing the segment.
// (1,0) is top right "".
// (0,1) is bottom left "".
// (1,1) is bottom right "".
message Centroid {
float cx = 1;
float cy = 2;
}
Centroid centroid = 4;
}
message SegmentedObjectData {
// Recognized and segmented object data.
repeated SegmentedObject data = 1;
}
message CameraResolution {
int32 width = 1;
int32 height = 2;
}
message Empty {
// Placeholder.
}
```