Fix regression caused by https://github.com/OpenShot/libopenshot/pull/827, where we changed the class_name of Object Detector

This commit is contained in:
Jonathan Thomas
2022-06-21 11:30:30 -05:00
parent 7c6fcb0c51
commit 7355ac3c55
3 changed files with 3 additions and 3 deletions

View File

@@ -152,7 +152,7 @@ int main(int argc, char* argv[]) {
objectDetection.SaveObjDetectedData();
// Create a object detector effect
EffectBase* e = EffectInfo().CreateEffect("Object Detector");
EffectBase* e = EffectInfo().CreateEffect("ObjectDetection");
// Pass a JSON string with the saved detections data
// The effect will read and save the detections in a map::<frame,data_struct>