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

Function PointCount

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

Source from the content-addressed store, hash-verified

3023//------------------------------------------------------------------------------
3024
3025int PointCount(OutPt *Pts) {
3026 if (!Pts)
3027 return 0;
3028 int result = 0;
3029 OutPt *p = Pts;
3030 do {
3031 result++;
3032 p = p->Next;
3033 } while (p != Pts);
3034 return result;
3035}
3036//------------------------------------------------------------------------------
3037
3038void Clipper::BuildResult(Paths &polys) {

Callers 2

BuildResultMethod · 0.70
BuildResult2Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected