Recognition and navigation for UAVs using computer vision