Ninebell / GaneratedHandsForReal_TIME

it referenced paper of GANerated Hands for Real-Time 3D Hand Tracking from Monocular RGB.
MIT License
86 stars 17 forks source link

make each finger have the same color, and collect point on each finger... #10

Closed TingHungEricLin closed 5 years ago

TingHungEricLin commented 5 years ago

Hi, Ninebell

Here is my testing to make some update on test_regnet.py. Just let each finger to have the same color, and collect...

            cv2.circle(result_image, (col,row), 1, color[((j-1)//4)%5], -1)
            if ((j%4) == 1):
                cv2.line(result_image, point_center, (col,row), color[((j-1)//4)%5], 1)
            else:
                cv2.line(result_image, point_keep, (col,row), color[((j-1)//4)%5], 1)
            point_keep = (col, row)