Tensorflow code for training and testing a deep convolutional neural network for detecting camera miscalibration.
- Clone this repository
git clone https://github.com/ethz-asl/camera_miscalib_detection.git
- Install the following python dependencies:
pip3 install --user carnivalmirror opencv-python tensorflow-gpu==1.13.1 pandas numpy matplotlib
- Download the KITTI dataset:
./utils/KITTI_download.sh
NOTE: The processing of dataset happens inside the dataset.py.
train.py [-h] [-n_train_samples N_TRAIN_SAMPLES]
[-n_valid_samples N_VALID_SAMPLES] [-batch_size BATCH_SIZE]
[-buffer_size BUFFER_SIZE] [-epochs EPOCHS]
[-model_path MODEL_PATH] [-log_path LOG_PATH]
[-log_name LOG_NAME] [-checkpoints CHECKPOINTS] [-v V]
[-njobs NJOBS]
index train_selector valid_selector
3-Clause BSD; see LICENSE
The algorithm is based on the following papers. Please cite the appropriate papers when using parts of it in an academic publication.
- A. Cramariuc, A. Petrov, R. Suri, M. Mittal, R. Siegwart, C. Cadena (2020). Learning Camera Miscalibration Detection. In Proceedings of the IEEE International Conference on Robotics and Automation (ICRA), Paris, France