hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
MIT License
2.24k stars 417 forks source link

3D-Object keeps flickering #204

Closed LoyleCarner closed 2 years ago

LoyleCarner commented 2 years ago

https://user-images.githubusercontent.com/93661060/174621230-e42d1959-0719-437b-8875-7e1ed7d8f4c9.mp4

As you can see in the screen recording the 3D-Object somehow keeps flickering. I happens on both laptop and phone (iPhone 11), however it's worse when I use my phone. I´ve tried to calm it down by using the filter but it's only helping a bit.

Anyone got a clue what I can do about it?

(put my code in here without the "node_modules" folder because it's too big) ar.zip

LoyleCarner commented 2 years ago

Changed the missTolerance to "5" but now there's a mad jitter.

DouglasLapsley commented 2 years ago

Have you tried these settings? https://hiukim.github.io/mind-ar-js-doc/quick-start/tracking-config Looks like maybe your warm up and miss tolerences could be tweaked a bit.