Using stereo vision for obstacle avoidance on quadcopter?

I am basically an electrical engineer. I plan to use stereo vision for obstacle avoidance (and possible further development of object recognition). Any efficient libraries for depth mapping from stereo camera? Is it even feasible to use stereo vision just for obstacle avoidance? Any help would be appreciated. Thanks.