I am sure this optical setup will be perfect.
http://www.sensorcentral.com/micrometers/img/ccd_exmplanation.gif
I will use ldrs as sensor receiver.When object placed between sensor and lens,it will have a dark projection of object on ldr array.
Will a red line laser and collimater lens...