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

improving transmatrix and related functions #26

Open
wants to merge 14 commits into
base: dev
Choose a base branch
from

Conversation

kalwalt
Copy link
Member

@kalwalt kalwalt commented Jul 29, 2024

Improving transmatrix and related functions and other improves

This PR try to improve the transmattrix and related functions but also add a bunch of improves in different part of the code.
I have tested the code that use Th Grayscale class and the other: we can exclude that use a different OpenCV code base so i noted that for example with teblid example i got a maximum of feature points instead with the three.js - jsfeatNext example i got much less. I have the suspect that there is a discrepance in the video data ( and this only a js code issue) between the video data passed by the Grayscale.js and the video data (also this in Gray format) from jsfeatNext. I will try to find the reason, if i solve this issue the code will be ready to be released.

@kalwalt kalwalt self-assigned this Jul 29, 2024
@kalwalt kalwalt added enhancement New feature or request javascript Emscripten / C / C++ all about Emscripten labels Sep 14, 2024
@kalwalt
Copy link
Member Author

kalwalt commented Nov 6, 2024

I'm trying to improve the threejs_ES6_example. Now i got maximum of keypoints (1000 frame keypoints) as for the teblid_example. This is an improvement in the issue but still the code not goes in the start tracking phase, What is wrong yet?
I noticed that we get few fps in the worker. and the number of keypoints and matches is always to the maximium. Instead with the teblid example they goes up and down depending on whether the pinball image is scanned or not.

note: if you want to try, you can see the num. of keypoints in the console with other infos.

@kalwalt
Copy link
Member Author

kalwalt commented Nov 6, 2024

I have little test in the chrome performance console and it seems that the

const process = function () {
function doesn't update continuosly the data, and this explains the continuos of same data (num. keypoints) in the console. I will look at how can i make the stream continuos.

- set NONE_BLUR for processFrame
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Emscripten / C / C++ all about Emscripten enhancement New feature or request javascript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant