Most police dogs are cross-trained, so they can track people in addition to drugs.
They learn to scent on the ground, for the scent trail that a person leaves, and in the air, for the scent "cone" that flows downwind from a person when he or she is nearby.