I've been really enjoying the face detection nodes, now trying to work out how to get rotation values... This could be a feature request..for an OpenCV solvePnP node, unless someone who's good at maths can do it already.... https://www.learnopencv.com/head-pose-estimation-using-opencv-and-dlib/
Component:
Moderator note:
Relocated here from elsewhere on vuo.org
Comments
Joe,
Joe,
You can make a vector from the relative positions of the eyes, then use Make Quaternion from Vectors to calculate the vector's angle. Here's a composition to get you started.
face-angle.vuo
Thanks for the reminder of
Thanks for the reminder of Quaternion from Vectors Jean Marie I don't think I can make what I want with that method though. What I wish for is a 3d orientation of the head in the same way as FaceOSC delivers.
We could integrate
We could integrate FaceTracker into Vuo, since it uses a compatible license. Would you like to create a feature request?
That would be great!
That would be great! One caveat though, please keep the nodes you have already as they are efficient for 2d compositions. FaceOSC relies on really good even lighting to register a face, I guess this is an underlying characteristic of FaceTracker.
Joe,
Joe,
We changed this to a Feature Request and opened it for voting.