Hi Chris,
Thanks for the reply.

Hi Team,
Can you please help me with the below issue. I am using tika for a business use 
case.

Regards,
Aswathi.

From: Chris Mattmann <[email protected]>
Sent: Wednesday, November 13, 2019 11:32 PM
To: [email protected]
Cc: Aswathi Nambiar <[email protected]>
Subject: Re: [EXTERNAL] How to set the page segmentation for TIKA python

[CAUTION] EXTERNAL EMAIL ..
Hi Aswathi,

Please check with [email protected]<mailto:[email protected]>.

Cheers,
Chris




From: Aswathi Nambiar 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, November 13, 2019 at 7:39 AM
To: "Mattmann, Chris A (US 1760)" 
<[email protected]<mailto:[email protected]>>
Subject: [EXTERNAL] How to set the page segmentation for TIKA python

Hi Chris,

I am using Apache TIKA OCR on python. Using the parser.from_file I am trying to 
extract text from the image. But the default psm seems to be 1 according to 
documentation. But how do I change the psm to 6 using python.
I couldn’t find any documentation for this. I can find it for java using the 
below link.
https://cwiki.apache.org/confluence/display/tika/TikaOCR<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2Ftika%2FTikaOCR&data=02%7C01%7CAswathi.Nambiar%40ihsmarkit.com%7C74d57a5edeef44847e1008d768bbaebf%7Cc1156c2fa3bb4fc4ac073eab96da8d10%7C1%7C0%7C637093027609266019&sdata=b7k%2BeQmQQrVLEXb99w%2BQRohUHvpKoSKQZp08n1MYoSo%3D&reserved=0>

Regards,
Aswathi Nambiar

________________________________

This e-mail, including accompanying communications and attachments, is strictly 
confidential and only for the intended recipient. Any retention, use or 
disclosure not expressly authorised by IHSMarkit is prohibited. This email is 
subject to all waivers and other terms at the following link: 
https://ihsmarkit.com/Legal/EmailDisclaimer.html

Please visit 
www.ihsmarkit.com/about/contact-us.html<http://www.ihsmarkit.com/about/contact-us.html>
 for contact information on our offices worldwide.

________________________________

This e-mail, including accompanying communications and attachments, is strictly 
confidential and only for the intended recipient. Any retention, use or 
disclosure not expressly authorised by IHSMarkit is prohibited. This email is 
subject to all waivers and other terms at the following link: 
https://ihsmarkit.com/Legal/EmailDisclaimer.html

Please visit www.ihsmarkit.com/about/contact-us.html for contact information on 
our offices worldwide.

Reply via email to