side-sensing fiber optic sensor does the job
This sensor has been running on a small machine for part detection. The size is convenient, and the side sensing made the installation much easier than using a standard front-facing sensor. I had to make a couple of small adjustments at first, but after that it was pretty much plug and play. It has been working fine.