Highlights
Need
Help the students to understand what physical difficulties a drunk driver experiences
Solution
VR app that simulates visual distortions of an intoxicated driver
Results
87%
user engagement rate
Improved
safe driving skills
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.
Need to create a VR training solution? We’re ready to help!HQSoftware has a team of skilled professionals ready to tackle the project. Ask me!
Anna Halias
Business Development Manager
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.
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.
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.
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.
Read more about our AR and VR development services.
We are open to seeing your business needs and determining the best solution. Complete this form, and receive a free personalized proposal from your dedicated manager.
Sergei Vardomatski
Founder