Internal change
PiperOrigin-RevId: 494914168
This commit is contained in:
committed by
Copybara-Service
parent
3f66dde8fd
commit
fb21797611
@@ -20,6 +20,7 @@
|
||||
namespace mediapipe {
|
||||
namespace {
|
||||
|
||||
using ::mediapipe::NormalizedRect;
|
||||
using ::testing::FloatNear;
|
||||
|
||||
class RectangleUtilTest : public testing::Test {
|
||||
|
||||
@@ -20,6 +20,8 @@ namespace mediapipe {
|
||||
|
||||
namespace {
|
||||
|
||||
using ::mediapipe::NormalizedRect;
|
||||
|
||||
// Struct for carrying boundary information.
|
||||
struct NormalizedRectBounds {
|
||||
float left, right, top, bottom;
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
namespace {
|
||||
|
||||
using ::mediapipe::NormalizedRect;
|
||||
using mediapipe::TrackedDetection;
|
||||
|
||||
// Checks if a point is out of view.
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
namespace mediapipe {
|
||||
|
||||
using ::mediapipe::NormalizedRect;
|
||||
|
||||
const float kErrorMargin = 1e-4f;
|
||||
|
||||
TEST(TrackedDetectionTest, ConstructorWithoutBox) {
|
||||
|
||||
Reference in New Issue
Block a user