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

Method init_effect_details

src/effects/ObjectDetection.cpp:46–58  ·  view source on GitHub ↗

Init effect settings

Source from the content-addressed store, hash-verified

44
45// Init effect settings
46void ObjectDetection::init_effect_details()
47{
48 /// Initialize the values of the EffectInfo struct.
49 InitEffectInfo();
50
51 /// Set the effect info
52 info.class_name = "ObjectDetection";
53 info.name = "Object Detector";
54 info.description = "Detect objects through the video.";
55 info.has_audio = false;
56 info.has_video = true;
57 info.has_tracked_object = true;
58}
59
60// This method is required for all derived classes of EffectBase, and returns a
61// modified openshot::Frame object

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected