Monday, February 28, 2011

opencv Haarcascade files in Ubuntu 10.10 (Maverick)

The haarcascade files used by opencv library to detect faces and other features are not being shipped in Ubuntu 10.10 (Maverick). There is an open bug for the issue:

https://bugs.launchpad.net/opencv/+bug/698016

This means Ubuntu 10.10 users won't be able to see the Face Overlay effect in Cheese :(

These are the missing files:

/usr/share/opencv/haarcascades/haarcascade_eye.xml
/usr/share/opencv/haarcascades/haarcascade_eye_tree_eyeglasses.xml
/usr/share/opencv/haarcascades/haarcascade_frontalface_alt.xml
/usr/share/opencv/haarcascades/haarcascade_frontalface_alt2.xml
/usr/share/opencv/haarcascades/haarcascade_frontalface_alt_tree.xml
/usr/share/opencv/haarcascades/haarcascade_frontalface_default.xml
/usr/share/opencv/haarcascades/haarcascade_fullbody.xml
/usr/share/opencv/haarcascades/haarcascade_lefteye_2splits.xml
/usr/share/opencv/haarcascades/haarcascade_lowerbody.xml
/usr/share/opencv/haarcascades/haarcascade_mcs_eyepair_big.xml
/usr/share/opencv/haarcascades/haarcascade_mcs_eyepair_small.xml
/usr/share/opencv/haarcascades/haarcascade_mcs_lefteye.xml
/usr/share/opencv/haarcascades/haarcascade_mcs_mouth.xml
/usr/share/opencv/haarcascades/haarcascade_mcs_nose.xml
/usr/share/opencv/haarcascades/haarcascade_mcs_righteye.xml
/usr/share/opencv/haarcascades/haarcascade_mcs_upperbody.xml
/usr/share/opencv/haarcascades/haarcascade_profileface.xml
/usr/share/opencv/haarcascades/haarcascade_righteye_2splits.xml
/usr/share/opencv/haarcascades/haarcascade_upperbody.xml

Add yourself to the "people affected by this" list in the bug to make its heat value go up! ;)

1 comment:

locademiaz said...

debian experimental has a package which fix that problem

http://packages.debian.org/experimental/libopencv-core-dev