Wednesday, March 23, 2011

Semaine 0 (Week 0)

i. OpenCV installation tested in Linux.

Got really close to getting all the tests that came with installation working. First it couldn't find the extra test data, so grabbed opencv_extra from the latest repository, now all tests from the 3 shell scripts worked, except z-highgui (and beyond if there were more).

Really wanted to see all the tests pass, so installed GTK2+, reran cmake, reinstalled OpenCV, rebuilt with examples, recopied test files etc. Now the tests suddenly can't see opencv_extra, and it gets stuck at optflow-estimate-rigid for 10+ hours (no, I didn't sit there for 10 hours)... doesn't even get to z-highgui anymore. Should have stopped the first time...

Well since it worked the first round, I'll assume it works....


ii. Configured pkg-config and libraries, set up Makefile and a test C++ file doing simple matrices operations. Compiled and ran. Yay.

Did have to add opencv.conf to /etc/ld.so.conf.d/, and ran /sbin/ldconfig as root. Otherwise it couldn't find the library at run time.


iii. TODO next:
  • Find and run the segmentation code Tingfan suggested and see what it does. Don't even remember, was it in Matlab?
    • Downloaded JSEG, from UCSB, has makefile for Linux. Great.
  • Take a look at Tingfan's code and paper and see how exactly he did things.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home