[Pkg-scicomp-devel] parallel computing on opencv 1.0.0

J.Vila jvila at deb-indus.org
Thu Apr 24 20:13:41 UTC 2008


Hi

Sorry for my english I'm french.
I work on a free computer vision software using opencv 1.0.0 and 0.9.7
on etch and sid platforms.

Recently I have made a version of opencv1.0.0 with parallel computing
support.
To do that I have modified the debian/rules file of source package
adding -fopenmp in CFLAGS.
Some modifications have also to made in the source code because of
compilation errors.

The modifications are:

opencv-1.0.0/cv/src/cvdistransform.cpp
-> Line 535 : remove "," before "schedule(dynamic)"
/cv/opencv-1.0.0/cv/src/cvhaar.cpp
-> Line 524 : remove "," before "schedule(dynamic)"
/cv/opencv-1.0.0/cv/src/cvhaar.cpp
-> Line 1092 : remove "," before "schedule(dynamic)"
/cv/opencv-1.0.0/cv/src/cvlkpyramid.cpp
-> Line 413 : remove "," before "schedule(dynamic)"
/cv/opencv-1.0.0/cvaux/src/vs/blobtrackingmsfg.cpp
-> Line 922 : remove "," before "schedule(dynamic)"

I had confirmation of these modifications on opencv yahoo group.

I put all binary packages and sources on www.deb-indus.org/paquets-debian
and tested it on a sid platform on haartraining processing on a DualCore
machine.

It could be interesting for developpers to include such features in the
distribution. The developpers shouldn't have to make the package by
their own when they want to compute haartrainings faster.

I also saw on the opencv yahoo group that modifications in source code
have to be made to have a good ffmpeg support. But I didn't test them.

Regards

Jordi VILA

-- 
L'auteur recommande l'usage de DEBIAN GNU/LINUX pour tout le monde



More information about the Pkg-scicomp-devel mailing list