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

Method GetTrackedData

src/CVTracker.cpp:377–388  ·  view source on GitHub ↗

Get tracker info for the desired frame

Source from the content-addressed store, hash-verified

375
376// Get tracker info for the desired frame
377FrameData CVTracker::GetTrackedData(size_t frameId){
378
379 // Check if the tracker info for the requested frame exists
380 if ( trackedDataById.find(frameId) == trackedDataById.end() ) {
381
382 return FrameData();
383 } else {
384
385 return trackedDataById[frameId];
386 }
387
388}
389
390// Load JSON string into this object
391void CVTracker::SetJson(const std::string value) {

Callers 1

CVTracker.cppFile · 0.80

Calls 1

FrameDataClass · 0.85

Tested by

no test coverage detected