1. A method for script and orientation detection of an image using artificial neural networks (ANNs), comprising: extracting textual content in the image; obtaining a vertical component run (VCR) and a horizontal component run (HCR) by vectorizing each connected component in the extracted textual content; obtaining a zonal density run (ZDR) for each connected component in the extracted textual content; computing a concatenated vertical document vector (VDV), horizontal document vector (HDV), and zonal density vector (ZDV) by normalizing the obtained VCR, HCR, and ZDR, respectively, for each connected component in the image; determining the script in the image using a script detection ANN module and the computed concatenated VDV, HDV, and ZDV of the image; and determining the orientation of the image using an orientation detection ANN module and the computed concatenated VDV, HDV, and ZDV of the image.