Icon

How to Use Dead Reckoning for Estimating Camera Latitude and Longitude in Navigation

Learn step-by-step how to use dead reckoning techniques to estimate a camera's latitude and longitude for navigation, using Google Maps and visual clues from your environment. This guide features a real-world example at Hensel Phelps Rady Children's in San Diego.

By Jon

In this guide, we'll learn how to use dead reckoning to estimate the latitude and longitude of a camera at a construction site. We'll use visual clues from a photosphere and compare them with Google Maps to pinpoint the camera's location. This process helps ensure that the recorded position is accurate for future reference.

Let's get started

Hello, everyone. This is an instructional video on using a technique called dead reckoning in navigation to estimate the camera's longitude and latitude. I should say latitude and longitude. Latitude is almost always listed first. We are here at Hensel Phelps Rady Children's.

We are on the Northeast Crane Mast, which is the name of this photosphere.

1
Click on "Hensel Phelps - Rady - NE"
Step #1: Click on "Hensel Phelps - Rady - NE"

We have the viewing port open. The bearing is clearly off. We will make another video to address that. Right now, we are only looking for the longitude and latitude. First, get the address of the project, which is on this page.

2
Click here
Step #2: Click here

It's 8001 Frost Street, San Diego. I'm going back into the photosphere so we have it.

3
Click on "8001 Frost St San Diego CA 92123"
Step #3: Click on "8001 Frost St San Diego CA 92123"
4
Click on "360"
Step #4: Click on "360"
5
Click here
Step #5: Click here

We're going to open Google Maps.

6
Click here
Step #6: Click here
7
Click on "8001 Frost St - Google Maps"
Step #7: Click on "8001 Frost St - Google Maps"

I have already entered the address. We're here in San Diego. We will zoom in on the work site and observe the surrounding area.

8
Click here
Step #8: Click here
9
Click here
Step #9: Click here
10
Click here
Step #10: Click here
11
Click here
Step #11: Click here
12
Drag here
Step #12: Drag here
13
Click here
Step #13: Click here
14
Drag here
Step #14: Drag here

The work site is this area. It will look different from Google Maps satellite view, but the surrounding area will generally remain the same. We can use clues in the scene and the photosphere to determine the camera's location by examining straight lines in the view. These lines indicate where they intersect with the camera. If we have two lines—one north-south and one east-west—that gives us enough information to estimate the camera's location.

15
Click here
Step #15: Click here
16
Click here
Step #16: Click here

First, let's return to the photosphere. There are a few tricks to keep in mind.

17
Click here
Step #17: Click here
18
Click here
Step #18: Click here

Looking at items in the scene is helpful. We see the building and the parking lot, which appear here.

19
Click here
Step #19: Click here
20
Click on "8001 Frost St - Google Maps x"
Step #20: Click on "8001 Frost St - Google Maps x"
21
Click here
Step #21: Click here
22
Drag here
Step #22: Drag here

There is the parking lot, and next to it is the medical building. It appears it was not fully constructed when the satellite image was taken.

23
Click here
Step #23: Click here

We can look at the base of the crane to see a straight line going into the ground.

24
Click here
Step #24: Click here
25
Drag here
Step #25: Drag here

You can see a small box in the center with a line.

26
Click here
Step #26: Click here

If we follow the line visually, we see it intersects the bush next to the driveway.

27
Double-click here
Step #27: Double-click here
28
Click here
Step #28: Click here
29
Click here
Step #29: Click here
30
Click here
Step #30: Click here
31
Click here
Step #31: Click here
32
Drag here
Step #32: Drag here

What does that tell us? If we return to 8001 Frost Street, we can see the bush and the driveway.

33
Click on "8001 Frost St -"
Step #33: Click on "8001 Frost St -"
34
Click here
Step #34: Click here

We think there is a line going straight, possibly around here, on the scene.

35
Click here
Step #35: Click here

Let me try clicking there to see if it appears.

36
Click here
Step #36: Click here
37
Click here
Step #37: Click here

Nope. Sometimes you need to be clever with Google Maps.

38
Click here
Step #38: Click here
39
Click here
Step #39: Click here

"" That's our first line here. Now we need to find another line.

40
Click here
Step #40: Click here

Looking at the scene, we see another line running straight along this edge, perpendicular to the base of the crane.

41
Click here
Step #41: Click here
42
Drag here
Step #42: Drag here
43
Click here
Step #43: Click here
44
Click here
Step #44: Click here
45
Click here
Step #45: Click here

We will follow that line.

46
Drag here
Step #46: Drag here

You can see the line extends outward, intersects the edge of this building, and then meets the end of the pink building near the bridge area.

47
Click here
Step #47: Click here
48
Click here
Step #48: Click here

That is essentially a line running across here.

49
Click on "Google Maps"
Step #49: Click on "Google Maps"
50
Click here
Step #50: Click here
51
Drag here
Step #51: Drag here
52
Click here
Step #52: Click here

Oops. It intersects near this bridge, right here.

53
Click here
Step #53: Click here
54
Drag here
Step #54: Drag here
55
Click here
Step #55: Click here
56
Right-click here
Step #56: Right-click here

I'm going to right-click to see if I can get the point.

57
Click on "Share this location"
Step #57: Click on "Share this location"

No, it only copied it.

58
Click here
Step #58: Click here

Okay. Around there, something like that.

59
Click here
Step #59: Click here
60
Click here
Step #60: Click here

Between the two, we look at this bush up here and the line rolling. We estimate the intersection, which appears to be about here.

61
Click here
Step #61: Click here
62
Click here
Step #62: Click here
63
Right-click here
Step #63: Right-click here
64
Click on "32.79956"
Step #64: Click on "32.79956"

Right-click to get the latitude and longitude. Next, we go to the photosphere.

65
Click on "To Select photosphere to change"
Step #65: Click on "To Select photosphere to change"

Here is the one on Northeast Crane Mast. We entered these values for the latitude.

66
Click on "6:40 p.m."
Step #66: Click on "6:40 p.m."
67
Double-click on "32.799343396668846"
Step #67: Double-click on "32.799343396668846"
68
Type "Ctrl + V"

Copying and pasting will give you both items.

69
Type "Backspace"
70
Type "Backspace"
71
Type "Backspace"
72
Type "Backspace"
73
Type "Backspace"
74
Type "Backspace"
75
Type "Backspace"
76
Type "Backspace"

Just delete what you need, or the section that corresponds to latitude.

77
Type "Backspace"
78
Double-click on "-117.15259099722203"
Step #78: Double-click on "-117.15259099722203"
79
Type "Ctrl + V"

Longitude in the western hemisphere is represented as a negative value. Here, for some reason, the dots are missing. Add the dot at -117, then click save.

80
Type "."
81
Click here
Step #81: Click here
82
Click on "SAVE"
Step #82: Click on "SAVE"

Remember, this is the photosphere, not the template, because now we can reload the photosphere. You can see that we now have an area that has moved on the map to that location.

83
Click on "Topdeck Dashboard"
Step #83: Click on "Topdeck Dashboard"
84
Click on "0"
Step #84: Click on "0"
85
Click on "Frost St"
Step #85: Click on "Frost St"

We will make another video to correct and add the next camera, and also to fix the angle that is off.

86
Click here
Step #86: Click here

This is the bearing. You can see that it should be rotated more, almost towards three o'clock on a clock, if you imagine 12:00 as north. This is the method you can use to get the longitude and latitude. Now, we want to update this on the actual template, not just in the photosphere.

87
Click on "Select photosphere to change"
Step #87: Click on "Select photosphere to change"
88
Click on ","
Step #88: Click on ","

We do this by viewing the template, clicking "Change," then scrolling down and adjusting the latitude and longitude.

89
Click on "+ * >>"
Step #89: Click on "+ * >>"
90
Click here
Step #90: Click here
91
Double-click on "32.799343396668846-"
Step #91: Double-click on "32.799343396668846-"
92
Type "Ctrl + V"
93
Type "Backspace"
94
Type "Backspace"
95
Type "Backspace"
96
Type "Backspace"
97
Type "Backspace"
98
Type "Backspace"
99
Double-click on "-117.15259099722203-"
Step #99: Double-click on "-117.15259099722203-"
100
Type "Ctrl + V"

Scroll down to the bottom and click Save.

101
Type "."
102
Click here
Step #102: Click here

That's it.

103
Click on "SAVE"
Step #103: Click on "SAVE"

All future photospheres will now have that automatically added.

104
Click here
Step #104: Click here

Next, add the other one in the correct location. Then, fix the heading and bearing for each. Update the map so it is centered, includes both, and is zoomed in for the best view. Okay? Alright.