nrupatunga / PY-GOTURN

This is the python-caffe implementation of single object tracking from GOTURN paper
MIT License
214 stars 67 forks source link

Preprocess minor bug in `goturn/network/regressor.py` #10

Closed sydney0zq closed 6 years ago

sydney0zq commented 6 years ago

In line 68:

elif num_channels == 3 and image.shape[2] == 2:
    image_out = cv2.cvtColor(image, cv2.COLOR_GRAY2BGR)

Should it be?

elif num_channels == 3 and image.shape[2] == 1:
    image_out = cv2.cvtColor(image, cv2.COLOR_GRAY2BGR)

In GOTURN origin repo:

goturn origin repo

nrupatunga commented 6 years ago

Thank you @sydney0zq , bug fixed