mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
* Adding GFTT and SIFT Cuda support * Working CudaSift * Disable cudasift option when not available * Added check to avoid re-allocating gpu memory everytime parseParameters is called. Added workaround of to detect/ignore invalid descriptors * Added SIFT/PreciseUpscale and SIFT/Upscale parameters. Adjusted max octave to behave more like opencv * Refactored how maximum features are thresholded, to be more similar to OpenCV version * Updated loop closure benchmark scripts * Cuda optical flow tmp commit * Added Stereo/Gpu Vis/CorFlowGpu parameters (optical flow gpu integration for F2F odom and stereo correspondences) * Fixed build without opencv cuda * Fixed build with Opencv 4.10 * ZED: updated parameters to match zed sdk 4 * MRPT requires C++17 * updated max octave limit CudaSift
38 lines
1.1 KiB
Bash
Executable File
38 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
DATASET_FOLDER=""
|
|
GT_FILE=""
|
|
MEMORY_THR=0
|
|
if [ $# -ge 2 ]
|
|
then
|
|
DATASET_FOLDER=$1
|
|
GT_FILE=$2
|
|
else
|
|
echo "Usage: run_all_detectors.sh \"dataset folder\" \"ground truth file\" [\"Rtabmap/MemoryThr=0\"]"
|
|
exit
|
|
fi
|
|
|
|
if [ $# -ge 3 ]
|
|
then
|
|
MEMORY_THR=$3
|
|
fi
|
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
|
|
|
$SCRIPT_DIR/run_bow.sh $DATASET_FOLDER $GT_FILE $MEMORY_THR 0 false
|
|
mv LogF.txt $DATASET_FOLDER/SurfLogF.txt
|
|
mv LogI.txt $DATASET_FOLDER/SurfLogI.txt
|
|
$SCRIPT_DIR/run_bow.sh $DATASET_FOLDER $GT_FILE $MEMORY_THR 1 false
|
|
mv LogF.txt $DATASET_FOLDER/SiftLogF.txt
|
|
mv LogI.txt $DATASET_FOLDER/SiftLogI.txt
|
|
$SCRIPT_DIR/run_bow.sh $DATASET_FOLDER $GT_FILE $MEMORY_THR 1 true
|
|
mv LogF.txt $DATASET_FOLDER/CudaSiftLogF.txt
|
|
mv LogI.txt $DATASET_FOLDER/CudaSiftLogI.txt
|
|
$SCRIPT_DIR/run_bow.sh $DATASET_FOLDER $GT_FILE $MEMORY_THR 6 false
|
|
mv LogF.txt $DATASET_FOLDER/GfttBriefLogF.txt
|
|
mv LogI.txt $DATASET_FOLDER/GfttBriefLogI.txt
|
|
#$SCRIPT_DIR/run_bow.sh $DATASET_FOLDER $GT_FILE $MEMORY_THR 11 false
|
|
#mv LogF.txt $DATASET_FOLDER/SuperPointLogF.txt
|
|
#mv LogI.txt $DATASET_FOLDER/SuperPointLogI.txt
|
|
|