OpenCV - Head Tracking with webcam

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,212
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 13, 2009

[follow English description]

... ovvero, muoversi in una scena 3D spostando la propria testa, seguita dalla webcam.
Il filmato ne è il risultato.
La parte in OpenGL (quella che si vede nel video) è stata recuperata da un vecchio lavoro e sarebbe da rifare... prossimamente, in una seconda versione!
Progettino realizzato (velocemente, devo dire!) per un corso universitario grazie alla librerie OpenCV e OpenGL.

A little project realized for the course of Computer Vision at Politecnico of Turin with OpenCV and OpenGL.
In this video, you can see the movement of the virtual scene based on head position.
I'm working on an improved version of this program...

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • Al momento, purtroppo, non è possibile scaricare il mio programma (anche perché ne sto facendo una versione migliorata); però se scarichi le OpenCV, all'interno puoi trovare un programma che rileva la testa ma non ne segue i movimenti...

  • Ciao!

    Questo programma è fatto da due parti: una in OpenCV e una in OpenGL. Semplicemente, prende l'immagine dalla webcam (o da un filmato qualsiasi), cerca un volto e sposta l'osservatore della scena OpenGL in base a come si sposta la testa.

  • ciao,mi potresti dire come funziona questo programma e se è possibile da scaricare e dove.

    grazie.ciao!!!

  • If u use the function cvHaarDetectObjects() in the "find face" method, u can try to set "CV_HAAR_FIND_BIGGEST_OBJECT" as the 6th parameter, i.e.:

    CvSeq* faces = cvHaarDetectObjects(img, cascade, storage, 1.1, 5, CV_HAAR_FIND_BIGGEST_OBJECT, cvSize(60,60)).

    This video is made in this way.

    Otherwise, u can convert the image to gray, scale it down, equalize it and use canny pruning in 6th parameter of cvHaarDetectObjects().

    Hope this help u! ;)

  • HectorUch123 writes:

    Great, i trying to do the same with opengl and opencv on linux, but it is getting to slow , how did u make it fast?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more