PoC Panoramax - Correction d'horizon

Some heuristic added to the bot… after fixing a picture:

  • check if the pitch/roll are above 5°
  • if so, fix the next and previous pictures in the sequence as long as they have more than 5° pitch/roll
  • if more than 10 pictures have been fixed in the sequence, fix the whole sequence

This allows a single fixme:roll=yes added manually to start fixing many pictures.

Time to process one picture is around 1.3s on my workstation, which includes:

  • download the low-res version,
  • reproject 4 faces,
  • predict roll on each of them with 1 or 2 passes (around 100ms per model inference on my 4090),
  • send the resulting metadata to the API

Currently more than 33k have been processed.