MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / GetLength

Method GetLength

src/TrackedObjectBBox.cpp:72–79  ·  view source on GitHub ↗

Get the size of BoxVec map

Source from the content-addressed store, hash-verified

70
71// Get the size of BoxVec map
72int64_t TrackedObjectBBox::GetLength() const
73{
74 if (BoxVec.empty())
75 return 0;
76 if (BoxVec.size() == 1)
77 return 1;
78 return BoxVec.size();
79}
80
81// Check if there is a bounding-box in the given frame
82bool TrackedObjectBBox::Contains(int64_t frame_num) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected