Hi all,

OK, I also could compile successfully on Debian stretch

1. I had to build opencv 2.4.13.4 myself, adapting this useful script [https://github.com/milq/milq/blob/master/scripts/bash/install-opencv.sh] to the mentioned version. Also, I compared Benjamin's opencv search and I had the same as his, and some other stuff as well.

2. followed steps here: https://github.com/avilleret/pix_opencv/wiki, with the following configure (because I had compiled Gem instead of using proper Debian package):

Invocation command line was

  $ ./configure GEM_CPPFLAGS=-I/usr/local/include/Gem/  GEM_LDFLAGS=-L/usr/local/lib/pd/extra/Gem

3. make* && sudo make install

4. Finally, on the pd console after "pd -lib Gem:pix_opencv -open"

pix_opencv 0.4 library by Antoine Villeret 2012-2016
    based on work by Yves Degoyon and Lluis Gomez i Bigorda
    built on Nov  5 2017
    with non-free features
    with FaceTracker.

5. I also added extra/pix_opencv to the paths, and copied the 'model' and 'haarascade' directories into extra/pix_opencv

* I was using 'make -j5' to accelerate the process, but I think it was giving me problems because of unfinished jobs not being done in time and so having linking problems.

Hope this helps,

fd

On Sun, Nov 5, 2017 at 6:53 AM, Benjamin ~ b01 <benjah@free.fr> wrote:
Le 31/10/2017 à 13:45, Peter P. a écrit :
> Could you let me know which opencv libraries you have installed on that
> machine, for example by posting the output of the command
>       aptitude search opencv | grep ^i
> ?
well on another machine, also debian stretch 64 bits, I also managed to
compile pix_opencv + FaceTracker (thanks for  the "model" directory tip,
it works)

the libs installed :

sudo apt-cache search opencv | grep i
libcv-dev - Translation package for libcv-dev
libcv2.4 - computer vision library - libcv* translation package
libcvaux-dev - Translation package for libcvaux-dev
libcvaux2.4 - computer vision library - libcvaux translation package
libhighgui-dev - Translation package for libhighgui-dev
libhighgui2.4 - computer vision library - libhighgui translation package
libopencv-calib3d-dev - development files for libopencv-calib3d
libopencv-calib3d2.4v5 - computer vision Camera Calibration library
libopencv-contrib-dev - development files for libopencv-contrib
libopencv-contrib2.4v5 - computer vision contrib library
libopencv-core-dev - development files for libopencv-core
libopencv-core2.4v5 - computer vision core library
libopencv-dev - development files for opencv
libopencv-features2d-dev - development files for libopencv-features2d
libopencv-features2d2.4v5 - computer vision Feature Detection and
Descriptor Extraction library
libopencv-flann-dev - development files for libopencv-flann
libopencv-flann2.4v5 - computer vision Clustering and Search in
Multi-Dimensional spaces library
libopencv-gpu-dev - development files for libopencv-gpu2.4v5
libopencv-gpu2.4v5 - computer vision GPU library
libopencv-highgui-dev - development files for libopencv-highgui
libopencv-highgui2.4-deb0 - computer vision High-level GUI and Media I/O
library
libopencv-imgproc-dev - development files for libopencv-imgproc
libopencv-imgproc2.4v5 - computer vision Image Processing library
libopencv-legacy-dev - development files for libopencv-legacy
libopencv-legacy2.4v5 - computer vision legacy library
libopencv-ml-dev - development files for libopencv-ml
libopencv-ml2.4v5 - computer vision Machine Learning library
libopencv-objdetect-dev - development files for libopencv-objdetect
libopencv-objdetect2.4v5 - computer vision Object Detection library
libopencv-ocl-dev - development files for libopencv-ocl2.4v5
libopencv-ocl2.4v5 - computer vision OpenCL support library
libopencv-photo-dev - development files for libopencv-photo2.4v5
libopencv-photo2.4v5 - computer vision computational photography library
libopencv-stitching-dev - development files for libopencv-stitching2.4v5
libopencv-stitching2.4v5 - computer vision image stitching library
libopencv-superres-dev - development files for libopencv-superres2.4v5
libopencv-superres2.4v5 - computer vision Super Resolution library
libopencv-ts-dev - development files for libopencv-ts2.4v5
libopencv-ts2.4v5 - computer vision ts library
libopencv-video-dev - development files for libopencv-video
libopencv-video2.4v5 - computer vision Video analysis library
libopencv-videostab-dev - development files for libopencv-videostab2.4v5
libopencv-videostab2.4v5 - computer vision video stabilization library
libopencv2.4-java - Java bindings for the computer vision library
libopencv2.4-jni - Java jni library for the computer vision library
opencv-doc - OpenCV documentation and examples
python-opencv - Python bindings for the computer vision library
php-facedetect - Detect faces with PHP
libcv-bridge-dev - cv_bridge Robot OS package - development
libcv-bridge1d - cv_bridge Robot OS package
libimage-geometry-dev - image_geometry Robot OS package - development
libimage-geometry0d - image_geometry Robot OS package - runtime
python-cv-bridge - cv_bridge ROS package - Python bindings
python-image-geometry - image_geometry Robot OS package - Python bindings

++
Benjamin

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list



--
http://fdch.github.io/tv