Prev Case

AR/VR: Distorted Visuals Simulator for Drivers

Next Case

Industry: Automotive, AR/VR

Highlights

  • An application featuring five major visual distortion flters (latency vision, swirl, blur, vignette,
    and double vision) and their combinations
  • Real-time streaming to glasses of virtual reality, compatibility with Google Cardboard and Samsung Gear VR

Technologies Used: Android, GPUImage for Android, Java, NativeStackBlur, OpenGL ES, Google VR SDK

Methodology: Agile

Customer

The customer is a global automobile consortium, which also has a driving school of its own. At the school, teenagers can gain and improve their skills of safe driving at no cost. The training are conducted by professional tutors all over the world. The program under those trainings embraces four key areas that are critical factors in more 60% of car accidents: hazard recognition, vehicle handling, speed management, and space management.

Need

When the customer turned to HQSoftware, one of the activities under the safe driving program was distorted driving. It helped the students to understand what physical difficulties a drunk driver experiences and where it may bring him. For that purpose, the trainees put on darkened-lens glasses and tried to cover a distance with obstacles on the way.

Business Value of AR in Media & Entertainment

How do modern businesses use AR to increase their revenues and outperform their industry competitors?

Download the whitepaper

whitepaper

The customer wanted to bring the experience closer to reality and develop an application that would simulate visual disruptions when intoxicated. The application should run on Android devices transmitting distorted visuals to glasses of virtual reality (Google Cardboard, Samsung Gear VR).

Challenges

In the course of the project, development team at HQSoftware faced the following challenges:

  • the application should apply distortion filters, while the image is streamed by the virtual reality glasses in real time.
  • when the project kicked off, Samsung Gear VR was a brand new technology and our developers had to enable smooth app integration into its ecosystem.

Solution

The delivered application simulates five major distortion effects: latency vision, swirled, blurred, vignette, and double vision. In addition, a user can choose from a combination of these effects, as well as tune any of them.

drunk driver vr mobile application

With the OpenGL ES API, engineers at HQSoftware enabled the application to overlay visual distortion filters in real time. This API was also customized to deliver most of the filters themselves. The blur filter was developed using the NativeStackBlur library. To create a vignette effect, our specialists utilized the GPUImage library for Android.

Furthermore, development team at HQSoftware wrote an algorithm that puts the streamed images into a queue and transmits it back with the a delay at pre-set time intervals.

By exploring under-the-hood mechanisms of Samsung Gear VR, engineers at HQSoftware successfully implemented the application into Gear VR’s ecosystem.

Outcome

Cooperating with HQSoftware, the customer delivered an application that simulates visual distortions of an intoxicated driver and overlays them on the image streamed to the virtual reality glasses in real time. At the moment, the pilot version features five major filters (latency vision, swirl, blur, vignette, and double vision) and their combinations that can be further tuned.

Now, the application is available for Android devices and is compatible with Google Cardboard and Samsung Gear VR glasses.

Read more about our AR and VR development services.

Check Out Other Works

See How We Approach Business Objectives

AR-Equipment-Maintenance
AR/VR: AR Mobile App for Equipment Maintenance
ar app for marketing
AR/VR: Developing an AR Platform for Marketers and Creatives
AR business card
AR/VR: Sales Department Business Card

Business Value
of AR in Media &
Entertainment

Business Value of AR in Media & Entertainment

How do modern businesses use AR to increase their revenues and outperform their industry competitors?

Download the whitepaper

Kick Off With Your Project Today



*Required Fields
Attach File

Let’s talk about your business needs and figure out the best solution. Just fill in this form and get a free individual proposal from your personal manager.

Sergei Vardomatski - Founder - HQSoftware dev company

Sergei Vardomatski

Founder