Project import generated by Copybara.

PiperOrigin-RevId: 254337988
This commit is contained in:
MediaPipe Team 2019-06-20 22:51:29 -07:00 committed by chuoling
parent 5687062d10
commit fcb23fd99d
2 changed files with 17 additions and 2 deletions

View File

@ -20,8 +20,7 @@ See mobile and desktop [examples](mediapipe/docs/examples.md).
A web-based visualizer is hosted on [MediaPipe Visualizer](https://mediapipe-viz.appspot.com/). Please also see instructions [here](mediapipe/docs/visualizer.md). A web-based visualizer is hosted on [MediaPipe Visualizer](https://mediapipe-viz.appspot.com/). Please also see instructions [here](mediapipe/docs/visualizer.md).
## Publications ## Publications
* [MediaPipe: A Framework for Perceiving and Augmenting Reality](http://mixedreality.cs.cornell.edu/s/22_crv2_MediaPipe_CVPR_CV4ARVR_Workshop_2019_v2.pdf), extended abstract for [Third Workshop on Computer Vision for AR/VR](https://sites.google.com/corp/view/perception-cv4arvr/mediapipe). * [MediaPipe: A Framework for Building Perception Pipelines](https://tiny.cc/mediapipe_paper) (draft)
* Full-length draft: [MediaPipe: A Framework for Building Perception Pipelines](https://tiny.cc/mediapipe_paper)
## Contributing ## Contributing
We welcome contributions. Please follow these [guidelines](./CONTRIBUTING.md). We welcome contributions. Please follow these [guidelines](./CONTRIBUTING.md).

View File

@ -30,3 +30,19 @@ message Rect {
// Rotation angle is counter-clockwise in radian. // Rotation angle is counter-clockwise in radian.
optional float rotation = 5 [default = 0.0]; optional float rotation = 5 [default = 0.0];
} }
// A rectangle with rotation in normalized coordinates. The values of box center
// location and size are within [0, 1].
message NormalizedRect {
// Location of the center of the rectangle in image coordinates.
// The (0.0, 0.0) point is at the (top, left) corner.
required float x_center = 1;
required float y_center = 2;
// Size of the rectangle.
required float height = 3;
required float width = 4;
// Rotation angle is counter-clockwise in radian.
optional float rotation = 5 [default = 0.0];
}