Edge-SLAM: edge-assisted visual simultaneous localization and mapping