1. A system comprising: a procssor; and a memory communicatively coupled to the processor, the memory storing instructions causing the processor, after execution of the instructions by the processor, to: receive an infrared image and process the infrared image to detect lines in the infrared image; receive a color image corresponding to the infrared image and process the color image to detect lines in the color image; combine the detected lines in the infrared image and the detected line in the color image; and detect a document region from h combined detected lines.