Edited convert_image to track bricks, and calculate their speed.