2/12 meeting:
Jen: Wrap face GAN module: (image and gaussian/openpose poses in, generated face and face mask out)
Hunter: Wrap pose-warp GAN into function: (image and gaussian poses in, generated output out)
- See posewarp/code/posewarp_test.py and posewarp_wrapper.py
Kevin: Wrap function for OpenPose outputs: (image in, gaussians out)
To help with loading in the python API,
Install openpose to project directory, ie. project structure:
openpose
Python code
Might be useful for install: It looks like you have to turn on Python (off by default) cmake .. -DBUILD_PYTHON=ON
or with python2
cmake .. -DBUILD_PYTHON=ON -DPYTHON_EXECUTABLE=/usr/bin/python2.7 -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7m.so
See oneshot_test.sh to run baseline. Change values for source and template image as desired. When done, 3 figures will be opened with matplotlib: source, target, and source in target's pose.