In file, bgfg_gmg.cpp, line 375,
int nfeatures = nfeatures_row[x];
The variable should be changed by function, 'insertFeature', otherwise 'nfeatures_' is always zeros.
Is it right?
Should I change this line into:
int& nfeatures = nfeatures_row[x];'
System information (version)
- OpenCV => :grey_question: 3.4.5
- Operating System / Platform => :grey_question: ubuntu 16.04
- Compiler => :grey_question: gcc 5.4.0