Internal change

PiperOrigin-RevId: 494914168
This commit is contained in:
Sebastian Schmidt
2022-12-12 21:30:31 -08:00
committed by Copybara-Service
parent 3f66dde8fd
commit fb21797611
43 changed files with 70 additions and 3 deletions
+1
View File
@@ -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) {