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
Поддерживаемые устройства:
Google Pixel, Google Pixel XL, Samsung Galaxy S8
(Https://developers.google.com/ar/discover/)
========
Расстояние вычисляется по ОМУ ти TZ два позы. По моему опыту, я использую Google Pixel, иногда результат Arcore только 1 ~ 2 см отличается от результата линейки в реальном мире, но иногда два результаты будут отличаться от более чем 10 см.
========
Эта версия заменить ARCORE на ARCORE для всех, в этом GitHub (https://github.com/tomthecarrot/arcore-for-all) для неподдерживаемых андроид устройств.
Постскриптум не работает на моем Nexus 5X.