Present day pedometer applications lack the ability to identify and measure each step for individual data with high precision. The rapid growth and evolution in the capacity of today's smartphones now present the opportunity to investigate new methods that gives the possibility to measure each individual step, providing data such as length, width and time by using an out of shelf smartphone. This paper introduces the Optical Pedometer (OP for short) that differs from traditional smartphone pedometer applications in the way that it is based on computer vision, providing new possibilities as to actually identify and measure steps with help of the phone's camera. Our proposed method was evaluated and compared to the existing methods within this field; accelerometer based pedometers and GPS applications. The results showed that the OP method presented more accurate measurements, thus proving it applicable for shorter measurements requiring a higher degree of accuracy.