Parameter Tuning for Object Re-Identification
Contains different preprocessing and training scripts to optimize different parameters needed for object re-identification. Data generated is used to employ object re-identification to a scene graph as part of the implementation work during a masters thesis.
Training and analysis is performed on multiple scenes out of the Matterport 3D dataset. The optimized data is stored under ./optimization_results
panorama_viewer.py
Reads all frames per camera position and merges them into panoramic image. Code converted from matlab as seen in https://github.com/yindaz/PanoBasic/blob/master/demo_matterport.m
object_features_detector.py
Reads all image frames from a Matterport scene and performs an object and feature detection on each image. Uses the exact code from the scene graph pipeline adapted to standard python from the ros environment.
build_training_data.py
Generates a train/test split for each scene. Contains 80% training and 20% testing data. Each data split is organized pair-wise. Splits include pairings for both positive and negative re-identification.
reID_param_tuning.py
Optimizes the parameters alpha, beta and the similarity_threshold based on a grid search.
validate_training.py
Reads each trained parameter set and uses them for a validation run each on a seventh previously unseen Matterport scene.
Experiement Evaluation
Performs the evaluation of the scene graph data obtained during the exeriments. Calculates multiple metrics per Experiement run and saves them in json format and as plots.