Init effect settings
| 44 | |
| 45 | // Init effect settings |
| 46 | void 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 |
nothing calls this directly
no outgoing calls
no test coverage detected