You are on page 1of 5

Calculate The Distance Using Single Camera

CMOS Sensor (image) Object Plane

Height (h)
Focal Length
Q1

Height (a)
Distance (d)

𝑎 h
= tan 𝜃 1=
𝑓 𝑑
CMOS Sensor (image) Object Plane

Height (h)
Focal Length
Q2

Height (a) m
Distance (d)
Height (b)

𝑏 h
= tan 𝜃 2=
𝑓 𝑑 −𝑚
𝑎 h
= tan 𝜃 1= Equation No: 1
𝑓 𝑑

𝑏 h
= tan 𝜃 2= Equation No: 2
𝑓 𝑑 −𝑚
Divide Equation 1 with Equation 2 We get:

𝑎 h 𝑑 −𝑚
= ×
𝑏 𝑑 h
𝑎 𝑑−𝑚 𝑚
= =1 −
𝑏 𝑑 𝑑

𝑚 𝑎
=1 −
𝑑 𝑏

𝑚
𝑑=
𝑎
1 −
𝑏

You might also like