#!/bin/bash

# 4
mkdir Hamlyn
mkdir Hamlyn/dataset4
wget -nc -O "Hamlyn/dataset4/stereo.avi" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset4/stereo.avi"
wget -nc -O "Hamlyn/dataset4/Left_Camera_Calibration_Intrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset4/Left_Camera_Calibration_Intrinsic.txt"
wget -nc -O "Hamlyn/dataset4/Right_Camera_Calibration_Intrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset4/Right_Camera_Calibration_Intrinsic.txt"
wget -nc -O "Hamlyn/dataset4/camera_extrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset4/camera_extrinsic.txt"

# 5
mkdir Hamlyn/dataset5
wget -nc -O "Hamlyn/dataset5/stereo.avi" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset5/stereo.avi"
wget -nc -O "Hamlyn/dataset5/Left_Camera_Calibration_Intrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset5/Left_Camera_Calibration_Intrinsic.txt"
wget -nc -O "Hamlyn/dataset5/Right_Camera_Calibration_Intrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset5/Right_Camera_Calibration_Intrinsic.txt"
wget -nc -O "Hamlyn/dataset5/camera_extrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset5/camera_extrinsic.txt"

# 8
mkdir Hamlyn/dataset8
wget -nc -O "Hamlyn/dataset8/left.avi" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset8/left.avi"
wget -nc -O "Hamlyn/dataset8/right.avi" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset8/right.avi"
wget -nc -O "Hamlyn/dataset8/Left_Camera_Calibration_Intrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset8/Left_Camera_Calibration_Intrinsic.txt"
wget -nc -O "Hamlyn/dataset8/Right_Camera_Calibration_Intrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset8/Right_Camera_Calibration_Intrinsic.txt"
wget -nc -O "Hamlyn/dataset8/camera_extrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset8/camera_extrinsic.txt"

# 18
mkdir Hamlyn/dataset18
wget -nc -O "Hamlyn/dataset18/stereo.avi" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset18/capture-20110222T143803Z.avi"
wget -nc -O "Hamlyn/dataset18/Left_Camera_Calibration_Intrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset18/Left_Camera_Calibration_Intrinsic.txt"
wget -nc -O "Hamlyn/dataset18/Right_Camera_Calibration_Intrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset18/Right_Camera_Calibration_Intrinsic.txt"
wget -nc -O "Hamlyn/dataset18/camera_extrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset18/camera_extrinsic.txt"

# 19
mkdir Hamlyn/dataset19
wget -nc -O "Hamlyn/dataset19/stereo.avi" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset19/capture-20110222T144318Z.avi"
wget -nc -O "Hamlyn/dataset19/Left_Camera_Calibration_Intrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset19/Left_Camera_Calibration_Intrinsic.txt"
wget -nc -O "Hamlyn/dataset19/Right_Camera_Calibration_Intrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset19/Right_Camera_Calibration_Intrinsic.txt"
wget -nc -O "Hamlyn/dataset19/camera_extrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset19/camera_extrinsic.txt"

# 23
mkdir Hamlyn/dataset23
wget -nc -O "Hamlyn/dataset23/stereo.avi" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset23/capture-20110222T150826Z.avi"
wget -nc -O "Hamlyn/dataset23/Left_Camera_Calibration_Intrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset23/Left_Camera_Calibration_Intrinsic.txt"
wget -nc -O "Hamlyn/dataset23/Right_Camera_Calibration_Intrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset23/Right_Camera_Calibration_Intrinsic.txt"
wget -nc -O "Hamlyn/dataset23/camera_extrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset23/camera_extrinsic.txt"

# 24
mkdir Hamlyn/dataset24
wget -nc -O "Hamlyn/dataset24/stereo.avi" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset24/capture-20110222T153449Z.avi"
wget -nc -O "Hamlyn/dataset24/Left_Camera_Calibration_Intrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset24/Left_Camera_Calibration_Intrinsic.txt"
wget -nc -O "Hamlyn/dataset24/Right_Camera_Calibration_Intrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset24/Right_Camera_Calibration_Intrinsic.txt"
wget -nc -O "Hamlyn/dataset24/camera_extrinsic.txt" "https://hamlyn.doc.ic.ac.uk/vision/data/Dataset24/camera_extrinsic.txt"
