Skip to content
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

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Conversation

sasoh
Copy link
Contributor

@sasoh sasoh commented Dec 13, 2024

Used for comparison with Ark pose estimator in Unity Posemesh SDK.

@sasoh sasoh added the enhancement New feature or request label Dec 13, 2024
@sasoh sasoh requested review from robinlindh and jnkvca December 13, 2024 09:12
@sasoh sasoh self-assigned this Dec 13, 2024
@sasoh sasoh marked this pull request as draft December 13, 2024 09:38
@@ -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;
Copy link
Contributor

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants