Use OpenCV to recognize if the door is up or down