Making the text box semi-transparent allows the background image to still be visible while ensuring sufficient contrast between the text and the background so that your text is readable. You can see an example below:
Here’s another example. This one comes from Wolfgang Kessling’s TED talk on “How to air-condition outdoor spaces”. In this slide, the text box has been filled with a white color and been made semi-transparent: