What you've ringed is a cadence sensor, typically just used to determine whether or not you are pedalling, but not how fast. It won't give speed, because that also depends on which gear you are in; and whether you are freewheeling.
The one to the left looks as if it might be a speed sensor (I...