Text this: Beyond Handcrafted Features: A Deep Learning Framework for Optical Flow and SLAM