2021-10-16 01:26:26 -04:00
|
|
|
|
/**
|
|
|
|
|
|
* @file
|
|
|
|
|
|
* @brief SWIG configuration for libopenshot (to generate Python SWIG bindings)
|
|
|
|
|
|
* @author Jonathan Thomas <jonathan@openshot.org>
|
|
|
|
|
|
*
|
|
|
|
|
|
* @section LICENSE
|
|
|
|
|
|
*/
|
|
|
|
|
|
// Copyright (c) 2008-2019 OpenShot Studios, LLC
|
|
|
|
|
|
//
|
|
|
|
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
2014-04-10 22:38:01 -05:00
|
|
|
|
|
2022-10-31 14:20:18 -05:00
|
|
|
|
%module("threads"=1) openshot
|
2014-04-10 22:38:01 -05:00
|
|
|
|
|
2019-07-12 13:28:47 -04:00
|
|
|
|
/* Suppress warnings about ignored operator= */
|
|
|
|
|
|
%warnfilter(362);
|
|
|
|
|
|
|
2019-09-28 21:43:59 -04:00
|
|
|
|
/* Don't generate multiple wrappers for functions with default args */
|
|
|
|
|
|
%feature("compactdefaultargs", "1");
|
|
|
|
|
|
|
2014-04-10 22:38:01 -05:00
|
|
|
|
/* Enable inline documentation */
|
|
|
|
|
|
%feature("autodoc", "1");
|
|
|
|
|
|
|
|
|
|
|
|
/* Include various SWIG helpers */
|
|
|
|
|
|
%include "typemaps.i"
|
|
|
|
|
|
%include "std_string.i"
|
|
|
|
|
|
%include "std_list.i"
|
|
|
|
|
|
%include "std_vector.i"
|
2018-02-03 01:57:18 -06:00
|
|
|
|
%include "std_map.i"
|
2017-09-28 16:03:01 -05:00
|
|
|
|
%include <stdint.i>
|
2014-04-10 22:38:01 -05:00
|
|
|
|
|
|
|
|
|
|
/* Unhandled STL Exception Handling */
|
|
|
|
|
|
%include <std_except.i>
|
|
|
|
|
|
|
|
|
|
|
|
/* Include shared pointer code */
|
|
|
|
|
|
%include <std_shared_ptr.i>
|
|
|
|
|
|
|
|
|
|
|
|
/* Mark these classes as shared_ptr classes */
|
2016-02-23 01:24:13 -06:00
|
|
|
|
#ifdef USE_IMAGEMAGICK
|
2022-04-03 00:45:08 -04:00
|
|
|
|
%shared_ptr(Magick::Image)
|
2016-02-23 01:24:13 -06:00
|
|
|
|
#endif
|
2021-08-24 04:21:55 -04:00
|
|
|
|
%shared_ptr(juce::AudioBuffer<float>)
|
2014-04-10 22:38:01 -05:00
|
|
|
|
%shared_ptr(openshot::Frame)
|
|
|
|
|
|
|
2024-10-10 12:46:16 -05:00
|
|
|
|
/* Rename operators to avoid wrapping name collisions */
|
|
|
|
|
|
%rename(__eq__) operator==;
|
|
|
|
|
|
%rename(__lt__) operator<;
|
|
|
|
|
|
%rename(__gt__) operator>;
|
|
|
|
|
|
|
2021-08-24 04:21:55 -04:00
|
|
|
|
/* Instantiate the required template specializations */
|
|
|
|
|
|
%template() std::map<std::string, int>;
|
|
|
|
|
|
%template() std::pair<int, int>;
|
|
|
|
|
|
%template() std::vector<int>;
|
2022-10-31 14:20:18 -05:00
|
|
|
|
%template() std::vector<float>;
|
2021-08-24 04:21:55 -04:00
|
|
|
|
%template() std::pair<double, double>;
|
|
|
|
|
|
%template() std::pair<float, float>;
|
|
|
|
|
|
%template() std::pair<std::string, std::string>;
|
|
|
|
|
|
%template() std::vector<std::pair<std::string, std::string>>;
|
2022-11-01 15:17:03 -05:00
|
|
|
|
%template() std::vector<std::vector<float>>;
|
2021-08-24 04:21:55 -04:00
|
|
|
|
|
2014-04-10 22:38:01 -05:00
|
|
|
|
%{
|
2019-07-01 12:24:50 -05:00
|
|
|
|
#include "OpenShotVersion.h"
|
2020-03-23 08:13:46 -04:00
|
|
|
|
#include "ReaderBase.h"
|
|
|
|
|
|
#include "WriterBase.h"
|
2021-08-24 04:21:55 -04:00
|
|
|
|
#include "AudioDevices.h"
|
2022-10-30 22:04:19 -05:00
|
|
|
|
#include "AudioWaveformer.h"
|
2020-03-23 08:13:46 -04:00
|
|
|
|
#include "CacheBase.h"
|
|
|
|
|
|
#include "CacheDisk.h"
|
|
|
|
|
|
#include "CacheMemory.h"
|
|
|
|
|
|
#include "ChannelLayouts.h"
|
|
|
|
|
|
#include "ChunkReader.h"
|
|
|
|
|
|
#include "ChunkWriter.h"
|
|
|
|
|
|
#include "ClipBase.h"
|
|
|
|
|
|
#include "Clip.h"
|
|
|
|
|
|
#include "Coordinate.h"
|
|
|
|
|
|
#include "Color.h"
|
|
|
|
|
|
#include "DummyReader.h"
|
|
|
|
|
|
#include "EffectBase.h"
|
|
|
|
|
|
#include "Effects.h"
|
|
|
|
|
|
#include "EffectInfo.h"
|
|
|
|
|
|
#include "Enums.h"
|
|
|
|
|
|
#include "Exceptions.h"
|
|
|
|
|
|
#include "FFmpegReader.h"
|
|
|
|
|
|
#include "FFmpegWriter.h"
|
|
|
|
|
|
#include "Fraction.h"
|
|
|
|
|
|
#include "Frame.h"
|
|
|
|
|
|
#include "FrameMapper.h"
|
|
|
|
|
|
#include "PlayerBase.h"
|
|
|
|
|
|
#include "Point.h"
|
|
|
|
|
|
#include "Profiles.h"
|
|
|
|
|
|
#include "QtHtmlReader.h"
|
|
|
|
|
|
#include "QtImageReader.h"
|
|
|
|
|
|
#include "QtPlayer.h"
|
|
|
|
|
|
#include "QtTextReader.h"
|
|
|
|
|
|
#include "KeyFrame.h"
|
|
|
|
|
|
#include "RendererBase.h"
|
|
|
|
|
|
#include "Settings.h"
|
Large refactor of Timeline, TimelineBase, ClipBase, and Clip, to allow a Clip access to the parent timeline instance (if available), and thus, certain properties (preview size, timeline FPS, etc...). This allows for a simpler rendering of Clip keyframes (during the Clip::GetFrame method), and a simpler Timeline class, that can change the preview window size dynamically and no longer requires a Singleton Settings class.
- Also removed "crop" from Clip class, as it was never implmeneted correctly, and we have a fully functional "crop" effect when needed
- Added caching to Clip class, to optimize previewing of cached frames (much faster than previous)
2020-10-04 16:59:21 -05:00
|
|
|
|
#include "TimelineBase.h"
|
2020-03-23 08:13:46 -04:00
|
|
|
|
#include "Timeline.h"
|
2025-06-06 15:33:43 -05:00
|
|
|
|
#include "Qt/VideoCacheThread.h"
|
2020-03-23 08:13:46 -04:00
|
|
|
|
#include "ZmqLogger.h"
|
2014-04-10 22:38:01 -05:00
|
|
|
|
|
|
|
|
|
|
%}
|
|
|
|
|
|
|
2025-06-06 15:33:43 -05:00
|
|
|
|
// Prevent SWIG from ever generating a wrapper for juce::Thread’s constructor (or run())
|
|
|
|
|
|
%ignore juce::Thread::Thread;
|
|
|
|
|
|
|
2016-02-23 00:27:03 -06:00
|
|
|
|
#ifdef USE_IMAGEMAGICK
|
2022-04-03 00:45:08 -04:00
|
|
|
|
%{
|
|
|
|
|
|
#include "ImageReader.h"
|
|
|
|
|
|
#include "ImageWriter.h"
|
|
|
|
|
|
#include "TextReader.h"
|
|
|
|
|
|
%}
|
2016-02-23 00:27:03 -06:00
|
|
|
|
#endif
|
|
|
|
|
|
|
2020-08-01 14:06:38 -03:00
|
|
|
|
#ifdef USE_OPENCV
|
2022-04-03 00:45:08 -04:00
|
|
|
|
%{
|
|
|
|
|
|
#include "ClipProcessingJobs.h"
|
|
|
|
|
|
#include "effects/Stabilizer.h"
|
|
|
|
|
|
#include "effects/Tracker.h"
|
|
|
|
|
|
#include "effects/ObjectDetection.h"
|
2024-12-10 17:13:34 +07:00
|
|
|
|
#include "effects/Outline.h"
|
2022-04-03 00:45:08 -04:00
|
|
|
|
#include "TrackedObjectBase.h"
|
|
|
|
|
|
#include "TrackedObjectBBox.h"
|
|
|
|
|
|
%}
|
2020-08-01 14:06:38 -03:00
|
|
|
|
#endif
|
|
|
|
|
|
|
2016-02-02 01:09:02 -06:00
|
|
|
|
/* Generic language independent exception handler. */
|
|
|
|
|
|
%include "exception.i"
|
|
|
|
|
|
%exception {
|
2022-04-03 00:45:08 -04:00
|
|
|
|
try {
|
|
|
|
|
|
$action
|
|
|
|
|
|
}
|
|
|
|
|
|
catch (openshot::ExceptionBase &e) {
|
|
|
|
|
|
SWIG_exception_fail(SWIG_RuntimeError, e.py_message().c_str());
|
|
|
|
|
|
}
|
|
|
|
|
|
catch (std::exception &e) {
|
|
|
|
|
|
SWIG_exception_fail(SWIG_RuntimeError, e.what());
|
|
|
|
|
|
}
|
2016-02-02 01:09:02 -06:00
|
|
|
|
}
|
2014-04-10 22:38:01 -05:00
|
|
|
|
|
2021-08-24 04:21:55 -04:00
|
|
|
|
|
2019-09-07 17:06:04 -04:00
|
|
|
|
|
2021-01-29 01:08:50 -05:00
|
|
|
|
/* Wrap std templates (list, vector, etc...) */
|
|
|
|
|
|
%template(ClipList) std::list<openshot::Clip *>;
|
|
|
|
|
|
%template(EffectBaseList) std::list<openshot::EffectBase *>;
|
|
|
|
|
|
%template(CoordinateVector) std::vector<openshot::Coordinate>;
|
|
|
|
|
|
%template(PointsVector) std::vector<openshot::Point>;
|
|
|
|
|
|
%template(FieldVector) std::vector<openshot::Field>;
|
|
|
|
|
|
%template(MappedFrameVector) std::vector<openshot::MappedFrame>;
|
|
|
|
|
|
%template(MetadataMap) std::map<std::string, std::string>;
|
2021-08-24 04:21:55 -04:00
|
|
|
|
|
|
|
|
|
|
/* Deprecated */
|
2021-01-29 01:08:50 -05:00
|
|
|
|
%template(AudioDeviceInfoVector) std::vector<openshot::AudioDeviceInfo>;
|
|
|
|
|
|
|
2019-09-07 17:06:04 -04:00
|
|
|
|
/* Make openshot.Fraction more Pythonic */
|
|
|
|
|
|
%extend openshot::Fraction {
|
|
|
|
|
|
%{
|
2022-04-03 00:45:08 -04:00
|
|
|
|
#include <sstream>
|
|
|
|
|
|
#include <map>
|
|
|
|
|
|
#include <vector>
|
2021-01-27 05:48:06 -05:00
|
|
|
|
|
2022-04-03 00:45:08 -04:00
|
|
|
|
static std::vector<std::string> _keys{"num", "den"};
|
|
|
|
|
|
static int fracError = 0;
|
2019-09-07 17:06:04 -04:00
|
|
|
|
%}
|
2022-04-03 00:45:08 -04:00
|
|
|
|
double __float__() {
|
|
|
|
|
|
return $self->ToDouble();
|
|
|
|
|
|
}
|
|
|
|
|
|
int __int__() {
|
|
|
|
|
|
return $self->ToInt();
|
|
|
|
|
|
}
|
|
|
|
|
|
/* Dictionary-type methods */
|
|
|
|
|
|
int __len__() {
|
|
|
|
|
|
return _keys.size();
|
|
|
|
|
|
}
|
|
|
|
|
|
%exception __getitem__ {
|
|
|
|
|
|
$action
|
|
|
|
|
|
if (fracError == 1) {
|
|
|
|
|
|
fracError = 0; // Clear flag for reuse
|
|
|
|
|
|
PyErr_SetString(PyExc_KeyError, "Key not found");
|
|
|
|
|
|
SWIG_fail;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
const std::string __getitem__(int index) {
|
|
|
|
|
|
if (index < static_cast<int>(_keys.size())) {
|
|
|
|
|
|
return _keys[index];
|
|
|
|
|
|
}
|
|
|
|
|
|
/* Otherwise, raise an exception */
|
|
|
|
|
|
fracError = 1;
|
|
|
|
|
|
return "";
|
|
|
|
|
|
}
|
|
|
|
|
|
int __getitem__(const std::string& key) {
|
|
|
|
|
|
if (key == "num") {
|
|
|
|
|
|
return $self->num;
|
|
|
|
|
|
} else if (key == "den") {
|
|
|
|
|
|
return $self->den;
|
|
|
|
|
|
}
|
|
|
|
|
|
/* Otherwise, raise an exception */
|
|
|
|
|
|
fracError = 1;
|
|
|
|
|
|
return 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
bool __contains__(const std::string& key) {
|
|
|
|
|
|
return bool(std::find(_keys.begin(), _keys.end(), key) != _keys.end());
|
|
|
|
|
|
}
|
|
|
|
|
|
std::map<std::string, int> GetMap() {
|
|
|
|
|
|
std::map<std::string, int> map1;
|
|
|
|
|
|
map1.insert({"num", $self->num});
|
|
|
|
|
|
map1.insert({"den", $self->den});
|
|
|
|
|
|
return map1;
|
|
|
|
|
|
}
|
|
|
|
|
|
/* Display methods */
|
|
|
|
|
|
const std::string __str__() {
|
|
|
|
|
|
std::ostringstream result;
|
|
|
|
|
|
result << $self->num << ":" << $self->den;
|
|
|
|
|
|
return result.str();
|
|
|
|
|
|
}
|
|
|
|
|
|
const std::string __repr__() {
|
|
|
|
|
|
std::ostringstream result;
|
|
|
|
|
|
result << "Fraction(" << $self->num << ", " << $self->den << ")";
|
|
|
|
|
|
return result.str();
|
|
|
|
|
|
}
|
|
|
|
|
|
/* Implement dict methods in Python */
|
|
|
|
|
|
%pythoncode %{
|
|
|
|
|
|
def __iter__(self):
|
|
|
|
|
|
return iter(self.GetMap())
|
|
|
|
|
|
def keys(self):
|
|
|
|
|
|
_items = self.GetMap()
|
|
|
|
|
|
return _items.keys()
|
|
|
|
|
|
def items(self):
|
|
|
|
|
|
_items = self.GetMap()
|
|
|
|
|
|
return _items.items()
|
|
|
|
|
|
def values(self):
|
|
|
|
|
|
_items = self.GetMap()
|
|
|
|
|
|
return _items.values()
|
|
|
|
|
|
def __mul__(self, other):
|
|
|
|
|
|
if isinstance(other, Fraction):
|
|
|
|
|
|
return Fraction(self.num * other.num, self.den * other.den)
|
|
|
|
|
|
return float(self) * other
|
|
|
|
|
|
def __rmul__(self, other):
|
|
|
|
|
|
return other * float(self)
|
|
|
|
|
|
def __truediv__(self, other):
|
|
|
|
|
|
if isinstance(other, Fraction):
|
|
|
|
|
|
return Fraction(self.num * other.den, self.den * other.num)
|
|
|
|
|
|
return float(self) / other;
|
|
|
|
|
|
def __rtruediv__(self, other):
|
|
|
|
|
|
return other / float(self)
|
|
|
|
|
|
def __format__(self, format_spec):
|
|
|
|
|
|
integer_fmt = "bcdoxX"
|
|
|
|
|
|
float_fmt = "eEfFgGn%"
|
|
|
|
|
|
all_fmt = "".join(["s", integer_fmt, float_fmt])
|
|
|
|
|
|
if not format_spec or format_spec[-1] not in all_fmt:
|
|
|
|
|
|
value = str(self)
|
|
|
|
|
|
elif format_spec[-1] in integer_fmt:
|
|
|
|
|
|
value = int(self)
|
|
|
|
|
|
elif format_spec[-1] in float_fmt:
|
|
|
|
|
|
value = float(self)
|
|
|
|
|
|
else:
|
|
|
|
|
|
value = str(self)
|
|
|
|
|
|
return "{value:{spec}}".format(value=value, spec=format_spec)
|
|
|
|
|
|
%}
|
2019-10-22 20:58:15 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
2024-10-10 12:46:16 -05:00
|
|
|
|
%extend openshot::Profile {
|
|
|
|
|
|
bool __eq__(const openshot::Profile& other) const {
|
|
|
|
|
|
return (*self == other);
|
|
|
|
|
|
}
|
|
|
|
|
|
bool __lt__(const openshot::Profile& other) const {
|
|
|
|
|
|
return (*self < other);
|
|
|
|
|
|
}
|
|
|
|
|
|
bool __gt__(const openshot::Profile& other) const {
|
|
|
|
|
|
return (*self > other);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2019-09-21 01:43:30 -04:00
|
|
|
|
%extend openshot::OpenShotVersion {
|
2019-12-02 22:27:52 -05:00
|
|
|
|
// Give the struct a string representation
|
2022-04-03 00:45:08 -04:00
|
|
|
|
const std::string __str__() {
|
|
|
|
|
|
return std::string(OPENSHOT_VERSION_FULL);
|
|
|
|
|
|
}
|
|
|
|
|
|
// And a repr for interactive use
|
|
|
|
|
|
const std::string __repr__() {
|
|
|
|
|
|
std::ostringstream result;
|
|
|
|
|
|
result << "OpenShotVersion('" << OPENSHOT_VERSION_FULL << "')";
|
|
|
|
|
|
return result.str();
|
|
|
|
|
|
}
|
2019-09-21 01:43:30 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
2019-07-01 12:24:50 -05:00
|
|
|
|
%include "OpenShotVersion.h"
|
2020-03-23 08:13:46 -04:00
|
|
|
|
%include "ReaderBase.h"
|
|
|
|
|
|
%include "WriterBase.h"
|
2021-08-24 04:21:55 -04:00
|
|
|
|
%include "AudioDevices.h"
|
2022-10-30 22:04:19 -05:00
|
|
|
|
%include "AudioWaveformer.h"
|
2020-03-23 08:13:46 -04:00
|
|
|
|
%include "CacheBase.h"
|
|
|
|
|
|
%include "CacheDisk.h"
|
|
|
|
|
|
%include "CacheMemory.h"
|
|
|
|
|
|
%include "ChannelLayouts.h"
|
|
|
|
|
|
%include "ChunkReader.h"
|
|
|
|
|
|
%include "ChunkWriter.h"
|
|
|
|
|
|
%include "ClipBase.h"
|
|
|
|
|
|
%include "Clip.h"
|
|
|
|
|
|
%include "Coordinate.h"
|
|
|
|
|
|
%include "Color.h"
|
|
|
|
|
|
%include "DummyReader.h"
|
|
|
|
|
|
%include "EffectBase.h"
|
|
|
|
|
|
%include "Effects.h"
|
|
|
|
|
|
%include "EffectInfo.h"
|
|
|
|
|
|
%include "Enums.h"
|
|
|
|
|
|
%include "Exceptions.h"
|
|
|
|
|
|
%include "FFmpegReader.h"
|
|
|
|
|
|
%include "FFmpegWriter.h"
|
|
|
|
|
|
%include "Fraction.h"
|
|
|
|
|
|
%include "Frame.h"
|
|
|
|
|
|
%include "FrameMapper.h"
|
|
|
|
|
|
%include "PlayerBase.h"
|
|
|
|
|
|
%include "Point.h"
|
|
|
|
|
|
%include "Profiles.h"
|
|
|
|
|
|
%include "QtHtmlReader.h"
|
|
|
|
|
|
%include "QtImageReader.h"
|
|
|
|
|
|
%include "QtPlayer.h"
|
|
|
|
|
|
%include "QtTextReader.h"
|
|
|
|
|
|
%include "KeyFrame.h"
|
|
|
|
|
|
%include "RendererBase.h"
|
|
|
|
|
|
%include "Settings.h"
|
Large refactor of Timeline, TimelineBase, ClipBase, and Clip, to allow a Clip access to the parent timeline instance (if available), and thus, certain properties (preview size, timeline FPS, etc...). This allows for a simpler rendering of Clip keyframes (during the Clip::GetFrame method), and a simpler Timeline class, that can change the preview window size dynamically and no longer requires a Singleton Settings class.
- Also removed "crop" from Clip class, as it was never implmeneted correctly, and we have a fully functional "crop" effect when needed
- Added caching to Clip class, to optimize previewing of cached frames (much faster than previous)
2020-10-04 16:59:21 -05:00
|
|
|
|
%include "TimelineBase.h"
|
2025-06-06 15:33:43 -05:00
|
|
|
|
%include "Qt/VideoCacheThread.h"
|
2020-03-23 08:13:46 -04:00
|
|
|
|
%include "Timeline.h"
|
|
|
|
|
|
%include "ZmqLogger.h"
|
2016-04-04 23:09:18 -05:00
|
|
|
|
|
2020-08-01 14:45:14 -03:00
|
|
|
|
#ifdef USE_OPENCV
|
2022-04-03 00:45:08 -04:00
|
|
|
|
%include "ClipProcessingJobs.h"
|
|
|
|
|
|
%include "TrackedObjectBase.h"
|
|
|
|
|
|
%include "TrackedObjectBBox.h"
|
2020-08-01 14:45:14 -03:00
|
|
|
|
#endif
|
|
|
|
|
|
|
2016-02-23 00:27:03 -06:00
|
|
|
|
#ifdef USE_IMAGEMAGICK
|
2022-04-03 00:45:08 -04:00
|
|
|
|
%include "ImageReader.h"
|
|
|
|
|
|
%include "ImageWriter.h"
|
|
|
|
|
|
%include "TextReader.h"
|
2016-02-23 00:27:03 -06:00
|
|
|
|
#endif
|
2014-04-10 22:38:01 -05:00
|
|
|
|
|
|
|
|
|
|
/* Effects */
|
2020-03-23 08:13:46 -04:00
|
|
|
|
%include "effects/Bars.h"
|
|
|
|
|
|
%include "effects/Blur.h"
|
|
|
|
|
|
%include "effects/Brightness.h"
|
2020-12-03 10:52:27 -06:00
|
|
|
|
%include "effects/Caption.h"
|
2020-03-23 08:13:46 -04:00
|
|
|
|
%include "effects/ChromaKey.h"
|
2025-05-25 23:29:50 -05:00
|
|
|
|
%include "effects/ColorMap.h"
|
2020-03-23 08:13:46 -04:00
|
|
|
|
%include "effects/ColorShift.h"
|
|
|
|
|
|
%include "effects/Crop.h"
|
|
|
|
|
|
%include "effects/Deinterlace.h"
|
|
|
|
|
|
%include "effects/Hue.h"
|
2025-05-28 17:40:47 -05:00
|
|
|
|
%include "effects/LensFlare.h"
|
2020-03-23 08:13:46 -04:00
|
|
|
|
%include "effects/Mask.h"
|
|
|
|
|
|
%include "effects/Negate.h"
|
|
|
|
|
|
%include "effects/Pixelate.h"
|
|
|
|
|
|
%include "effects/Saturation.h"
|
2025-05-25 23:29:50 -05:00
|
|
|
|
%include "effects/Sharpen.h"
|
2020-03-23 08:13:46 -04:00
|
|
|
|
%include "effects/Shift.h"
|
2025-05-25 23:29:50 -05:00
|
|
|
|
%include "effects/SphericalProjection.cpp"
|
2020-03-23 08:13:46 -04:00
|
|
|
|
%include "effects/Wave.h"
|
2020-08-01 14:06:38 -03:00
|
|
|
|
#ifdef USE_OPENCV
|
2022-04-03 00:45:08 -04:00
|
|
|
|
%include "effects/Stabilizer.h"
|
|
|
|
|
|
%include "effects/Tracker.h"
|
|
|
|
|
|
%include "effects/ObjectDetection.h"
|
2024-12-10 17:13:34 +07:00
|
|
|
|
%include "effects/Outline.h"
|
2020-08-01 14:06:38 -03:00
|
|
|
|
#endif
|