-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: exposing OpenCV's solvePnP() #24
base: main
Are you sure you want to change the base?
Conversation
@@ -21,6 +21,8 @@ NS_SWIFT_NAME(Posemesh) PSM_API @interface PSMPosemesh : NSObject | |||
- (BOOL)sendString:(NSString*)string withAppendedTerminatingNullCharacter:(BOOL)appendTerminatingNullCharacter toPeerId:(NSString*)peerId usingProtocol:(NSString*)protocol; | |||
- (BOOL)sendString:(NSString*)string withAppendedTerminatingNullCharacter:(BOOL)appendTerminatingNullCharacter toPeerId:(NSString*)peerId usingProtocol:(NSString*)protocol withCallback:(PSMPosemeshSendMessageCallback)callback; | |||
|
|||
- (void)pnpSolveForObjectPoints:(float *)objectPoints imagePoints:(float *)imagePoints cameraMatrix:(float *)cameraMatrix outR:(float *)outR outT:(float *)outT; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reminder: maybe these functions that are not network-dependent should be put in a separate class
because Posemesh class initializes networking underneath, but there was a discussion a bit ago that maybe we want to make builds of Posemesh with just the math features enabled (so that will exclude the Posemesh class functionality)
Used for comparison with Ark pose estimator in Unity Posemesh SDK.