SwiftOSC | Open Sound Control client and server framework | Audio Utils library
kandi X-RAY | SwiftOSC Summary
kandi X-RAY | SwiftOSC Summary
SwiftOSC is a Swift Open Sound Control (OSC) 1.1 client and server framework.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of SwiftOSC
SwiftOSC Key Features
SwiftOSC Examples and Code Snippets
Community Discussions
Trending Discussions on SwiftOSC
QUESTION
Using ARKit for facetracking, I get faceAnchor (ARFaceAnchor) as soon as the face is detected, which provides a simd_float4x4 matrix. I know about transformation matrices, and am also aware that the topic has been partially addressed (here: How to get values from simd_float4 in objective-c , and here: simd_float4x4 Columns), but is there a straighforward way to get yaw/pitch/rool values from the face anchor? (in order to feed my y/p/r values in the code below).
...ANSWER
Answered 2021-Apr-28 at 09:41As there is apparently not (yet) a function provided by Apple for that purpose, it is a priori required to implement quaternion to euler angles computation. With these mathematical resources, and a radian-to-degrees conversion function, this can be implemented as an extension, as follows:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install SwiftOSC
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page