MCPcopy Create free account
hub / github.com/ARM-software/armnn / AreBoxesEqual

Function AreBoxesEqual

samples/ObjectDetection/test/BoundingBoxTests.cpp:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52static inline bool AreBoxesEqual(od::BoundingBox& b1, od::BoundingBox& b2)
53{
54 return (b1.GetX() == b2.GetX() && b1.GetY() == b2.GetY() &&
55 b1.GetWidth() == b2.GetWidth() && b1.GetHeight() == b2.GetHeight());
56}
57
58TEST_CASE("BoundingBoxTest_GetValidBoundingBox")
59{

Callers 1

Calls 4

GetXMethod · 0.80
GetYMethod · 0.80
GetWidthMethod · 0.45
GetHeightMethod · 0.45

Tested by

no test coverage detected