Vous êtes ici : Accueil > Linux > QMotion

us QMotion : Detect motion with your webcam.

fr QMotion : Détection de mouvement avec votre webcam.

Documentation générée avec doxywizard.

Capture d'écran


screenshot fr

Code source

Astuces

Transformer les images en film avec Linux


mencoder "mf://*.png" -mf fps=5 -o qmotion.avi -ovc lavc -lavcopts vcodec=mpeg4
ffmpeg -i qmotion.avi -i music.mp3 qmotion.flv
ffmpeg -i qmotion.flv -c:v libx264 -c:a aac output.mp4

Regardez bien l'heure défiler, vous contaterez qu'il n'y a des images que si détection de mouvement.

Version Microsoft Windows

Prérequis pour compiler sous Debian / Ubuntu


1) Installler la bibliothèque Open Computer Vision
sudo apt-get install libcv-dev libcv0.9.7-0 libcvaux-dev libcvaux0.9.7-0 libhighgui-dev libhighgui0.9.7-0 opencv-doc

Pour Ubuntu < 10.10 :
sudo apt-get install g++ libcv-dev libcv1 libcvaux-dev libcvaux1 libhighgui-dev libhighgui1 opencv-doc

Pour Ubuntu 10.10 :
sudo  apt-get install g++ libcv-dev  libcvaux-dev libhighgui-dev  opencv-doc

Pour Ubuntu 12.10 (en cours de test, les paquetages sont "broken") :
sudo aptitude install g++ libcv-dev libcvaux-dev libhighgui-dev opencv-doc

Pour Ubuntu 15.04
sudo aptitude install g++ libcv-dev libcvaux-dev libhighgui-dev opencv-doc libopencv-dev

Pour Ubuntu 17.10
sudo aptitude install g++ libopencv-dev

Compilation


tar zxvf qmotion-3.0.tgz
cd qmotion-3.0
qmake
make
./qmotion

Internationalisation (i18n)

Si vous voulez avoir qmotion dans votre langue, installez la plateforme de développement QT sous Linux ou Windows, puis :

Distributions Linux

Remerciements

logo  hibou

Comment installer sa QuickCam logitech

Vous trouverez des infos interessantes sur ma page dédiée aux webcams.