Finding the Maximal Rectangle in Augmented Reality

Raycast view next to maximal rectangle matrix

A few weeks ago, I had the task of determining a reasonable location for placing virtual objects on detected walls in Apple’s ARKit. This was challenging because real objects like doors, shelves, and so on can interfere with the detected wall.

[... 272 words]