Pixel resolution phototransistor array

phototransistor

I would like to ask if anybody knows some technology which is like array of phototransistor with accuracy in mm . Like some display on which I put someting and get by wire data of pixel which are shadowed, just only logic state ( 0 = Nothin/Ligh, 1 = Someting is put down on screen/Dark).

000
010
000

enter image description here

My first idea was solve it by many phototranzistor in matrix, but it haven't that
necessary accuracy which I would need. ( I think even SMD phototranzistor for this are so "big").

Thanks everyone for some help, and I'am sorry for my poor English. I hope you have get it what I've been wrote there.

Best Answer

You can use an optical mouse sensor, basically a low resolution B&W camera. The Agilent ADNS-3040 is one such sensor. You might need some optics for your application.