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

Method GetCamTrajectoryTrackedData

src/CVStabilization.cpp:326–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326CamTrajectory CVStabilization::GetCamTrajectoryTrackedData(size_t frameId){
327
328 // Check if the stabilizer info for the requested frame exists
329 if ( trajectoryData.find(frameId) == trajectoryData.end() ) {
330
331 return CamTrajectory();
332 } else {
333
334 return trajectoryData[frameId];
335 }
336}
337
338// Load JSON string into this object
339void CVStabilization::SetJson(const std::string value) {

Callers 1

CVStabilizer.cppFile · 0.80

Calls 1

CamTrajectoryClass · 0.85

Tested by

no test coverage detected