SIFT: fixed SIFT not extracted with OpenCV >=4.4 and >=3.4.11 when nonfree is false

This commit is contained in:
matlabbe
2020-10-17 20:34:24 -04:00
parent 3047b7da6b
commit a4da1e14b4
2 changed files with 22 additions and 16 deletions
+8 -8
View File
@@ -47,16 +47,16 @@ DBReader::DBReader(const std::string & databasePath,
bool odometryIgnored,
bool ignoreGoalDelay,
bool goalsIgnored,
int stopId,
int startId,
int cameraIndex,
int endId) :
int stopId) :
Camera(frameRate),
_paths(uSplit(databasePath, ';')),
_odometryIgnored(odometryIgnored),
_ignoreGoalDelay(ignoreGoalDelay),
_goalsIgnored(goalsIgnored),
_startId(stopId),
_stopId(endId),
_startId(startId),
_stopId(stopId),
_cameraIndex(cameraIndex),
_dbDriver(0),
_currentId(_ids.end()),
@@ -76,16 +76,16 @@ DBReader::DBReader(const std::list<std::string> & databasePaths,
bool odometryIgnored,
bool ignoreGoalDelay,
bool goalsIgnored,
int stopId,
int startId,
int cameraIndex,
int endId) :
int stopId) :
Camera(frameRate),
_paths(databasePaths),
_odometryIgnored(odometryIgnored),
_ignoreGoalDelay(ignoreGoalDelay),
_goalsIgnored(goalsIgnored),
_startId(stopId),
_stopId(endId),
_startId(startId),
_stopId(stopId),
_cameraIndex(cameraIndex),
_dbDriver(0),
_currentId(_ids.end()),