The encoder in the photo is not a quadrature encoder. quadrature encoders have two channels (usually called A and B) and sometimes also an index as full revolution reference, and as you see (read) in the photo, it has only the full revolution reference (index) and 1 channel (channel A). you can get nice and cheap motors with quadrature encoders in the surplus market.
Bookmarks