A device for detecting an electromagnetic radiation has at least one photodetector including an organic diode and an organic photodiode formed in a same stack of semiconductor layers, the organic photodiode receiving the radiation. The photodetector further includes at least one screen which is opaque to the radiation and screens the portion of the stack corresponding to the diode.