ARCore for Android & Tensorflow Lite

本文档是一系列关于AR学习的笔记,主要介绍如何在Android上使用ARCore和Tensorflow Lite。首先按照官方指南设置环境并运行ARCore示例,接着详细讲述了如何安装Tensorflow并运行Android演示应用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Getting Started - ARCore for Android & Tensorflow Lite


Launching for AR!! This is going to be a series of AR learning notes, it’s about sharing and learning.

ARCore for Android

Generally, I followed the official guidelines to setup the environment and run the samples.
ARCore - Quickstart for Android

Note that if you don’t have an Android device, please turn to the second part in the link above first and install a higher version of Android studio.
Prepare device or emulator

For me, I need to run ARCore in an emulator so I installed Android Studio 3.1 RC 2. (I didn’t install Canary 6 because I thought 3.1 RC might be a little more stable than the latest one.)

Just follow the instructions and have fun.
Tips: As you move your device, the app automatically detects flat surfaces and draws a diamond grid. Tap the grid to place an Android robot on the surface.
hello_ar_java

Tensorflow Lite

It takes a while for me to succesfully run tensorflow
If you fail, there could be tons of reasons in every single step. But it’s nothing hard if you just stick to the guidelines.

1. install tensorflow

Follow the instructions here

For ubuntu users [install tensorflow on ubuntu]

For windows users [install tensorflow on windows]
For macOS users [install tensorflow on Mac]

2. Run android demo app

I recommend that you follow the documentation on GitHub instead of the one on website to run demo android app, as it’s clearer about certain details, at least for me in this case.

On GitHub github documentation-tensorflow

On website tensorflow-getting started

注: 如果想看中文的朋友可以留言我以后会加中文!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值