Augmented Reality Project- A TCW Case Study

TheCodeWork
6 min readSep 22, 2021

Welcome back to the series of Augmented Reality blogs! Here we present to you the Augmented Reality Project- A TCW Case Study. Wait, are you new here? If yes, then I would like you to check out our previous two blogs on the fundamentals and rising demand of augmented reality as well as its growing influence in business.

Here you go:

Now see, the purpose of this whole AR flow in our blog section is to introduce you to the growing influence of Augmented Reality in the world of business and how we can help you be a part of that niche.

So our dedicated Android development team has been working on some AR applications and integrated various operations into an APK format. And I am more than thrilled to share that workflow and snippets with you.

Are you ready to take a peek into the most wanted tech trend ever? Here we go!

Overview of the Augmented Reality Project

This case study is written under the supervision of the Android development team at TheCodeWork. They have been researching and working on the project for months and the outcome is as cool as it gets for a first-timer project.

So let’s break it down here. There are three major segments that we have worked on:

  1. Augmented Reality
  2. Instant Placement
  3. Augmented Image

All these 3 segments find use in today’s market and we will discuss every bit of it through a series of case studies. Sounds good?

Now, here we are going to talk about the Augmented Reality case study, so stay with me till the end of the article, will you?

About the Augmented Reality Project

ARCore

ARCore is a platform by Google to build Augmented reality experiences. Using various APIs, ARCore equips your device/phone to sense its surroundings, comprehend the world around it and engage with the available information.

Some of these APIs are readily available across iOS and Android platforms to permit an overall AR experience.

ARCore does two major things:

  • Tracks the location of the device while it moves.
  • and builds its own comprehension and experience of the real world.

Well, the motion tracking technology of ARCore, utilizes the device’s camera to locate intriguing points or as we call them — features. It keeps tracking down thesefeatures and their movements over time.

With the help of these features and tracking data, the ARCore defines the orientation and position of the device, as it moves around in space. Also, this platform has the ability to identify flat surfaces, like a floor or a table, and determine the overall lighting in the surrounding area.

These abilities help the ARCore develop its very own understanding of the real world. Consequently, this allows you to place annotations, objects, or various other data in a way that blends with the real world. How cool is that?

For example, we have worked with an astronaut in our project, which we can place on any plane.

With the help of the Motion Tracking technology, we can view this astronaut (any given object or annotation) from any angle and its location would remain the same. Yes, it will stay at the same place even if you leave the room and come back after a while. See the magic?

To use the Google Play Services for Augmented Reality, you will firstly need an Android device and that too with the following features:

Google Play Services for AR, installs AR experiences for your device using applications that are built for Google’s AR platform as a target. Check this list out:

Check out the following steps to install

  • The API level in use has to be Api 24, Android 7, or above.
  • The Android Studio version must be 3.1 or even higher for every case of Augmented Reality Apps.
  • Add Sceneform tools in Android Studio Under Plugin.
  • In build.gradle of App, add a Sceneform UX library.
  • Add Sceneform plugin.
  1. Import the Sceneform plugin
  2. Convert the model
  3. Configure your project’s build.gradle files
  4. Update your AndroidManifest.xml
  5. Load Model
  6. Create model renderables
  7. Build the Augmented Scene
  • Under res folder- create raw resources folder
  • import sceneform asset (.sfb) in raw folder
  • Jot down the code in MainActivity as shown in the tutorial.

Now, we have finally initialized the fragment, loaded a model, and attached the scene to the node.

Sceneform is basically a 3D framework. It makes the process of building ARCore applications easy and smooth, that too without OpenGL. In the project, we have used the 1.15.0 version of google.ar.sceneform.ux:sceneform-ux.

We are using,

You will see the astronaut model on the plain surface.

The applications of this project are readily targeted at the following industries:

  • Gaming: Augmented Reality is being actively used in the gaming industry. For example — Pokemon Go

2. E-commerce: Big brands like Ikea, Flipkart are also using AR apps to deliver better user experience.

3. Education: The Edutech industry is using AR apps to make education more viable for the students.

4. Design: Design and architechture has become easier and better with the AR approach.

5. HealthTech: Ofcourse the health tech industry is using AR and it’s the best approach in a pandemic ridden world. Don’t you think?

6. Military: And lastly, even the US military is using AR apps to train the new regiment with a better experience to deliver. How about that?

We saw this notification saying:

“Plugin Error: Plugin “Google Sceneform Tools (Beta)” is incompatible (supported only in IntelliJ IDEA).”

Our future plan for this project is to move around the 3d model by a show of the fingers or hand gesture from a distance. Yes, without touching the screen. Wish us luck, will you!

It took us around 3–4 weeks to research, learn compile and bring forth the whole project.

Conclusion

Augmented Reality is the future and the world is embracing it already. This is just a small attempt by us at TheCodeWork to integrate AR in mobile applications for the ease of doing business.

We are on a journey to make the path to success much easier and viable for startups. So if you are an entrepreneur who needs a tech team or is stuck with an awesome business idea in mind, then do reach out to us at TheCodework. Because we are here for you!

Originally published at https://thecodework.com on September 22, 2021.

--

--

TheCodeWork

TheCodeWork is a team of innovative problem solvers, who look into various aspects of business and build solutions to simplify them with tech.