1. A method for detecting one or more rectangular-shaped object regions from a background in a captured image, the method comprising: obtaining the captured image by a digital camera; analyzing the captured image using a deep convolutional neural network for detecting the object regions; enhancing the image in each of the detected regions; and cropping or extracting from the captured image each of the enhanced detected regions into a respective file, wherein the objects are rectangular-based photographs, receipts, business cards, sticky notes, printed newspapers, or stamps, and wherein the neural network is further trained to recognize or classify the rectangular-based object regions in the captured image.