International audienceWe present 3-12 µm ISOCAM observations of the five Galactic compact H ii regions Sh 61, Sh 138, Sh 152, Sh 156 and Sh 186. The unidentified infrared bands (UIBs) centred at 3.3, 6.2, 7.7, 8.6 and 11.2 µm-and underlying continuum-are imaged using the SW1, SW2, LW4, LW6 and LW8 filters. Images are also obtained at 5.985, 6.911, 8.222, 10.520 and 12.000 µm using the circular variable filter (CVF). We show that the 5.985 µm emission represents a true continuum reference for the 6.2 µm band, allowing a derivation of this band's properties. Due to uncertainties in the continuum estimates, only lower limits can be given for the 3.3, 7.7 and 11.3 µm band fluxes. These limits agree with previous results found in the literature....