door opening with machine learning