Using a top-view RGB-D camera for two applications involving human-robot interaction