Development of a methodology for the human-robot interaction based on vision systems for collaborative robotics