phv2312 / AA

Deforming 2d images using ARAP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ARAP (As-rigid-as possible) Deformation

Features

  • Construct triangular mesh from 2d Image & Mask.
  • Deform the mesh following some pre-defined handle-points.
  • Render the mesh using PyTorch3d.

Entry point

python main.py 

Some results

In the Handle points column, Green is the target key-points, while Blue is the original key-points.

Source image Handle points Deformed image

About

Deforming 2d images using ARAP


Languages

Language:Python 100.0%