Proximity with IR emitter and detector

Well, the project will be something like that: Interactive Proximity Sensing Table Modules, Infrared Sensors - YouTube but instead of the piece of plastic, there will be a piece of glass.
On the top of this glass I want to put a cup, business card, plate, etc... and the IR should detects it!