1. A method for script and orientation detection of an image, 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 in the image; computing a concatenated vertical document vector (VDV) and horizontal document vector (HDV) by averaging the obtained VCR and HCR for each connected component in the image; obtaining a substantially matching script and orientation by comparing the computed concatenated VDV and HDV of the image with reference VDV and HDV associated with each script and orientation, respectively; determining whether the computed concatenated VDV and HDV of the image substantially matches with the reference VDV and HDV of the matching script and orientation, respectively; and if the computed concatenated VDV and HDV of the image substantially matches with the reference VDV and HDV of the matching script and orientation, respectively, then declaring the matching script and orientation as the script and orientation of the image.