-
Notifications
You must be signed in to change notification settings - Fork 20
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
add ar2Tracking to fixing-nft #3
Conversation
Ok, I will re-compile it on unix (I have mac) and do some tests with the file we are testing with before (nft_threejs.html and similar). My tests will be done with smartphones (android for now, then also ios), the most useful use case. Let you know, thanks in advance for your contribution! |
Unfortunately, the first test did not give good results.
@misdake do you have time to reproduce this very same test, with a smartphone, and tell me if you got good performances, as we saw on your videos from the other discussion (by the way, they seems sooo promising)? thank you so much |
I'm on mac, I do not have edited makem.js or anything else, just the steps above. |
Lag comes from slow kpmmatching runs. if it is tracking, frame rate will be much higher. |
@nicolocarpignoli see comment above for the lag issue. |
Hi @misdake thank you for this PR. I hope to test this soon. |
@misdake i can see that there is a |
@misdake can you update the first post with all the examples you provided? |
Yea, uploading all the examples file will be great! |
I've cleaned the code, here is the source of my demos. Content also got uploaded to server, links: |
Demos are updated with threejs rendering (sphere): (index) screen capture: https://imgur.com/BciDGxo demo: camera input, worker, threejs rendering code: jsartoolkit.zip |
Thank you @misdake i will try as soon as i can! |
Thanks @misdake ! We can try and do some tests, if works great we can merge this PR, and continue testing/working on this. I will not delay too much this merge so we can focus on just ONE version |
reporting misdake implementation details by him:
|
Hi @misdake the last example works very good! ( at least on Android) can you push all your examples in this PR? Edit: maybe nft_improved_worker is better |
Many thanks @misdake! i will test/check this evening! |
HOLY SHIET! It almost works. It works better, but it has a bit hard time to show it. I tested this on firefox, and it is the same in my chrome. My smartphone is: Like there needs to be either very great lighting and no disturbances to the picture. |
@commentatorboy I found great results in androids. Yes, and i'd like to say to everybody: don't mind the initial lag. It's slow because it's loading image descriptors (aka the data that needs to recognize a specific image, when scanned). It's not a great time, that computation is heavy, in fact. Will let you know about iphones bad performances |
Thanks for testing @commentatorboy ! 😄 |
Didn't see your comment @nicolocarpignoli because i didn't refreshed the page... your explanantion is better than mine! |
Closing this one: modifies are now on fixing-nft branch (principal one). We can continue discussin on that. |
@kalwalt No it is the same browser it was Firefox. Just showing that it some times worked |
There is no change to the original artoolkit5 repo, because I've copied ar2Tracking2dSub/ar2CreateHandle/ar2CreateHandleSub into this repo.
note:
I built js & wasm files in windows environment based on this modified makem.js file here, based on here. This modified file is not in this pr.
I added tracking2d.c to maken.js in this pr, you should be able to rebuild with it in linux/mac environment.
EDIT: (~nicolocarpignoli) I will report original @misdake posts in other thread, with live demos: