mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-06-07 09:52:40 +08:00
Merge branch 'master' of https://github.com/tesseract-ocr/tesseract
This commit is contained in:
commit
541408763d
2
README
2
README
@ -1,7 +1,7 @@
|
||||
Note that this is a text-only and possibly out-of-date version of the
|
||||
wiki ReadMe, which is located at:
|
||||
|
||||
https://github.com/tesseract-ocr/tesseract/blob/master/README.md
|
||||
https://github.com/tesseract-ocr/tesseract/blob/master/README
|
||||
|
||||
Introduction
|
||||
============
|
||||
|
@ -1490,8 +1490,10 @@ char* TessBaseAPI::GetHOCRText(int page_number) {
|
||||
hocr_str.add_str_int(" ", bottom);
|
||||
hocr_str.add_str_int("; x_wconf ", res_it->Confidence(RIL_WORD));
|
||||
if (font_info) {
|
||||
hocr_str += "; x_font ";
|
||||
hocr_str += HOcrEscape(font_name);
|
||||
if (font_name) {
|
||||
hocr_str += "; x_font ";
|
||||
hocr_str += HOcrEscape(font_name);
|
||||
}
|
||||
hocr_str.add_str_int("; x_fsize ", pointsize);
|
||||
}
|
||||
hocr_str += "'";
|
||||
|
@ -64,7 +64,7 @@ TESS_API TessResultRenderer* TESS_CALL TessBoxTextRendererCreate(const char* out
|
||||
|
||||
TESS_API void TESS_CALL TessDeleteResultRenderer(TessResultRenderer* renderer)
|
||||
{
|
||||
delete [] renderer;
|
||||
delete renderer;
|
||||
}
|
||||
|
||||
TESS_API void TESS_CALL TessResultRendererInsert(TessResultRenderer* renderer, TessResultRenderer* next)
|
||||
|
@ -27,7 +27,7 @@
|
||||
#
|
||||
# All the rest is auto-generated.
|
||||
|
||||
if [ "$1" == "clean" ]; then
|
||||
if [ "$1" = "clean" ]; then
|
||||
echo "Cleaning..."
|
||||
rm configure aclocal.m4
|
||||
rm m4/*
|
||||
|
@ -39,7 +39,7 @@ extern INT_VAR_H(classify_integer_matcher_multiplier, 10,
|
||||
#include "cutoffs.h"
|
||||
|
||||
namespace tesseract {
|
||||
class UnicharRating;
|
||||
struct UnicharRating;
|
||||
}
|
||||
|
||||
struct CP_RESULT_STRUCT {
|
||||
|
Loading…
Reference in New Issue
Block a user