maybe have a look at
https://github.com/tesseract-ocr/tesseract/issues/1714#issuecomment-588180969


(I have no time to test it yet)

Zdenko


st 26. 2. 2020 o 11:02 KOLLOL CHOWDHURY <[email protected]> napĂ­sal(a):

> Does anyone have solution to this? In the newer tesseract(4.x), the
> option textord_dump_table_images isn't available.
> I tried with tesseract 3.04, it works but creates an empty tess-table.txt
> file. I expected it to have co-ordinates of the detected file. Although
> when i use the option
>  gapmap_debug=1 , it shows Table found , but i don't get to see the
> co-ordinates.
>
> Any help??
>
> Thanks
>
>
> On Tuesday, July 11, 2017 at 2:00:56 PM UTC+5:30, Hope Scheffert wrote:
>>
>> Can you explain how you get just the bounding box coordinates for the
>> recognized/detected table?
>> I have it popping up in a window using ViewerDebugger so I know it's
>> doing it and it has the information, I just don't know how to get it. I
>> need just the coordinates of the table it found so that I can then crop
>> just the table.
>>
>> My config file:
>> tessedit_create_txt 1
>> tessedit_create_tsv 1
>> tessedit_create_hocr 1
>> hocr_font_info 0
>> tessedit_pageseg_mode 1
>> textord_dump_table_images 1
>> textord_tablefind_show_stats 1
>> textord_tablefind_recognize_tables 1
>> textord_tabfind_find_tables 1
>> gapmap_debug 1
>> textord_show_tables 1
>>
>> Any idea what I'm doing wrong/how to get the data?
>> Thanks,
>> Hope
>>
>>
>> On Wednesday, June 7, 2017 at 2:39:08 PM UTC-5, akhil katpally wrote:
>>>
>>> You can use tesseract parameters .. internally tesseract detects the
>>> tables you can leverage that information and print it out ... and also one
>>> of the parameter will print you out the detected table information
>>> (coordinates).
>>> textord_dump_table_images ---  Show table regions (this would dump
>>> intermediate images which will )
>>> textord_tablefind_show_stats  -------    Show page stats used in table
>>> finding
>>> and there are some more you can try them ...
>>> to use the parameters in the command line you can use -c option followed
>>> by parameters.
>>>
>>>
>>> On Monday, April 17, 2017 at 1:03:03 AM UTC-7, Azka Gilani wrote:
>>>>
>>>> @johnny did you find anything in that? i am stuck on the same problem.
>>>> @dinh van Chinh that method doesn't use tesseract api!
>>>>
>>>> On Monday, July 18, 2016 at 6:05:54 PM UTC-4, Johnny ho wrote:
>>>>>
>>>>> Are there any examples to show how to use Tesseract to detect tables
>>>>> in an images?
>>>>>
>>>>
>> On Wednesday, June 7, 2017 at 2:39:08 PM UTC-5, akhil katpally wrote:
>>>
>>> You can use tesseract parameters .. internally tesseract detects the
>>> tables you can leverage that information and print it out ... and also one
>>> of the parameter will print you out the detected table information
>>> (coordinates).
>>> textord_dump_table_images ---  Show table regions (this would dump
>>> intermediate images which will )
>>> textord_tablefind_show_stats  -------    Show page stats used in table
>>> finding
>>> and there are some more you can try them ...
>>> to use the parameters in the command line you can use -c option followed
>>> by parameters.
>>>
>>>
>>> On Monday, April 17, 2017 at 1:03:03 AM UTC-7, Azka Gilani wrote:
>>>>
>>>> @johnny did you find anything in that? i am stuck on the same problem.
>>>> @dinh van Chinh that method doesn't use tesseract api!
>>>>
>>>> On Monday, July 18, 2016 at 6:05:54 PM UTC-4, Johnny ho wrote:
>>>>>
>>>>> Are there any examples to show how to use Tesseract to detect tables
>>>>> in an images?
>>>>>
>>>>
>> On Wednesday, June 7, 2017 at 2:39:08 PM UTC-5, akhil katpally wrote:
>>>
>>> You can use tesseract parameters .. internally tesseract detects the
>>> tables you can leverage that information and print it out ... and also one
>>> of the parameter will print you out the detected table information
>>> (coordinates).
>>> textord_dump_table_images ---  Show table regions (this would dump
>>> intermediate images which will )
>>> textord_tablefind_show_stats  -------    Show page stats used in table
>>> finding
>>> and there are some more you can try them ...
>>> to use the parameters in the command line you can use -c option followed
>>> by parameters.
>>>
>>>
>>> On Monday, April 17, 2017 at 1:03:03 AM UTC-7, Azka Gilani wrote:
>>>>
>>>> @johnny did you find anything in that? i am stuck on the same problem.
>>>> @dinh van Chinh that method doesn't use tesseract api!
>>>>
>>>> On Monday, July 18, 2016 at 6:05:54 PM UTC-4, Johnny ho wrote:
>>>>>
>>>>> Are there any examples to show how to use Tesseract to detect tables
>>>>> in an images?
>>>>>
>>>> --
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/73b6c5b9-78e4-480a-8992-82f58a5727f2%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/73b6c5b9-78e4-480a-8992-82f58a5727f2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8w1_m8ydL_qq0YE56D1q62JTCX90iHGSAQp8t047_scZQ%40mail.gmail.com.

Reply via email to