Onboard AI and Computer Vision on Small Drones: From Obstacle Avoidance to Edge Inference