-
Notifications
You must be signed in to change notification settings - Fork 8
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
Feature enhancement: PnP algorithm for pose Matrix calculation and other functions improves #23
Conversation
I have this issue when the pinball image is tracked:
I dont't get why this happens but i think it's related on how the poseMatrix is passed out. |
WebARKit/WebARKitTrackers/WebARKitOpticalTracking/WebARKitTracker.cpp
Outdated
Show resolved
Hide resolved
WebARKit/WebARKitTrackers/WebARKitOpticalTracking/WebARKitTracker.cpp
Outdated
Show resolved
Hide resolved
- m_camMatrix is filled correctly
- WebARKitTrackingInfo became a class: - new invertPose, setScale, and getScale method for the scale of the pattern - m_camMatrix as Matx33d
I was trying to make WebARKitGL file as only header, but i think it's better to continue with the convention as with other classes files(header and source in .cpp). |
I have implemented the getCameraProjectionMatrix method so we have, in theory, all the "tools" to display a 3d mesh with our own 3d Engine now. |
The action script fails with a seg fault probably because ubuntu need libjpeg or libopenjpeg installed. |
That is not right, otherwise it should fails also before. EDIT: There is already ColorSpace::RGB, no needs to add... |
now the github action si passing regularly, i can add also support to RGB also for the processFrameData, even if i don't know if this will be ever used. |
WebARKit/WebARKitTrackers/WebARKitOpticalTracking/WebARKitTracker.cpp
Outdated
Show resolved
Hide resolved
It would preferable, and this is appliable only to test for linux or Windows or other OS excluded Emscripten, to have an overloaded initTracker function with refData as a |
- new getGLViewMatrix function
- raise min. num. of matches to 8
test failing because i have not updated the tests with the last changes, i will fix it. |
fixed with 63946b4 |
I think that the PnP code could be correct, i tested in the |
PnP code is implemented, merging it. |
From this issue #21 i'm trying to implement the PnP algorithm in our WebARKit project.