Svag matchende rim for photodetection