MCPcopy Create free account
hub / github.com/PaddlePaddle/PaddleOCR / Clear

Method Clear

deploy/android_demo/app/src/main/cpp/ocr_clipper.cpp:145–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143//------------------------------------------------------------------------------
144
145void PolyTree::Clear() {
146 for (PolyNodes::size_type i = 0; i < AllNodes.size(); ++i)
147 delete AllNodes[i];
148 AllNodes.resize(0);
149 Children.resize(0);
150}
151//------------------------------------------------------------------------------
152
153PolyNode *PolyTree::GetFirst() const {

Callers 2

BuildResult2Method · 0.45
ExecuteMethod · 0.45

Calls 3

sizeMethod · 0.65
resizeMethod · 0.65
ChildCountMethod · 0.45

Tested by

no test coverage detected