7. An image processing device for detecting tampering in a document image, the image processing device comprising: a processor; and a memory communicatively coupled to the processor, wherein the memory stores processor instructions, which, on execution, causes the processor to: determine an image quality of the document image by analyzing one or more quality features extracted from the document image; pre-process the document image based on a pre-defined ontology of documents when the image quality is above a pre-defined quality threshold; segment the pre-processed document image into one or more regions of interest based on the pre-defined ontology of documents; assign a pre-defined weightage to a tampering in the one or more regions of interest; determine a weighted average of the pre-defined weightage for each tampering in the one or more regions of interest by processing each region of interest; and detect tampering in the document image when a weighted average of the pre-defined weightage for each tampering in the one or more regions of interest is above a pre-defined threshold value.
7. An image processing device for detecting tampering in a document image, the image processing device comprising: a processor; and a memory communicatively coupled to the processor, wherein the memory stores processor instructions, which, on execution, causes the processor to: determine an image quality of the document image by analyzing one or more quality features extracted from the document image; pre-process the document image based on a pre-defined ontology of documents when the image quality is above a pre-defined quality threshold; segment the pre-processed document image into one or more regions of interest based on the pre-defined ontology of documents; assign a pre-defined weightage to a tampering in the one or more regions of interest; determine a weighted average of the pre-defined weightage for each tampering in the one or more regions of interest by processing each region of interest; and detect tampering in the document image when a weighted average of the pre-defined weightage for each tampering in the one or more regions of interest is above a pre-defined threshold value. 10. The image processing device of claim 7 , wherein the one or more regions of interest in the document image is at least one of photo, logo, printed text, handwritten text, and signature.