Developing, training, and validating algorithms that detect document boundaries (document detection).