A device for detecting an electromagnetic radiation comprising a resistive imaging bolometer sensitive to the electromagnetic radiation to be detected, a signal shaping circuit connected electrically to the bolometer, and a resistive common mode rejection bolometer (26, 50) comprising a first terminal and a second terminal, the first terminal being connected to a constant voltage (VDDA) and the second terminal (C; D) being electrically associated with the imaging bolometer that is associated electrically with the imaging bolometer, so that the current flowing through the common mode rejection bolometer (26, 50) is subtracted from the current flowing through the imaging bolometer, characterized in that it comprises means for controlling the resistance of the common mode rejection bolometer by injecting a predefined reference current (I ref; I ref_comp) therein and in that the means comprise: • a current source able to inject the predefined reference current (I ref; I ref_comp) in the common mode rejection bolometer; • means for connecting the current source to the common mode rejection bolometer (26, 50), so that the predefined reference current (I ref; I ref_comp) flows through the common mode rejection bolometer and induces a variation of the voltage of the second terminal (C; D) of the later; • means (45, 58) for disconnecting the current source of the common mode rejection bolometer (26, 50), said means comprising: ▪ a comparator having a first terminal connected to the second terminal (C; D) of the common mode rejection bolometer and a second terminal connected to a predefined reference voltage (V ref; V ref_comp); and ▪ a switch controlled by an output signal of the comparator, for disconnecting the current source of the common mode rejection bolometer (26; 50) when the voltage of the second terminal (C; D) of the later is equal to the predefined reference voltage (V ref; V ref_comp), so that the electric resistance of the common mode rejection bolometer (26; 50) is adjusted on the ratio of the voltage at its terminals at the time of disconnection and the predefined reference current (I ref; I ref_comp). • a current source able to inject the predefined reference current (I ref; I ref_comp) in the common mode rejection bolometer; • means for connecting the current source to the common mode rejection bolometer (26, 50), so that the predefined reference current (I ref; I ref_comp) flows through the common mode rejection bolometer and induces a variation of the voltage of the second terminal (C; D) of the later; • means (45, 58) for disconnecting the current source of the common mode rejection bolometer (26, 50), said means comprising: ▪ a comparator having a first terminal connected to the second terminal (C; D) of the common mode rejection bolometer and a second terminal connected to a predefined reference voltage (V ref; V ref_comp); and ▪ a switch controlled by an output signal of the comparator, for disconnecting the current source of the common mode rejection bolometer (26; 50) when the voltage of the second terminal (C; D) of the later is equal to the predefined reference voltage (V ref; V ref_comp), so that the electric resistance of the common mode rejection bolometer (26; 50) is adjusted on the ratio of the voltage at its terminals at the time of disconnection and the predefined reference current (I ref; I ref_comp). ▪ a comparator having a first terminal connected to the second terminal (C; D) of the common mode rejection bolometer and a second terminal connected to a predefined reference voltage (V ref; V ref_comp); and ▪ a switch controlled by an output signal of the comparator, for disconnecting the current source of the common mode rejection bolometer (26; 50) when the voltage of the second terminal (C; D) of the later is equal to the predefined reference voltage (V ref; V ref_comp), so that the electric resistance of the common mode rejection bolometer (26; 50) is adjusted on the ratio of the voltage at its terminals at the time of disconnection and the predefined reference current (I ref; I ref_comp).