A system and method for optical measurement, the system comprising a camera having a lens unit and an image sensor, the image sensor configured to generate image data based on light received onto the sensor a prism device to receive light from two different angles and to relay the light through the lens unit onto respective two portions of the image sensor and a processor to receive image data from the two portions of the image sensor identify key points of the image data from the two portions create a three-dimensional model of an object based on the image data from the two portions and calculate based on the key points parameters of the object.