add detection of points and of hand in main