Sunday, October 5, 2014

Installing OpenCV 2.4 in Ubuntu 14.04.1

Ubuntu 14.04.1
OpenCV 2.4
Python 2.7.6


Status:
  • 20141005  OpenCV Python samples is working.
  • 20141006  Installing MySql, Apache, PHP and PhpMyAdmin. (Apache=ok, PhpMyAdmin=no)
  • 20141007  Try to fix apache (or php, or phpmyadmin) problem (don't start phpmyadmin configuration popup at instalation time)
  • 20141008  Installing MySql managers (MySQL Workbench, Emma) and restoring "robot" database (manual creation of a new database and import sql file exported by the hp_centauro notebook.
  • 20141009  robot_wsr_face_recognition app is working without any modification :)
Install:
  • sudo apt-get update
  • sudo apt-get install libcv2.4 libcv-dev libhighgui2.4 libhighgui-dev opencv-doc opencv-data libopencv-dev
  • Installing Python Libraries:
  • sudo apt-get install python-opencv  python-dev python-webpy
  • Download OpenCV Library and Extract to "home" folder.
  • Copy OpenCV "data" folder into "samples" folder (otherwise python samples don't work)
Testing OpenCV Python samples:
  • cd ~/opencv-2.4.9/samples/python
  • copiar pasta "OpenCV"/data para "OpenCV"/samples
  • python ./facedetect.py 0
  • python ./motempl.py (contorno e movimento)
  • python ./laplace.py (contorno)
 Installing PyFaces:
  • sudo apt-get install tix python-imaging-tk
  • Download pyfaces
  • Unzip to ~/pyfaces
  • cd ~/pyfaces
  • python pyfacescontroller.py (not working)
Installing som4r repository:
  • sudo apt-get install subversion
Installing Apache, MySql and PhP: