How to detect room corners?

I’m doing experiments to detect actual room corners using opencv. Have used Shi-tomasi and Harris to detect all corners in image, but how can I identify actual corner of room.