While walking behind the roof bolting machine as it was traveling across the section, the bolter helper got their head hit from the top of the canopy up to the roof. Due to the height of the section, the helper was walking bent over where helper's head was out in front of helper, unaware of how close helper was to the bolting machine.