Beginning with a broad view of the Milky Way, we dive into the dense clouds of gas and dust at our galactic centre, zooming into the black hole Sgr A* at the centre of our galaxy. Distance is what characterises the relationship between man and the Universe, which is why the journey to the black hole will be possible through machine learning, using approaching movements towards the computer, trying to conceptually remove the light years between us and the element.
The machine learning approach, using distance, allows the user to become an active part of the journey to the black hole. He doesn't only have to play a video, but he has the possibility to choose where to move and where to stop, focusing on the frame that interests him most.
The camera moves back and forth, which is why distance is what make the experience possible. The user will have to move his face closer to or further away from the screen to start or go back on his journey. This experience is possible by using poseNet library. Pose estimation is the task of using an ML model to estimate the pose of a person from an image or a video by estimating the spatial locations of key body joints (keypoints).
The user can choose the moment from which to start playing the video by selecting the starting frame. Getting closer to the screen, next frames will be displayed at a speed sufficient to play the video. If none of the frame is selected, once the face is close enough to the screen, the video will start from the first one.
PoseNet indentify the position of the eyes and nose and then calculates the distance between these two points. In this way it calculates how far the user is from the screen, the higher is the distance between the eye and nose, the closer the user will be and vice versa. The code specifies the distance within which the video have to start, in this case if the distance is between 40 and 100 then the next frame can be displayed. At the same distance sound will start too to accompanying the user through his journey.
Changing the size of the window the frame's order will be randomize. The order of the images keeps updating in random order for as long as the window size is smaller than a given value specified in the code.
Once the order of the frames is changed, the story of the video also changes. This is in fact disassembled and reassembled in random order, changing the logical sense of the journey.
The distance value is also used for the rewind function. The value of the distance between the left eye and the nose makes possibile to recognize how fare the user is positioned.
If the distance has a smaller value than the value defined in the code, then the frames preceding the current one will be displayed. The action of moving away from the screen will then allow to move away from the black hole. The actions performed by the user are linked to what they see on the screen.