Merge pull request #585 from OpenShot/opencv

3 New OpenCV Effects (Tracker, Stabilization, and Object Detection)
This commit is contained in:
Jonathan Thomas
2021-01-28 17:28:15 -06:00
committed by GitHub
52 changed files with 5269 additions and 45 deletions

View File

@@ -114,6 +114,15 @@
%}
#endif
#ifdef USE_OPENCV
%{
#include "ClipProcessingJobs.h"
#include "effects/Stabilizer.h"
#include "effects/Tracker.h"
#include "effects/ObjectDetection.h"
%}
#endif
/* Generic language independent exception handler. */
%include "exception.i"
%exception {
@@ -269,6 +278,10 @@
%include "ZmqLogger.h"
%include "AudioDeviceInfo.h"
#ifdef USE_OPENCV
%include "ClipProcessingJobs.h"
#endif
#ifdef USE_IMAGEMAGICK
%include "ImageReader.h"
%include "ImageWriter.h"
@@ -291,6 +304,11 @@
%include "effects/Saturation.h"
%include "effects/Shift.h"
%include "effects/Wave.h"
#ifdef USE_OPENCV
%include "effects/Stabilizer.h"
%include "effects/Tracker.h"
%include "effects/ObjectDetection.h"
#endif
/* Wrap std templates (list, vector, etc...) */