Internal change
PiperOrigin-RevId: 494914168
This commit is contained in:
committed by
Copybara-Service
parent
3f66dde8fd
commit
fb21797611
@@ -22,6 +22,8 @@
|
||||
|
||||
namespace mediapipe {
|
||||
|
||||
using ::mediapipe::NormalizedRect;
|
||||
|
||||
namespace {
|
||||
|
||||
// NORM_LANDMARKS is either the full set of landmarks for the hand, or
|
||||
|
||||
@@ -34,6 +34,8 @@ constexpr char kRecropRectTag[] = "RECROP_RECT";
|
||||
constexpr char kImageSizeTag[] = "IMAGE_SIZE";
|
||||
constexpr char kTrackingRectTag[] = "TRACKING_RECT";
|
||||
|
||||
using ::mediapipe::NormalizedRect;
|
||||
|
||||
// TODO: Use rect rotation.
|
||||
// Verifies that Intersection over Union of previous frame rect and current
|
||||
// frame re-crop rect is less than threshold.
|
||||
|
||||
@@ -34,6 +34,8 @@ namespace {
|
||||
constexpr char kInputFrameAnnotationTag[] = "FRAME_ANNOTATION";
|
||||
constexpr char kOutputNormRectsTag[] = "NORM_RECTS";
|
||||
|
||||
using ::mediapipe::NormalizedRect;
|
||||
|
||||
} // namespace
|
||||
|
||||
// A calculator that converts FrameAnnotation proto to NormalizedRect.
|
||||
|
||||
Reference in New Issue
Block a user