I was tempted by the possibility that they were sealed-box Rhine cards, and he was testing for psi powers, but this Sherlock is too much of a materialist, skeptical, anti-woo sort of character for that.
Ironic, since his original creator, Sir Arthur Conan-Doyle, was a renowned spiritualist, toward the end of his life.