Geometric Model for Vision-based Door Detection