verlab / accelerated_features

Implementation of XFeat (CVPR 2024). Do you need robust and fast local feature extraction? You are in the right place!
https://www.verlab.dcc.ufmg.br/descriptors/xfeat_cvpr24
Apache License 2.0
1.01k stars 113 forks source link

Input is RGB or BGR? #37

Closed noahzn closed 4 months ago

noahzn commented 4 months ago

Hi @guipotje I have another question. In the training code you use cv2.imread to read images. However, the default image read is BGR color mode. Is it a bug?

guipotje commented 4 months ago

Hi @noahzn, actually, we use grayscale images, look here, we average channels, so it should make little to no difference in using RGB or BGR.