A green photo-oxidation reaction was discovered in which the imidazole ring is oxidized and rearranged to generate imidazolinone derivatives with thermal activation delayed fluorescence properties. The excellent photo-oxidation properties of p-PTZ-PIM can be utilized for detecting trace oxygen in the water phase and the sealing of food packaging bags.