Comments (5)
Yeah, my plan for linux was definitely to use the system version of the OpenCV .so. Otherwise there are too many possible configurations to support and I trust that Linux users (like you) are perfectly capable of maintaining their own OpenCV install in whatever way they see fit.
So, including the .so in the library directory is probably not the right way to go.
Is there anything I need to do in OpenCV for Processing to get it to pickup the system version? Or does it happen automatically. I'm far from a Linux expert...
from opencv-processing.
I haven't tried to install the OpenCV build I did, so I cannot tell you for
sure if it will work automatically, but if OpenCV installs the .so in the
standard directory I guess it will work. I will try it next week and let
you know.
By the way, you've done a great job with this library!! I'm having a great
time playing around with OpenCV and Processing.
Thanks for your hard work!!
On Wed, Jul 17, 2013 at 10:11 PM, Greg Borenstein
[email protected]:
Yeah, my plan for linux was definitely to use the system version of the
OpenCV .so. Otherwise there are too many possible configurations to support
and I trust that Linux users (like you) are perfectly capable of
maintaining their own OpenCV install in whatever way they see fit.So, including the .so in the library directory is probably not the right
way to got.Is there anything I need to do in OpenCV for Processing to get it to
pickup the system version? Or does it happen automatically. I'm far from a
Linux expert...—
Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-21141002
.
ricard
http://twitter.com/ricardmp
http://www.ricardmarxer.com
http://www.caligraft.com
from opencv-processing.
Thanks! Please do try it and let me know. I'll leave this issue open until I hear back from you (or someone else) reporting success with the system OpenCV.
from opencv-processing.
It looks like in my Debian box the OpenCV java library gets installed in a different path:
/usr/local/share/OpenCV/java/libopencv_java245.so
than other C/C++ libraries (/usr/local/lib or /usr/lib).
Since these paths are specific to OpenCV, Processing doesn't add them in the java.library.path system property.
Would it make sense to add this path programatically, from inside opencv-processing, before loading the lib (System.loadLibrary())?
I have tried it and it seems to work.
But that is not the end of the story, it looks like libopencv_java245.so links to cv2.so which gets installed by default in /usr/local/lib/python2.7/dist-packages.
In order to be able to use OpenCV in my system, I have to add this path to LD_LIBRARY_PATH. To my knowledge there is no way to do this programatically (and it is not recommended neither). But I would consider this a bug of the OpenCV installation scripts rather than a problem of OpenCV for Processing.
from opencv-processing.
This should be fixed as of 0909e88 thanks to Arturo.
from opencv-processing.
Related Issues (20)
- Error in opening movie files HOT 2
- Issue to built the lib for Raspberry PI (arm and x86) HOT 2
- setROI()
- How can i used your library in Netbeans IDE ?
- Request: Update to OpenCV 3.0?
- Library Processing.video error HOT 2
- crash while running P3D, P2D
- Display contours over image HOT 1
- issue with getAverageFlowInRegion HOT 1
- I cannot find radon transform.
- LiveCamTest.pde is crashing on macOS Catalina HOT 2
- Can't load library in macOS Catalina HOT 1
- All examples give NullPointerException error HOT 5
- OpenCV not Working on Processing 3, on Ubuntu 18.04
- Illegal reflective operation warning in Processing 4 HOT 1
- HSVColorTracking Example not responding
- UnsatisfiedLinkError HOT 6
- Update readme or merge latest development with this repo? HOT 2
- [JAVA opencv library] Have you tried the 'WhichFace' example?
- HoughLineDetection example: another result HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencv-processing.