A photosensitive assembly, comprising: a circuit board; a photosensitive element, which is operatively connected to the circuit board; and a molding base, which is integrally molded with the circuit board and the photosensitive element and forms a light window, wherein the molding base has one or more first portion inner surfaces adjacent to the photosensitive element and one or more second partial inner surfaces directly connected to the first portion inner surface away from the photosensitive element; a filter element, characterized in that the filter element is mounted on a top side of the molding base, the filter element includes a filter element main body and at least one light shielding layer (4142, 4143) provided on at least one of a top side and a bottom side of the filter element main body, wherein the top side of the filter element main body is opposite to the bottom side of the filter element main body, and the top side and the bottom side of the filter element main body are perpendicular to an optical axis X of the photosensitive assembly, and a light suppression groove is formed between the light shielding layer (4142, 4143), the first portion inner surface and the second portion inner surface, and on an outer side portion of the light window; wherein there is an included angle α between the first portion inner surface and the optical axis X of the photosensitive assembly, there is an included angle β between the second portion inner surface and the optical axis X of the photosensitive assembly, wherein β<α; wherein the molding base includes a photosensitive element coupling portion and a top side extending portion located around the light window, an inner surface of the photosensitive element coupling portion integrally extending from the photosensitive element defines the first portion inner surface, the top side extending portion integrally extends from the photosensitive element coupling portion, and the surface thereof defines the second portion inner surface, the second portion inner surface integrally extends from the first portion inner surface. a circuit board; a photosensitive element, which is operatively connected to the circuit board; and a molding base, which is integrally molded with the circuit board and the photosensitive element and forms a light window, wherein the molding base has one or more first portion inner surfaces adjacent to the photosensitive element and one or more second partial inner surfaces directly connected to the first portion inner surface away from the photosensitive element; a filter element, characterized in that the filter element is mounted on a top side of the molding base, the filter element includes a filter element main body and at least one light shielding layer (4142, 4143) provided on at least one of a top side and a bottom side of the filter element main body, wherein the top side of the filter element main body is opposite to the bottom side of the filter element main body, and the top side and the bottom side of the filter element main body are perpendicular to an optical axis X of the photosensitive assembly, and a light suppression groove is formed between the light shielding layer (4142, 4143), the first portion inner surface and the second portion inner surface, and on an outer side portion of the light window; wherein there is an included angle α between the first portion inner surface and the optical axis X of the photosensitive assembly, there is an included angle β between the second portion inner surface and the optical axis X of the photosensitive assembly, wherein β<α; wherein the molding base includes a photosensitive element coupling portion and a top side extending portion located around the light window, an inner surface of the photosensitive element coupling portion integrally extending from the photosensitive element defines the first portion inner surface, the top side extending portion integrally extends from the photosensitive element coupling portion, and the surface thereof defines the second portion inner surface, the second portion inner surface integrally extends from the first portion inner surface.