webarkit / ARnft

A small javascript library for WebAR with NFT
GNU Lesser General Public License v3.0
219 stars 53 forks source link

ARnft and NFTMarker Creator #284

Open Parisa-DolphinSoft opened 2 years ago

Parisa-DolphinSoft commented 2 years ago

Hi I created a js project with react and three.js and arnft (jsartoolkit). I see some problem in arnft performance (or maybe I did not understand How to use correctly) I hope whenever you find the answer help me. This is my email also : vira4.company@gmail.com

I checked this complete example also : https://github.com/webarkit/ARnft

Problems: 1) when I use multiExample (multi picture detection ) ,If I use for example 3 picture on entity list my camera load very very slowly.


2)For high resolution images for example 2k,4k converting images to fset2,iset,fset3 takes too long and if we use a low resolution image Program can not detect We should change size? dpi?dimension? How can we do it better?


3) In https://github.com/webarkit/ARnft or https://www.webarkit.org/tools/nft_marker_creator/ when we upload image we can see that is it possible or not(by star rates) I use this code in my application and want to check by myself , so how can I show the user that image is sutable or not

I used this code for converting jpg to set files: https://github.com/Carnaux/NFT-Marker-Creator


4) getMatrixGL_RH- event does not work for me document.addEventListener('getMatrixGL_RH-' + nft.uuid + '-pinball', function() { console.log('this is pinball!!'); })


5)I test some images that get 2 stars for example ,When I run program can detect very fast I see on logs But It can not show the model for example simple cube on it and I have to closer the camera alot to the target then very very slowly I can see the model on target(marker) shaking. I tested with different images ( detection is not bad but attach model on that images is nor load correctly except pinball image) I do not know why And how to work with this