The regular internal inspection of waterworks or sewer pipelines is a fundamental maintenance task to guarantee the correct functionality of the infrastructure and to prevent incidents. The aim of the proposed work is to define the computer vision and machine learning algorithms that can be employed to ease the task of human operators. The system acquires video sequences with a hemispheric camera, unfolds them to ease the visual inspection, and automatically highlights the zones where a potential defect could be detected.