parameter not found: tessedit_ocr_psm_mode

85 views
Skip to first unread message

Zohreh Khosrobeygi

unread,
Jul 1, 2018, 11:09:16 AM7/1/18
to tesseract-ocr
Hi, 
when i use the tesstrain.sh, I have been getting this error that is about my fas.config. My config file is:

tessedit_ocr_engine_mode 1
tessedit_ocr_psm_mode 6

The erroe is:

read_params_file: parameter not found: tessedit_ocr_psm_mode
+ [[ 0 -gt 0 ]]
+ export TESSDATA_PREFIX=
+ TESSDATA_PREFIX=
+ for img_file in '${img_files}'
+ check_file_readable /tmp/tmp.AjJgcthbHl/fas/fas.B_Nazanin.exp0.lstmf
+ for file in '$@'
+ [[ ! -r /tmp/tmp.AjJgcthbHl/fas/fas.B_Nazanin.exp0.lstmf ]]
+ err_exit '/tmp/tmp.AjJgcthbHl/fas/fas.B_Nazanin.exp0.lstmf does not exist or is not readable'
+ echo -e 'ERROR: /tmp/tmp.AjJgcthbHl/fas/fas.B_Nazanin.exp0.lstmf' does not exist or is not readable
+ tee -a /tmp/tmp.AjJgcthbHl/fas/tesstrain.log
ERROR: /tmp/tmp.AjJgcthbHl/fas/fas.B_Nazanin.exp0.lstmf does not exist or is not readable
+ exit 1

Could you please help me?


 

Shree Devi Kumar

unread,
Jul 1, 2018, 11:22:08 AM7/1/18
to tesser...@googlegroups.com
what's the output for ?

tesseract -v

which tesseract

which tesstrain.sh

--
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 tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/544fed36-eeb2-484f-a0e1-a3067e489ea8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

Zohreh Khosrobeygi

unread,
Jul 1, 2018, 11:40:19 AM7/1/18
to tesseract-ocr
tesseract 4.0.0-beta.3
 leptonica-1.74.4
  libjpeg 8d (libjpeg-turbo 1.4.2) : libpng 1.2.54 : libtiff 4.0.6 : zlib 1.2.8

 Found AVX2
 Found AVX
 Found SSE
-----------------------------------------------------------------------------------------------------------

Shree Devi Kumar

unread,
Jul 1, 2018, 11:41:20 AM7/1/18
to tesser...@googlegroups.com
correct variable is 

tessedit_pageseg_mode

Zohreh Khosrobeygi

unread,
Jul 1, 2018, 11:43:38 AM7/1/18
to tesseract-ocr
Has it chaned? I used to code :
tessedit_ocr_engine_mode 1
tessedit_ocr_psm_mode 6

Khosrobeigy.zohreh

unread,
Jul 1, 2018, 11:49:48 AM7/1/18
to tesser...@googlegroups.com
Thanx. It worked

correct variable is 

tessedit_pageseg_mode

To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscribe@googlegroups.com.


--

____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com


--

____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

--
You received this message because you are subscribed to a topic in the Google Groups "tesseract-ocr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tesseract-ocr/fiwGpIq3xuU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tesseract-ocr+unsubscribe@googlegroups.com.

To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.

For more options, visit https://groups.google.com/d/optout.



--
Zohreh Khosrobeygi
University of Tehran, 2016

Reply all
Reply to author
Forward
0 new messages