Java implementation extracts image text information and generates a table