-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
New One Euro Filter Feature #172
base: dev
Are you sure you want to change the base?
Conversation
I implemented a new filterMat2 function and testing inside the getNFTmarkerInfo function. When the marker is detected i receive an error that |
- values from quaternion are not normalized
…lkitNFT into feature-oef-c++
values passed to the filter function (internally in filterMat2) are not in the range 0.0f - 1.0f that's why the error |
Testing without FILTERING enabled, so trans values passing only to OEF. In the log console pose matrix is a series of NaN values, that confirm values(quaternions and positions) need to be in range 0.0-1.0. |
I will try to implement a simpler function with resetted time values in Rangers between 0.0 and 1.0? |
I started to add the OEF into the WebARKitLib core. I think that the filtering process should be done inside the worker to improve fps performances.
The C++ code is a single header library, in this way it's not necessary to add to the source and compile into libar.bc.
I'm still testing the code so things could changes frequently. Anyway if you are interested i'm using emsdk 3.1.9.
For anyone interested, you can find the original code at this address: http://www.lifl.fr/~casiez/1euro/OneEuroFilter.cc