natrongithub / openfx-opencv Goto Github PK
View Code? Open in Web Editor NEWA set of OFX plugins (for Nuke, Sony Vegas, Scratch, etc.) which perform image processing using OpenCV
A set of OFX plugins (for Nuke, Sony Vegas, Scratch, etc.) which perform image processing using OpenCV
Hi there.
I am a beginner in OpenFX and plugin building in general.
I am building an OpenFX natron plugin and want to use OpenCV c++ functions inside my natron plugin.
Is this possible?
If yes can you guide me on how to do it?
Thank you.
Notice OpenCV -is- installed (via homebrew)
$make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C OpenCV
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
c++ -c -g -I../openfx/Support/../include -I../openfx/Support/include -I../openfx/Support/Plugins/include -fvisibility=hidden -DOFX_EXTENSIONS_VEGAS -DOFX_EXTENSIONS_NUKE -I../OpenCV -I../SupportExt -I. -I../VectorGenerator ../VectorGenerator/VectorGenerator.cpp -o Darwin-64-debug/VectorGenerator.o
In file included from ../VectorGenerator/VectorGenerator.cpp:75:
../OpenCV/GenericOpenCVPlugin.h:41:10: fatal error: 'ofxsMacros.h' file not
found
^
1 error generated.
make[1]: *** [Darwin-64-debug/VectorGenerator.o] Error 1
make: *** [OpenCV] Error 2
Getting this error, any suggestions?
Undefined symbols for architecture x86_64:
"OFX::Color::LutManager::m_instance", referenced from:
OFX::Color::LutBase const* OFX::Color::LutManager::getLut<OFX::MultiThread::Mutex>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, float (*)(float), float (*)(float)) in GenericOpenCVPlugin.o
"OFX::Color::LutBase::index_to_float(unsigned short)", referenced from:
OFX::Color::Lut<OFX::MultiThread::Mutex>::validate() const in GenericOpenCVPlugin.o
"OFX::Color::LutBase::hipart(float)", referenced from:
OFX::Color::Lut<OFX::MultiThread::Mutex>::validate() const in GenericOpenCVPlugin.o
OFX::Color::Lut<OFX::MultiThread::Mutex>::toColorSpaceUint8FromLinearFloatFast(float) const in GenericOpenCVPlugin.o
OFX::Color::Lut<OFX::MultiThread::Mutex>::toColorSpaceUint8xxFromLinearFloatFast(float) const in GenericOpenCVPlugin.o
OFX::Color::Lut<OFX::MultiThread::Mutex>::toColorSpaceUint16FromLinearFloatFast(float) const in GenericOpenCVPlugin.o
OFX::Color::Lut<OFX::MultiThread::Mutex>::to_byte_packed_dither(void const*, OfxRectI const&, OFX::PixelComponentEnum, int, OFX::BitDepthEnum, int, OfxRectI const&, void*, OfxRectI const&, OFX::PixelComponentEnum, int, OFX::BitDepthEnum, int) const in GenericOpenCVPlugin.o
OFX::Color::Lut<OFX::MultiThread::Mutex>::to_byte_packed_nodither(void const*, OfxRectI const&, OFX::PixelComponentEnum, int, OFX::BitDepthEnum, int, OfxRectI const&, void*, OfxRectI const&, OFX::PixelComponentEnum, int, OFX::BitDepthEnum, int) const in GenericOpenCVPlugin.o
OFX::Color::Lut<OFX::MultiThread::Mutex>::to_byte_grayscale_nodither(void const*, OfxRectI const&, OFX::PixelComponentEnum, int, OFX::BitDepthEnum, int, OfxRectI const&, void*, OfxRectI const&, OFX::PixelComponentEnum, int, OFX::BitDepthEnum, int) const in GenericOpenCVPlugin.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Darwin-64-release/Misc.ofx] Error 1
make: *** [OpenCV] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.