Visual Positioning System (VPS) in Mobile AR App

NOVASOLUTIONS.TECHNOLOGY is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Visual Positioning System (VPS) in Mobile AR App
Complex
from 2 weeks to 3 months
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1054
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Visual Positioning System (VPS) Implementation in Mobile AR Applications

GPS provides 3–5 meter accuracy. For AR experiences in urban environments, this is catastrophically insufficient: overlaying navigation arrows over a specific building entrance or showing AR annotations above the right sculpture in a museum courtyard with 5-meter error is impossible. VPS solves this: user points camera at surroundings, algorithm matches frame against pre-recorded visual map and returns position with 10–30 centimeter accuracy.

How VPS Works

Two stages: mapping (offline) and localization (online, real-time).

Mapping. Space or outdoor zone is scanned: operator with phone or specialized rig walks entire area, recording video. Key frames extracted from video, Structure from Motion (SfM) algorithm runs—builds sparse point cloud and set of 6DOF camera poses. Feature point descriptors (ORB, SuperPoint + SuperGlue for better precision) indexed in database for fast lookup.

Localization. Phone records frame, sends to server (or processes locally on powerful devices). Image retrieval algorithm finds nearest key frames from database → PnP (Perspective-n-Point) computes camera pose → returns 6DOF transform. All within 200–500 ms with server processing.

Providers and SDKs

Provider Coverage Offline Accuracy
Google ARCore Geospatial API Cities with Street View No ~10–30 cm
Immersal SDK Custom maps Yes (device) ~2–5 cm
Niantic Lightship VPS Lightship wayspots No ~10–20 cm
Apple ARKit + GPS Outdoor, iOS only Partial ~1–3 m
Microsoft Azure Spatial Anchors Custom No ~1–5 cm

For custom closed spaces (museum, office, warehouse)—Immersal. For urban AR experiences on iOS—ARCore Geospatial API or Niantic VPS. Azure Spatial Anchors good with Azure infrastructure integration.

Integrating Immersal into Native App

Immersal provides REST API for cloud localization and Unity SDK—latter unneeded, work natively.

iOS: HTTP request to https://api.immersal.com/localize with JPEG frame and camera intrinsics → JSON response with pose in map coordinate system → convert to ARKit world space via matrix transformation.

struct LocalizeRequest: Encodable {
    let token: String
    let fx, fy, ox, oy: Double  // camera intrinsics from ARCamera.intrinsics
    let image: String            // base64 JPEG
}
// Get mapToWorld matrix, apply to ARSession.currentFrame

Android: similarly via retrofit2 + moshi, camera intrinsics from CameraCharacteristics.

Run localization not on every frame (that's 200 ms latency)—trigger on 1+ meter position change or ARCore tracking loss.

Building Visual Map

Immersal scanning: specialized Immersal Mapper iOS app, or custom script via REST API. Filming requirements: frame overlap 60%+, uniform lighting, full coverage of user routes. For large space (3-floor mall)—several hours operator work.

After uploading video to Immersal: SfM processing 30–120 minutes, get mapId. On interior update—rescan changed zones, merge with existing map via Immersal Console.

Timeline

ARCore Geospatial integration for urban AR experience: 2–4 weeks. Custom VPS with Immersal for closed space including scanning: 4–8 weeks. Own VPS server based on HLoc (hloc + SuperPoint + SuperGlue + Colmap) without external dependencies: 3–5 months. Cost calculated individually.