OpenCV 1.0
Instalando Dependências:
- sudo apt-get install build-essential
- sudo apt-get install libgtk2.0-dev libavcodec-dev libavformat-dev libjpeg62-dev libtiff4-dev
Instalando OpenCV:
- sudo apt-get install libcv1 libcv-dev opencv-doc
==============
Instalacão alternativa
==============
Instalando OpenCV a partir dos fontes:
Download OpenCV 1.0 (opencv-1.0.0.tar.gz)
- download OpenCV 1.0 (opencv-1.0.0.tar.gz)
- tar -xzvf opencv-1.0.0.tar.gz
- cd ./opencv-1.0.0
- ./configure --prefix=/opt/opencv --enable-apps --enable-shared --with-ffmpeg --with-gnu-ld --with-x --without-quicktime CXXFLAGS=-fno-strict-aliasing
- make
zzz...
- sudo make install
Criar o arquivo opencv.conf com a linha /opt/opencv/lib :
- sudo nano /etc/ld.so.conf.d/opencv.conf
- sudo ldconfig -v
Acrescentar a linha abaixo no arquivo bash.bashrc :
- sudo nano /etc/bash.bashrc
- export PKG_CONFIG_PATH=/opt/opencv/lib/pkgconfig:$PKG_CONFIG_PATH
===============
final da inst. alternativa
===============
OpenCV - Processing and Java library:
Download dos arquivos libOpenCV (OpenCV.zip):
Descompactar os arquivos (zip./library) na pasta da aplicacão:
Tornar visível ao Java a biblioteca libOpenCV.so:
- sudo cp libOpenCV.so /usr/lib
Download dos exemplos Java (opencv_java_samples.zip):
Testando OpenCV:
Compilando e testando exemplos em C:
- cd ./opencv-1.0.0/samples/c
- . build_all.sh
- ./facedetect
Testando Exemplo em Python:
- cd ./opencv-1.0.0/samples/python
- ./facedetect.py 0
Testando Exemplos em Java usando Eclipse:
- Applet - OpenCV_PApplet.java
- Java Main App - FaceDetection.java
OpenCV Info:
OpenCV Java Projects:
- OPENCV - Processing and Java Library (exemplos Processing e Java)
- Processing.org Java - Forum
- (post on forum) (another post) (and my one) (and my anther one)
- ShapeLogic Java - Robot vision, image processing (.org site)
Image Tools / Info:
- Working with Images using Java
- JAI - Java Advanced Imaging (API FAQ) (SUN JAI)
- JAI Image I/O - Java Advanced Imaging Image I/O Tools (SUN JAI/IO) (read/write images)
- ImageJ - Software for Image Processing and Analysis in Java
Processing Library:
Math Tools:
Links:
- OpenCV + Java + Linux
- Setting up OpenCV on Ubuntu
- OpenCV on Ubuntu Linux
- Installing OpenCV on Ubuntu
- How To Compile OpenCV based programs in Linux
- Instalando OpenCV no Mac OS e Ubuntu
- OpenCV library installation problems
- Installing OpenCV on Linux
- The Idiot's Way of Wrapping C/C++ OpenCV code for Java using SWIG
C++ OpenCV:
- Setting up Eclipse For Using OpenCV
- Setting up Netbeans for using OpenCV
- Beginning OpenCV on Linux
- OpenCV 2.0 installation guide on Netbeans 6.8 IDE under Windows
- Using OpenCV with Eclipse / CDT plugin
- See examples from OpenCV
/samples/c installed from sourceforge install.