Photomatching - matching 3d modell with photo

Hi

I’m trying to match camera angles/skew/depth of a 3d model to match a photo in unreal engine. Lumion has this https://www.youtube.com/watch?v=2oHI_XFK_e4 and sketchup has this: https://help.sketchup.com/en/sketchup/matching-photo-model-or-model-photo
Are there any ways to do this in unreal engine, or is it possible to make a plugin/program for this?

The best option would be instead of using two times 2 parallel lines like Lumion and Sketchup does, but instead using matching points in the model, example match 4 points in the image with 4 3d points in the model, then have the camera adjustment of the 3d model automatically match the photo such that all 4 points of the 3d modell match up to the 4 points in the photo. Something like this:
Design Overlay (2D/3D)- PIX4Dcloud Advanced just for 3d

Thank you