rmsalinas / fbow

FBOW (Fast Bag of Words) is an extremmely optimized version of the DBow2/DBow3 libraries.
559 stars 141 forks source link

Vocabulary::transform features are of different size than the vocabulary ones #42

Open X1l10on88 opened 1 year ago

X1l10on88 commented 1 year ago

I'm trying to run image_matching, with ORB, and I'm getting this error. the output of the program:

voc desc name=orb Extracting features... reading image: C:\Users\Marco\Desktop\Datasets\KITTIColor\sequences\00\image_2_few_images\000000.png extracting features done detecting features Extracting features... reading image: C:\Users\Marco\Desktop\Datasets\KITTIColor\sequences\00\image_2_few_images\000001.png extracting features done detecting features Extracting features... reading image: C:\Users\Marco\Desktop\Datasets\KITTIColor\sequences\00\image_2_few_images\000002.png extracting features done detecting features features[i][0].type(): 0 - features[i][0].depth(): 0 - features[i][0].channels(): 1 features[i][0].rows: 2000 - features[i][0].cols: 32 Vocabulary::transform features are of a different size than the vocabulary ones

The offending line 79 of utils/image_matching.cpp:

vv = voc.transform(features[i][0]);