Posts

Post not yet marked as solved
3 Replies
I'm new to Swift plz have patience. Can you explain in detail how you get the coordinates and rotation values of the faceAnchor? I'm able to access the faceAnchor.transform for each value but that is a 4x4 matrix. What do those numbers mean? The (documentation on ARFaceAnchor - https://developer.apple.com/documentation/arkit/arfaceanchor) just vaguely says that it describes the "face’s current position and orientation in world coordinates". I get that everything is relative and the coordinates are in relation to some defined coordinate system, but what ARE the points ya know? In my head, it only requires 6 values to define an object in 3D space: x, y, z, and a vector of 3 values to explain the rotation. I also understand that there is gimbal lock which is probably why there are more than 6 values. So what exactly are the values in the faceAnchor.transform and how do I extract the x, y, z and rotation? Thank you.
Post not yet marked as solved
3 Replies
You must use virtualenvPlease see the solution here https://stackoverflow.com/questions/54166644/keras-mlmodel-coreml-object-has-no-attribute-convert/57816724#57816724