Fix a bug with grayscale image
Merge branch 'testing' into unstable
Convert image to rgb in features extraction,
just in case a one canal image causes a bug
Fix a signature bug