pose-hg-train
pose-hg-train copied to clipboard
Fix util/img.lua
I found that function drawGaussian in util/img.lua, if the coordinate of a body part is near leftest of the image, the center of gaussian does not match the coordinate of the body part.
I modified src/util/img.lua and also attached test/test.lua to show the modification.
Just run th test/test.lua
, and you'll see the difference.