20 processingType(processingType), processInfoJson(processInfoJson){
24 processInfoJson = json;
27 if(processingType ==
"Stabilizer"){
28 t = std::thread(&ClipProcessingJobs::stabilizeClip,
this, std::ref(clip), std::ref(this->processingController));
30 if(processingType ==
"Tracker"){
31 t = std::thread(&ClipProcessingJobs::trackClip,
this, std::ref(clip), std::ref(this->processingController));
33 if(processingType ==
"ObjectDetection"){
34 t = std::thread(&ClipProcessingJobs::detectObjectsClip,
this, std::ref(clip), std::ref(this->processingController));
42 CVTracker tracker(processInfoJson, controller);
44 tracker.trackClip(clip);
54 tracker.SaveTrackedData();
64 CVObjectDetection objDetector(processInfoJson, controller);
66 objDetector.detectObjectsClip(clip);
76 objDetector.SaveObjDetectedData();
86 stabilizer.stabilizeClip(clip);
96 stabilizer.SaveStabilizedData();
124 return processingController.
GetError();