An image processing apparatus for extracting an extraction target character string that is to be an item value corresponding to a predetermined extraction target item described among character strings in a document, the image processing apparatus comprising: an obtaining unit configured to obtain (S201), among character areas in a scanned image of the document, a handwritten character area (311-315) representing handwritten characters and a printed character area (301-307) representing printed characters; a first OCR unit configured to perform (S203) character recognition processing for handwritten characters to the handwritten character area (311-315); a second OCR unit configured to perform (S202) character recognition processing for printed characters to the printed character area (301-307); an integration unit configured to integrate (S204) character recognition results for adjacent handwritten and printed character areas (301-315-302; 303-311-312-313; 304; 305-314-306;307) to obtain integrated character recognition results including information whether the characters constituting each of the integrated character recognition results respectively originate from character recognition results of the handwritten character areas or originate from character recognition results of the printed character areas; and a determination unit configured to determine (S205) the extraction target character string based on results of detecting (S502) one or more extraction candidate character strings from among the integrated character recognition results and of calculating (S503-S506), for the detected one or more extraction candidate character strings, a respective likelihood of being an extraction target character string, therein using different evaluation indications for calculating the likelihood of being an extraction target character string in a case where a character originating from the handwritten character area is included in characters constituting the extraction candidate character string and in a case where such a character is not included. an obtaining unit configured to obtain (S201), among character areas in a scanned image of the document, a handwritten character area (311-315) representing handwritten characters and a printed character area (301-307) representing printed characters; a first OCR unit configured to perform (S203) character recognition processing for handwritten characters to the handwritten character area (311-315); a second OCR unit configured to perform (S202) character recognition processing for printed characters to the printed character area (301-307); an integration unit configured to integrate (S204) character recognition results for adjacent handwritten and printed character areas (301-315-302; 303-311-312-313; 304; 305-314-306;307) to obtain integrated character recognition results including information whether the characters constituting each of the integrated character recognition results respectively originate from character recognition results of the handwritten character areas or originate from character recognition results of the printed character areas; and a determination unit configured to determine (S205) the extraction target character string based on results of detecting (S502) one or more extraction candidate character strings from among the integrated character recognition results and of calculating (S503-S506), for the detected one or more extraction candidate character strings, a respective likelihood of being an extraction target character string, therein using different evaluation indications for calculating the likelihood of being an extraction target character string in a case where a character originating from the handwritten character area is included in characters constituting the extraction candidate character string and in a case where such a character is not included. <EOS>