Researchers at the University of Washington, together with the developers of Facebook, have created an algorithm that “revives” people in the photographs. In a single snapshot, it generates a three-dimensional moving model of a figure that can sit, jump, run, and even "go" beyond the limits of the image. The algorithm also works for drawings and anime characters.
To create such a technology, researchers used the experience of colleagues.
- Mask R-CNN recognizes a human figure in the image and makes it stand out from the background.
- Another algorithm imposes a simplified skeleton markup on the shape, defining how it will move.
- The third algorithm "fills" the background space, previously hidden by the figure.
Further, the own algorithm of researchers on the basis of a marked two-dimensional figure creates a three-dimensional model and generates a texture level from the original image.
The developers added a user interface that allows you to change the shape of the figure in order to edit the photo itself or determine where the animation will begin. In addition, you can “revive” a drawing or photo in augmented reality and see a three-dimensional figure in VR or AR glasses.