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.
زمانی که پایان تشخیص سطح،
با کلیک بر روی سطح به اضافه کردن مکعب،
حرکت به حرکت مکعب انتخاب شده،
مکعب کلیک کنید برای تغییر انتخاب.
در پایین صفحه نمایش از راه دور هر یک از مکعب را نشان می دهد.
ویدئو نسخه ی نمایشی کنید: https: //youtu.be/-7hDq9rnzjI
دستگاه های پشتیبانی شده:
گوگل پیکسل، گوگل پیکسل XL، سامسونگ کهکشان S8
(https://developers.google.com/ar/discover/)
========
فاصله است TY زیر آسمون کبود TZ دو مطرح محاسبه می شود. در تجربه من، من استفاده از Google پیکسل، گاهی اوقات در نتیجه آرکوره تنها است 1 ~ 2cm متفاوت از نتیجه یک حاکم در دنیای واقعی است، اما گاهی اوقات دو نتیجه خواهد توسط بیش از 10cm توسط متفاوت است.
========
این نسخه جایگزین آرکوره به آرکوره برای همه در این گیتهاب (https://github.com/tomthecarrot/arcore-for-all) برای دستگاه های پشتیبانی نشده آندروید.
ضمیمه در من برای Nexus 5X کار نمی کند.