pose-hg-train icon indicating copy to clipboard operation
pose-hg-train copied to clipboard

Fix util/img.lua

Open fiarabbit opened this issue 7 years ago • 0 comments

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.

fiarabbit avatar Apr 10 '17 10:04 fiarabbit