I found the .cpp file *"pagesegmain.cpp"*, It has the 
pixWrite("tessinput.png", pix_binary_, IFF_PNG); function call which 
created intermediate image.
I changed the path to desired path but I want to change it to the path of 
input image.

Do anyone know how can I get the input image path inside the function "
*SetupPageSegAndDetectOrientation*" inside the file *"pagesegmain.cpp" .*

Thanks.

On Tuesday, March 25, 2014 4:26:58 PM UTC+5:30, zdenop wrote:
>
> It is easy to find - search for code that use tessedit_dump_pageseg_images 
> ...
>
> Zdenko
>
>
> On Tue, Mar 25, 2014 at 11:31 AM, temp name <[email protected]<javascript:>
> > wrote:
>
>> can you please tell me the .cpp file name which contains code for 
>> creating page segment image ?
>>
>>
>> On Monday, March 24, 2014 6:12:23 PM UTC+5:30, zdenop wrote:
>>
>>> tesseract dumps image to current directory. There is no way how to 
>>> change it unless you change the source code and recompile it.
>>>
>>> Zdenko
>>>
>>>
>>> On Mon, Mar 24, 2014 at 11:47 AM, temp name <[email protected]> wrote:
>>>
>>>> Yes, I am using "tessedit_dump_pageseg_images" parameter to create 
>>>> page segment image, I can't change my working directory instead I want 
>>>> tesseract to create page segment images in a apecific directory.
>>>> Do anyone know how to do that ?
>>>>
>>>> On Sunday, March 23, 2014 5:34:11 PM UTC+5:30, zdenop wrote:
>>>>
>>>>> Do you mean "tessedit_dump_pageseg_images" instead of "
>>>>> dump_page_seg_image"?
>>>>>
>>>>> tesseract executable dump images to current directory, so you can only 
>>>>> work with that. E.g. run tesseract from destination directory and use 
>>>>> relative/absolute path for input and output.
>>>>>
>>>>> Zdenko
>>>>>
>>>>>
>>>>> On Sun, Mar 23, 2014 at 11:38 AM, temp name <[email protected]>wrote:
>>>>>
>>>>>>  Hello,
>>>>>>
>>>>>> I am using tesseract for OCr, I am invoking tesseract.exe with 
>>>>>> configuration option "dump_page_seg_image T". Tesseract dump three page 
>>>>>> segment images in the current working directory.
>>>>>>
>>>>>> I want tesseract to dump page segment images in a specific folder. Do 
>>>>>> any one know how to do it using tesseract.exe?
>>>>>>
>>>>>> Thanks in advance!
>>>>>>
>>>>>> -- 
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "tesseract-ocr" group.
>>>>>> To post to this group, send email to [email protected]
>>>>>>
>>>>>> To unsubscribe from this group, send email to
>>>>>> [email protected]
>>>>>>
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/tesseract-ocr?hl=en
>>>>>>
>>>>>> --- 
>>>>>> 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].
>>>>>>
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>  -- 
>>>> -- 
>>>> You received this message because you are subscribed to the Google
>>>> Groups "tesseract-ocr" group.
>>>> To post to this group, send email to [email protected]
>>>> To unsubscribe from this group, send email to
>>>> [email protected]
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/tesseract-ocr?hl=en
>>>>
>>>> --- 
>>>> 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].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "tesseract-ocr" group.
>> To post to this group, send email to [email protected]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/tesseract-ocr?hl=en
>>
>> --- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

--- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to