How to make Automatic Corner detection possible with ARKit?

I'm trying to create a floorplan by defining corner points of an apartment using ARkit. But I want my app to detect corners automatically rather than tapping around corners and saving the corner location.

After some R&D, I could conclude that corner detection is not natively supported by ARkit and I might need to use AI to make that happen. So, is there any .mlmodel available for the corner detection?

I'm new to Swift/ARKit development. Please help me with this problem. Any suggestions are welcome :)
How to make Automatic Corner detection possible with ARKit?
 
 
Q