I'm new with JNIs / Classloaders /etc, and had a hard time making this work right.
Lots of posts referenced the Tomcat solution, but it took me a while to "get it".
And so, for newbs like me, here is a quick bloggette on getting OpenCV (and theoretically any JNIs) working in your Flink stream.