• Stars
    star
    215
  • Rank 182,949 (Top 4 %)
  • Language
    C++
  • Created over 6 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This is a Android Augmented Reality APP based on ORB-SLAM2 and OpenGL,which can work well on both outdoor and indoor environments

ORB-SLAM2-based-AR-on-Android

Introduction

This is a Android Augmented Reality APP based on ORB-SLAM2 and OpenGL. The demo video can be found in the links below.

Notice

We thank the great contribution of @maximaging.

This project may be out of date, and I am not work on SLAM for a long time, so you can disscuss with @maximaging if you have any issues or questions.

Demo Videos

ORB-SLAM2   ORB-SLAM2   ORB-SLAM2

Dependencies & Installation & Usage

To run this APP you need to copy the ./SLAM folder into your mobile phones, which contains the vocabulary file(ORBvoc.bin) and camera Calibration file(mi6.yaml). Then you need to change the 20th row in the ./app/src/main/cpp/native-lib.cpp to configure the correct path in your phone. You may also need to calibrate your phone's camera for better performance. More details of camera calibration can be found on google.

ORB_SLAM2::System SLAM("/storage/emulated/0/SLAM/VOC/ORBvoc.bin","/storage/emulated/0/SLAM/Calibration/mi6.yaml",ORB_SLAM2::System::MONOCULAR,false);

Due to the project is based on ORB-SLAM2, OpenCV4Androi is needed. Other third part dependence like g2o, Eigen, DBoW2 are all included in the project. As for the IDE, Android studio 2.5 or higher version is recommended.

To compile the project you may need to edit some configurations in the CMakeLists.txt file, which is in the path /app/CMakeLists.txt

Due to the diversity of Android system version, I am not sure weather my configuration can work well on other Android devices. So you may also need to change some configurarions in the AndroidManifest.xml to make sure that the app have the authority to use the camera and file system.

Framework & Results

The system is consisted of two parts, the ORB-SLAM2 part is ported from FireStoneYS' profile, which is used to get the camera's pose matrix. The other part is the OpenGL Rendering module, which use the pose matrix to render the 3D object(the earth in this project).

The ORB-SLAM2 system requires lots of computing resources, So this APP can only achieve nearly 10 fps on the MI6 with a snapdragon 835 CPU.

More Repositories

1

JavaWeb-Documents-Management-System

本项目是使用JavaWeb技术实现一个简单的文章管理系统(新闻管理系统)其中主要功能如下: 用户和管理员登录 用户发布新文章、文章详情查看、文章修改、文章删除与恢复 用户查看他人对自己授权的文章及其文章信息 用户将自己的文章对他人进行授权 管理员对普通用户新发布的文章进行审核和删除 管理员查看普通用户发布的所有文章及其详情 管理员发布新文章 使用的主要技术有: JavaEE、JDBC、AJAX、JSP、JavaBean 本项目开发环境为: Intellij IDEA 2016.3 Tomcat 8 JDK 1.8 MySQL 5.5
JavaScript
209
star
2

FTP-client-and-server-use-JAVA

这是一个使用java socket编程实现的项目,包含一个ftp客户端和一个ftp服务器端,主要是学习作用
Java
69
star
3

pytorch-Deep-Steganography

core code for High-Capacity Convolutional Video Steganography with Temporal Residual Modeling
Python
49
star
4

JavaWeb-Picture-Management-System

这是一个使用Javaweb技术实现的图片管理系统,主要功能有图片的上传下载、分类浏览、搜索、管理员登录和图片删除等
Java
26
star
5

Association-rule-mining-with-Apriori

使用Apriori算法进行频繁项集的挖掘以及关联规则的挖掘
Java
23
star
6

pytorch-DCGAN-Humanface

Pytorch implementation of Deep Convolutional Generative Adversarial Networks (DCGAN) for humanface datasets, which can genarate some beautiful girls' face.
Python
17
star
7

Back-Propagation-Neural-Network

this project is written by JAVA, and it implemented a simple BP neural network that can be used for air quality analysis. the dataset is in the "AirQualityUCI.data"
Java
6
star
8

adv_cross_modal_hashing

Efficient Fine-Grained Visual-Text Search Using Adversarially-Learned Hash Codes, IEEE ICME 2021.
Python
4
star
9

pytorch-MedQA

Python
2
star
10

hyperplane-google-winter-camp

Python
2
star
11

resume

我的简历
HTML
1
star
12

TrainTicket

一个使用Java和Access数据库实现的火车票查询程序
Java
1
star
13

flower_classification

花朵五分类
Python
1
star
14

pytorch_SSRP

Unofficial implementation of NeurIPS2020 paper ''Self-Supervised Relationship Probing''
Python
1
star
15

muziyongshixin_hexo.github.io

木子的个人博客
JavaScript
1
star