When surface detection finish,
click the surface to add cube,
scroll to move selected cube,
click cube to change selection.
The bottom of the screen will show the distance of each cube.
Demo video:https://youtu.be/-7hDq9rnzjI
Supported devices:
Google Pixel, Google Pixel XL, Samsung Galaxy S8
(https://developers.google.com/ar/discover/)
========
Distance is calculated by the tx ty tz of two pose. In my experience, I use Google Pixel, sometimes the result of arcore is only 1~2cm different from the result of a ruler in real world, but sometimes two results will differ by more then 10cm.
========
This version replace ARCore to ARCore-for-all in this github (https://github.com/tomthecarrot/arcore-for-all) for unsupported android devices.
P.S. not work on my Nexus 5X.
Apabila pengesanan kemasan permukaan,
klik permukaan untuk menambah kiub,
tatal ke bergerak kiub terpilih,
klik kiub untuk menukar pilihan.
Bahagian bawah skrin akan menunjukkan jarak setiap kiub.
video demo: https: //youtu.be/-7hDq9rnzjI
Peranti yang disokong:
Google Pixel, Google Pixel XL, Samsung Galaxy S8
(Https://developers.google.com/ar/discover/)
========
Jarak dikira dengan ty tx yang tz dua menimbulkan. Dalam pengalaman saya, saya menggunakan Google Pixel, kadang-kadang hasil daripada Arcore hanya 1 ~ 2cm berbeza daripada hasil daripada pemerintah di dunia sebenar, tetapi kadang-kadang dua keputusan akan berbeza sebanyak lebih daripada 10 sentimeter.
========
Versi ini menggantikan Arcore untuk Arcore-untuk-semua di github ini (https://github.com/tomthecarrot/arcore-for-all) untuk peranti android yang tidak disokong.
P.S. tidak berfungsi pada Nexus 5X saya.