Comments (8)
I uploaded 2 videos to show the versions difference clearly. Although in the newer version, the performance is better when the video gets tracked, but the start of tracking itself, is much worse. In the older version the image, starts to track very faster in a more far distance, but in the newer one, you have to place the camera much closer to the marker, or it doesn't track at all.
0.9.7 version: Link
1.6.0 version: Link
from jsartoolkitnft.
Thanks for your response @kalwalt . I will check them tomorrow. I thought the start of tracking markers, happen in kpmMatching function, but I had no luck to find the difference that caused this problem.
from jsartoolkitnft.
I built the WebARKitLib project with the previous Eigen library and still no luck. The behavior is same as before, so the Eigen lib update cannot be the cause of problem. The point that I mentioned before, that the marker gets detected easier at the top of the video frame, gives some guides, and also getting camera closer to marker, causes that a part of marker be placed at the top of the frame. With this reasoning, I think the this issue is due to memory allocation. The comparison of video frame and the markers, just happen at the top of frame, that means the process of comparison only takes place at the beginning part of the frame vector. I still haven't verified the size or allocation of arrays, or compared this in the older and newer versions.
from jsartoolkitnft.
@kalwalt I think I found the main problem. The definition of videoLuma size in ARControllerNFT file (and the similar ones) had an extra 1/4 division. I omitted the division and the behavior got back to normal. I also made a PR on this one.
from jsartoolkitnft.
@kalwalt I think I found the main problem. The definition of videoLuma size in ARControllerNFT file (and the similar ones) had an extra 1/4 division. I omitted the division and the behavior got back to normal. I also made a PR on this one.
@MasoudShah i will review you PR thank you for this!
from jsartoolkitnft.
@MasoudShah Thank you for this, comparing the code of 0.9.7
and 1.6.0
the changes in the code that could affect this, i think the Eigen upgrade in WebARKitLib, and maybe the OneEuroFilter (OEF) routine. Have you tried to disbale the OEF?
from jsartoolkitnft.
I checked it out @kalwalt . Disabling OEF only increases the noise of the video plane, but no effect on start of tracking. I don't know if I'm correct or not, but I feel that the position of the marker has some effect. For example when the marker is at the top of the camera frame, the tracking starts easier; but when it is at the bottom, you have to place the camera too close to the marker to get tracked.
from jsartoolkitnft.
closing because solved with #352 and #353
from jsartoolkitnft.
Related Issues (20)
- Missed libar debug lib
- Code enhancement: add interfaces IARToolKitNFT and IARControllerNFT HOT 1
- loadNFTMarker and loadNFTMarkers in ARControllerNFT.ts are not updated
- remove artoolkitNFT gloabl variable
- Check if deleteCamera exist
- matrixCopy is not required
- Issue with github-action: set-output is deprecated.
- simd vectorization need also other flags?
- Module '"@webarkit/jsartoolkit-nft"' has no exported member 'ARToolkitNFT' HOT 4
- Node.js 12 actions are deprecated. - github action warning.
- Image tracking video with worker examples needed. HOT 2
- Examples not working HOT 4
- About version 1.6.0 wrong version displayed HOT 1
- Verify if detectMarker is strictly needed HOT 1
- emsdk 3.1.50 cause builds errors HOT 1
- emsdk 3.1.40 output stderr printf message as log error messages.
- Implement ThreeJS Interactive + multiple NFT
- Threaded examples not working on mobile browser HOT 3
- Marker detection problem after the first time HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsartoolkitnft.