Very nice, as usual
If your PS3 camera is updated with firmware v1.54 which includes UVC (USB Video Class) you should be able to use OpenCV or EscApi.
OpenCV includes webcam hardware settings, EscApi does not.
There are UDF's for both available at autoitscript.com...
(read further down the thread about webcam)
Take a look at MouseCoordMode() in the helpfile.
By default it uses absolute screen coordinates but can be changed to relative coords to the active window.
Google translate just in case...
Schauen Sie sich MouseCoordMode () in der Hilfedatei an.
Standardmäßig werden absolute Bildschirmkoordinaten verwendet, diese können jedoch in relative Koordinaten zum aktiven Fenster geändert werden.
Ahh, yes ofcourse, thanks for the correction
I have a wierd behaviour here, if i try and add the confidence/angle stuff, only the confidence seem to work, angle is stuck at zero.
Do you know what's going on ?
It's this part of the code, where i added the drawstring line.Code_GDIPlus_GraphicsDrawRect($hGraphics, $aFaces[$i], $aFaces[$i], $aFaces[$i], $aFaces[$i], $hPen)_GDIPlus_GraphicsDrawString($hGraphics, "confidence: " & $aFaces[$i] & @CRLF & "angle: " & $aFaces[$i], $aFaces[$i] + 4, $aFaces[$i] + 4, "Arial", 16)_GDIPlus_GraphicsDrawEllipse($hGraphics, $aFaces[$i][6 + $j * 2], $aFaces[$i][7 + $j * 2], 4, 4, $hPen2)
/edit, just just tried adding it to my script above, without all the green circles, and there it works, but it doesnt work in your script, confusing.
/Edit2, Disregard, i found the reason, it only shows angle in mode 3 and 4, not 1 and 2. sorry for the inconvenience.
Here's an example of Live WebCam Tracking using EscApi.dll (attached), place in same folder as Eukalyptos script.
Webcam obviously required :p
Could be used for controlling stuff with your head, I'm gonna play around with Irrlicht and control a 3D model of a head, with my headC
Hello, I've been reading around here for long, although I dont speak much german, can read about half of it, but will be posting in english, I know many/most/all of you speak english fine, I recognize many of you from Autoitscript.com.
I'm from Denmark so had one year of german in school, but that's many years ago, ohh, and I was watching "Der Alte" on television, those were the days.
well, Hi again all
Ahh, i see, thanks, very interesting it finds the angle of the face, gonna play around with it some more.
Awesome, worked 9 out of ten times i tried, on a highres image of Sinead O'Conner it found a face inside her left eye.
It worked on UEZ avatar also, 45 confidence.