Plugin For Headtracking with webcam via FaceAPI
1 Attachment(s)
I would like to be able to be able to read the head position (x,y,z) and rotation values (y,p,r) from a webcam using FaceAPI and apply that data to my viewpoint in vizard and I am at a loss as to how to do this.
This video illustrates what I would like to be able to do. http://www.youtube.com/watch?v=uA8ZXPS6onk I have found some google code projects that provide this position and orientation data via a socket but I have never worked with sockets before. http://code.google.com/p/6dofstreamer/ I've attached an image of what the socket outputs. How would I go about either accessing this data from the socket to update the viewpoint, or develop my own faceapi plugin to do this automatically. Many thanks in advance to those more knowledgeable than myself. |
Do you have more information about the FaceAPI socket protocol? Either way, you should be able to use the built-in Python socket module to receive data over the network.
|
Adam, I've sent you a private message.
|
I am trying to work that FACEAPI integration for headtracking via streaming position and orientation data from a socket and can't quite get it to work.
Could you look over my code and let me know what I may be doing wrong? The socket works and I can access the data, but I can't seem to get it to apply to my viewpoint. Thanks, -Adam Code:
# Import Modules |
All times are GMT -7. The time now is 10:40 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC