C#에서 Iron Tesseract를 사용하는 방법
C#에서 Iron Tesseract는 IronTesseract 인스턴스를 생성하여 사용하며, 언어와 OCR 설정으로 구성한 후, 이미지 또는 PDF를 포함하는 OcrInput 객체에 대해 Read() 메서드를 호출합니다. 이는 Tesseract 5의 최적화된 엔진을 사용하여 텍스트 이미지를 검색 가능한 PDF로 변환합니다.
IronOCR은 Iron Tesseract라고 알려진 맞춤형으로 최적화된 Tesseract 5를 활용하기 위한 직관적인 API를 제공합니다. IronOCR와 IronTesseract를 사용하면 텍스트 이미지와 스캔된 문서를 텍스트 및 검색 가능한 PDF로 변환할 수 있습니다. 이 라이브러리는 125개의 국제 언어를 지원하며 바코드 읽기 및 컴퓨터 비전과 같은 고급 기능을 포함합니다.
이 예제는 특정 설정으로 IronTesseract를 구성하고 단일 코드 라인에서 OCR을 수행하는 방법을 보여줍니다.
-
1IronOCR를 NuGet Package Manager로 설치하십시오
-
2다음 코드 조각을 복사하여 실행하세요.
var result = new IronOcr.IronTesseract { Language = IronOcr.OcrLanguage.English, Configuration = new IronOcr.TesseractConfiguration { ReadBarCodes = false, RenderSearchablePdf = true, WhiteListCharacters = "ABCabc123" } }.Read("image.png");Dim result = New IronOcr.IronTesseract With { .Language = IronOcr.OcrLanguage.English, .Configuration = New IronOcr.TesseractConfiguration With { .ReadBarCodes = False, .RenderSearchablePdf = True, .WhiteListCharacters = "ABCabc123" } }.Read("image.png")Dim result = New IronOcr.IronTesseract With { .Language = IronOcr.OcrLanguage.English, .Configuration = New IronOcr.TesseractConfiguration With { .ReadBarCodes = False, .RenderSearchablePdf = True, .WhiteListCharacters = "ABCabc123" } }.Read("image.png") -
3실제 운영 환경에서 테스트할 수 있도록 배포하세요.
오늘 프로젝트에서 IronOCR 사용을 시작해보세요 무료 체험
기본 OCR 워크플로우
- NuGet으로 OCR 라이브러리 설치하여 이미지 읽기
- Custom
Tesseract 5활용하여 OCR을 수행하십시오. - 처리할 이미지나 PDF 파일과 같은 원하는 문서를 불러오세요.
- 추출된 텍스트를 콘솔이나 파일에 출력합니다.
- 결과를 검색 가능한 PDF 파일로 저장하세요.
IronTesseract 인스턴스를 어떻게 생성하나요?
다음 코드를 사용하여 Tesseract 객체를 초기화하세요.
using IronOcr;
IronTesseract ocr = new IronTesseract();using IronOcr;
IronTesseract ocr = new IronTesseract();Imports IronOcr
Dim ocr As New IronTesseract()Imports IronOcr
Dim ocr As New IronTesseract()다양한 언어 선택, 바코드 읽기 활성화, 문자 허용/차단 목록 설정을 통해 IronTesseract의 동작을 맞춤화할 수 있습니다. IronOCR는 OCR 프로세스를 미세 조정할 수 있는 포괄적인 구성 옵션을 제공합니다:
IronTesseract ocr = new IronTesseract
{
Configuration = new TesseractConfiguration
{
ReadBarCodes = false,
RenderHocr = true,
TesseractVariables = null,
WhiteListCharacters = null,
BlackListCharacters = "`ë|^",
},
MultiThreaded = false,
Language = OcrLanguage.English,
EnableTesseractConsoleMessages = true, // False as default
};IronTesseract ocr = new IronTesseract
{
Configuration = new TesseractConfiguration
{
ReadBarCodes = false,
RenderHocr = true,
TesseractVariables = null,
WhiteListCharacters = null,
BlackListCharacters = "`ë|^",
},
MultiThreaded = false,
Language = OcrLanguage.English,
EnableTesseractConsoleMessages = true, // False as default
};Dim ocr As New IronTesseract With {
.Configuration = New TesseractConfiguration With {
.ReadBarCodes = False,
.RenderHocr = True,
.TesseractVariables = Nothing,
.WhiteListCharacters = Nothing,
.BlackListCharacters = "`ë|^"
},
.MultiThreaded = False,
.Language = OcrLanguage.English,
.EnableTesseractConsoleMessages = True
}Dim ocr As New IronTesseract With {
.Configuration = New TesseractConfiguration With {
.ReadBarCodes = False,
.RenderHocr = True,
.TesseractVariables = Nothing,
.WhiteListCharacters = Nothing,
.BlackListCharacters = "`ë|^"
},
.MultiThreaded = False,
.Language = OcrLanguage.English,
.EnableTesseractConsoleMessages = True
}구성이 완료되면 Tesseract 기능을 사용하여 OcrInput 객체를 읽을 수 있습니다. OcrInput 클래스는 다양한 입력 형식을 로드하기 위한 유연한 메서드를 제공합니다:
IronTesseract ocr = new IronTesseract();
using OcrInput input = new OcrInput();
input.LoadImage("attachment.png");
OcrResult result = ocr.Read(input);
string text = result.Text;IronTesseract ocr = new IronTesseract();
using OcrInput input = new OcrInput();
input.LoadImage("attachment.png");
OcrResult result = ocr.Read(input);
string text = result.Text;Dim ocr As New IronTesseract()
Using input As New OcrInput()
input.LoadImage("attachment.png")
Dim result As OcrResult = ocr.Read(input)
Dim text As String = result.Text
End UsingDim ocr As New IronTesseract()
Using input As New OcrInput()
input.LoadImage("attachment.png")
Dim result As OcrResult = ocr.Read(input)
Dim text As String = result.Text
End Using복잡한 시나리오의 경우 멀티스레딩 기능을 활용하여 여러 문서를 동시에 처리하여 배치 작업의 성능을 크게 향상시킬 수 있습니다. IronTesseract는 병렬로 실행되는 작업의 양을 제어할 수 있는 두 가지 속성을 노출합니다: MaxDegreeOfParallelism는 단일 Read 호출 내에서 동시 OCR 처리 페이지 수를 제한하며, MultiThreaded는 가장 낮고 예측 가능한 메모리 풋프린트를 위해 병렬 읽기를 완전히 해제합니다. 이는 모두 비동기 및 멀티스레딩 가이드에 설명되어 있습니다.
고급 테서랙트 구성 변수는 무엇인가요?
IronOcr Tesseract 인터페이스는 IronOcr.TesseractConfiguration 클래스를 통해 Tesseract 구성 변수에 대한 완전한 제어를 허용합니다. 이러한 고급 설정은 특히 저품질 스캔 수정 또는 특정 문서 유형 읽기와 같은 특정 사용 사례에 대해 OCR 성능을 최적화할 수 있게 해줍니다.
코드에서 Tesseract 설정을 어떻게 사용하나요?
using IronOcr;
using System;
IronTesseract Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.English;
Ocr.Configuration.PageSegmentationMode = TesseractPageSegmentationMode.AutoOsd;
// Configure Tesseract Engine
Ocr.Configuration.TesseractVariables["tessedit_parallelize"] = false;
using var input = new OcrInput();
input.LoadImage("/path/file.png");
OcrResult Result = Ocr.Read(input);
Console.WriteLine(Result.Text);using IronOcr;
using System;
IronTesseract Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.English;
Ocr.Configuration.PageSegmentationMode = TesseractPageSegmentationMode.AutoOsd;
// Configure Tesseract Engine
Ocr.Configuration.TesseractVariables["tessedit_parallelize"] = false;
using var input = new OcrInput();
input.LoadImage("/path/file.png");
OcrResult Result = Ocr.Read(input);
Console.WriteLine(Result.Text);Imports IronOcr
Imports System
Private Ocr As New IronTesseract()
Ocr.Language = OcrLanguage.English
Ocr.Configuration.PageSegmentationMode = TesseractPageSegmentationMode.AutoOsd
' Configure Tesseract Engine
Ocr.Configuration.TesseractVariables("tessedit_parallelize") = False
Dim input = New OcrInput()
input.LoadImage("/path/file.png")
Dim Result As OcrResult = Ocr.Read(input)
Console.WriteLine(Result.Text)Imports IronOcr
Imports System
Private Ocr As New IronTesseract()
Ocr.Language = OcrLanguage.English
Ocr.Configuration.PageSegmentationMode = TesseractPageSegmentationMode.AutoOsd
' Configure Tesseract Engine
Ocr.Configuration.TesseractVariables("tessedit_parallelize") = False
Dim input = New OcrInput()
input.LoadImage("/path/file.png")
Dim Result As OcrResult = Ocr.Read(input)
Console.WriteLine(Result.Text)IronOCR는 서로 다른 문서 유형에 대해 전문화된 구성을 제공합니다. 예를 들어, 여권 읽기나 MICR 수표 처리 시, 정확도를 높이기 위해 특정 전처리 필터와 영역 감지를 적용할 수 있습니다.
재무 문서에 대한 구성 예시:
// Example: Configure for financial documents
IronTesseract ocr = new IronTesseract
{
Language = OcrLanguage.English,
Configuration = new TesseractConfiguration
{
PageSegmentationMode = TesseractPageSegmentationMode.SingleBlock,
TesseractVariables = new Dictionary<string, object>
{
["tessedit_char_whitelist"] = "0123456789.$,",
["textord_heavy_nr"] = false,
["edges_max_children_per_outline"] = 10
}
}
};
// Apply preprocessing filters for better accuracy
using OcrInput input = new OcrInput();
input.LoadPdf("financial-document.pdf");
input.Deskew();
input.EnhanceResolution(300);
OcrResult result = ocr.Read(input);// Example: Configure for financial documents
IronTesseract ocr = new IronTesseract
{
Language = OcrLanguage.English,
Configuration = new TesseractConfiguration
{
PageSegmentationMode = TesseractPageSegmentationMode.SingleBlock,
TesseractVariables = new Dictionary<string, object>
{
["tessedit_char_whitelist"] = "0123456789.$,",
["textord_heavy_nr"] = false,
["edges_max_children_per_outline"] = 10
}
}
};
// Apply preprocessing filters for better accuracy
using OcrInput input = new OcrInput();
input.LoadPdf("financial-document.pdf");
input.Deskew();
input.EnhanceResolution(300);
OcrResult result = ocr.Read(input);Imports IronOcr
' Example: Configure for financial documents
Dim ocr As New IronTesseract With {
.Language = OcrLanguage.English,
.Configuration = New TesseractConfiguration With {
.PageSegmentationMode = TesseractPageSegmentationMode.SingleBlock,
.TesseractVariables = New Dictionary(Of String, Object) From {
{"tessedit_char_whitelist", "0123456789.$,"},
{"textord_heavy_nr", False},
{"edges_max_children_per_outline", 10}
}
}
}
' Apply preprocessing filters for better accuracy
Using input As New OcrInput()
input.LoadPdf("financial-document.pdf")
input.Deskew()
input.EnhanceResolution(300)
Dim result As OcrResult = ocr.Read(input)
End UsingImports IronOcr
' Example: Configure for financial documents
Dim ocr As New IronTesseract With {
.Language = OcrLanguage.English,
.Configuration = New TesseractConfiguration With {
.PageSegmentationMode = TesseractPageSegmentationMode.SingleBlock,
.TesseractVariables = New Dictionary(Of String, Object) From {
{"tessedit_char_whitelist", "0123456789.$,"},
{"textord_heavy_nr", False},
{"edges_max_children_per_outline", 10}
}
}
}
' Apply preprocessing filters for better accuracy
Using input As New OcrInput()
input.LoadPdf("financial-document.pdf")
input.Deskew()
input.EnhanceResolution(300)
Dim result As OcrResult = ocr.Read(input)
End Using테서랙트의 모든 설정 변수 목록은 무엇입니까?
이는 IronTesseract.Configuration.TesseractVariables["key"] = value;를 사용하여 설정할 수 있습니다. 구성 변수를 사용하면 특정 문서에 맞는 최적의 결과를 얻기 위해 OCR 동작을 세밀하게 조정할 수 있습니다. OCR 성능 최적화에 대한 자세한 지침은 빠른 OCR 구성 가이드를 참조하십시오.
| 테서랙트 설정 변수 | Default | 의미 |
|---|---|---|
| classify_num_cp_levels | 3 | 클래스 가지치기 레벨 수 |
| textord_debug_tabfind | 0 | 디버그 탭 찾기 |
| textord_debug_bugs | 0 | 탭 찾기 버그 관련 출력 기능을 켜세요 |
| textord_testregion_left | -1 | 디버그 보고 사각형의 왼쪽 가장자리 |
| textord_testregion_top | -1 | 디버그 보고 사각형의 상단 가장자리 |
| textord_testregion_right | 2147483647 | 디버그 사각형의 오른쪽 가장자리 |
| textord_testregion_bottom | 2147483647 | 디버그 사각형의 하단 가장자리 |
| textord_tabfind_show_partitions | 0 | 파티션 경계를 표시하고, 1보다 크면 대기합니다. |
| devanagari_split_debuglevel | 0 | 분할된 시로-레카 프로세스의 디버그 레벨입니다. |
| edges_max_children_per_outline | 10 | 문자 윤곽선 내 자식 요소의 최대 개수 |
| edges_max_children_layers | 5 | 캐릭터 윤곽선 내부에 중첩된 자식 요소의 최대 레이어 수 |
| edges_children_per_grandchild | 10 | 외곽선 던지기의 중요도 비율 |
| edges_children_count_limit | 45 | 덩어리에 허용되는 최대 구멍 수 |
| edges_min_nonhole | 12 | 상자 안에 잠재적인 숯을 위한 최소 픽셀 수 |
| edges_patharea_ratio | 40 | 적합한 자식 외곽선에 대한 최대 렌즈/면적 |
| textord_fp_chop_error | 2 | 최대 허용 절단 세포 굽힘 |
| textord_tabfind_show_images | 0 | 이미지 블롭 표시 |
| textord_skewsmooth_offset | 4 | 평활도 요인 |
| textord_skewsmooth_offset2 | 1 | 평활도 요인 |
| textord_test_x | -2147483647 | 테스트 포인트의 좌표 |
| textord_test_y | -2147483647 | 테스트 포인트의 좌표 |
| textord_min_blobs_in_row | 4 | 그래디언트 계산 전 최소 블롭 수 |
| textord_spline_minblobs | 8 | 스플라인 세그먼트당 최소 블롭 수 |
| textord_spline_medianwin | 6 | 스플라인 세분화를 위한 창의 크기 |
| textord_max_blob_overlaps | 4 | 큰 블롭이 겹칠 수 있는 최대 블롭 수 |
| textord_min_xheight | 10 | 신뢰할 수 있는 최소 픽셀 x높이 |
| textord_lms_line_trials | 12 | 수행할 선 맞춤 횟수 |
| oldbl_holed_losscount | 10 | 낙오 선 사용 전 손실 최대치 |
| pitsync_linear_version | 6 | 새로운 빠른 알고리즘 사용 |
| pitsync_fake_depth | 1 | 가짜 생성 최대 진행 |
| textord_tabfind_show_strokewidths | 0 | 스트로크 너비 표시 |
| textord_dotmatrix_gap | 3 | 깨진 픽셀 피치에 대한 최대 픽셀 간격 |
| textord_debug_block | 0 | 디버그할 블록 |
| textord_pitch_range | 2 | 피치에 대한 최대 범위 테스트 |
| textord_words_veto_power | 5 | 거부를 이기기 위해 필요한 행 수 |
| equationdetect_save_bi_image | 0 | 입력된 BI 이미지 저장 |
| equationdetect_save_spt_image | 0 | 특수 문자 이미지 저장 |
| equationdetect_save_seed_image | 0 | 시드 이미지 저장 |
| equationdetect_save_merged_image | 0 | 병합된 이미지 저장 |
| poly_debug | 0 | 오래된 폴리 디버그 |
| poly_wide_objects_better | 1 | 넓은 항목에 대한 보다 정확한 근사치 |
| wordrec_display_splits | 0 | 분할 표시 |
| textord_debug_printable | 0 | 디버그 창을 인쇄 가능하게 만들기 |
| textord_space_size_is_variable | 0 | true일 경우, 문자들에는 고정된 피치가 있지만 단어 구분 공백은 가변 너비로 가정됩니다. |
| textord_tabfind_show_initial_partitions | 0 | 파티션 경계 표시 |
| textord_tabfind_show_reject_blobs | 0 | 노이즈로 거부된 블롭 표시 |
| textord_tabfind_show_columns | 0 | 열 경계 표시 |
| textord_tabfind_show_blocks | 0 | 최종 블록 경계 표시 |
| textord_tabfind_find_tables | 1 | 표 검색 실행 |
| devanagari_split_debugimage | 0 | 분할 시로 레카(Siro-Rekha) 프로세스를 위한 디버그 이미지를 만들지를 결정합니다. |
| textord_show_fixed_cuts | 0 | 고정 피치 셀 경계 그리기 |
| edges_use_new_outline_complexity | 0 | 새로운 외곽선 복잡성 모듈 사용 |
| edges_debug | 0 | 이 모듈에 대한 디버깅 켜기 |
| edges_children_fix | 0 | 문자 같은 자식의 네모진 부모 제거 |
| gapmap_debug | 0 | 테이블이 있는 블록 말하기 |
| gapmap_use_ends | 0 | 행 시작과 끝에서 큰 공백 사용 |
| gapmap_no_isolated_quanta | 0 | 2쿤타(Quantum) 이상의 폭으로 간격 유지 |
| textord_heavy_nr | 0 | 과도하게 노이즈 제거 |
| textord_show_initial_rows | 0 | 행 축적 표시 |
| textord_show_parallel_rows | 0 | 페이지 맞춤 행 표시 |
| textord_show_expanded_rows | 0 | 확장 후 행 표시 |
| textord_show_final_rows | 0 | 최종 맞춤 후 행 표시 |
| textord_show_final_blobs | 0 | 사전 할당된 후 블롭 경계 표시 |
| textord_test_landscape | 0 | 테스트는 육지/포트 참조 |
| textord_parallel_baselines | 1 | 평행 기준선을 강제함 |
| textord_straight_baselines | 0 | 직선 기준선을 강제함 |
| textord_old_baselines | 1 | 오래된 기준선 알고리즘 사용 |
| textord_old_xheight | 0 | 오래된 x높이 알고리즘 사용 |
| textord_fix_xheight_bug | 1 | 스플라인 기준선 사용 |
| textord_fix_makerow_bug | 1 | 다중 기준선 방지 |
| textord_debug_xheights | 0 | x높이 알고리즘 테스트 |
| textord_biased_skewcalc | 1 | 선 길이로 기울기 추정값 편향 |
| textord_interpolating_skew | 1 | 간격으로 보간 |
| textord_new_initial_xheight | 1 | 테스트 x높이 메커니즘 사용 |
| textord_debug_blob | 0 | 테스트 블롭 정보 인쇄 |
| textord_really_old_xheight | 0 | 원래 wiseowl x높이 사용 |
| textord_oldbl_debug | 0 | 오래된 기준선 생성 디버그 |
| textord_debug_baselines | 0 | 기준선 생성 디버그 |
| textord_oldbl_paradef | 1 | 파라 디폴트 메커니즘 사용 |
| textord_oldbl_split_splines | 1 | 스텝 스플라인 분할 |
| textord_oldbl_merge_parts | 1 | 의심스러운 파티션 합병 |
| oldbl_corrfix | 1 | 높이 상관 관계 향상 |
| oldbl_xhfix | 0 | x높이의 모드 임계값 버그 수정 |
| textord_ocropus_mode | 0 | 오크로포스 기준선 만들기 |
| textord_tabfind_only_strokewidths | 0 | 스트로크 너비만 실행 |
| textord_tabfind_show_initialtabs | 0 | 탭 후보 표시 |
| textord_tabfind_show_finaltabs | 0 | 탭 벡터 표시 |
| textord_show_tables | 0 | 표 영역 표시 |
| textord_tablefind_show_mark | 0 | 자세한 테이블 마킹 단계 디버그 |
| textord_tablefind_show_stats | 0 | 표 찾기에 사용된 페이지 통계 표시 |
| textord_tablefind_recognize_tables | 0 | 테이블 레이아웃 및 필터링을 위한 테이블 인식기 활성화. |
| textord_all_prop | 0 | 모든 문서는 비례적 텍스트 |
| textord_debug_pitch_test | 0 | 고정 피치 테스트 디버그 |
| textord_disable_pitch_test | 0 | dp 고정 피치 알고리즘 끄기 |
| textord_fast_pitch_test | 0 | 더 빠른 피치 알고리즘 실행 |
| textord_debug_pitch_metric | 0 | 전체 메트릭 내용을 작성 |
| textord_show_row_cuts | 0 | 행 수준의 컷 표시 |
| textord_show_page_cuts | 0 | 페이지 수준의 컷 표시 |
| textord_pitch_cheat | 0 | 고정/비례에 대한 정답 사용 |
| textord_blockndoc_fixed | 0 | 전체 문서/블록 고정 피치 시도 |
| textord_show_initial_words | 0 | 분리된 단어 표시 |
| textord_show_new_words | 0 | 분리된 단어 표시 |
| textord_show_fixed_words | 0 | 고정 피치 단어 표시 |
| textord_blocksall_fixed | 0 | 비례 블록에 대해 불평 |
| textord_blocksall_prop | 0 | 고정 피치 블록에 대해 불평 |
| textord_blocksall_testing | 0 | 불평 시 통계 덤프 |
| textord_test_mode | 0 | 현재 테스트 실행 |
| textord_pitch_rowsimilarity | 0.08 | 같음에 대한 x높이 비율 |
| words_initial_lower | 0.5 | 최대 초기 클러스터 크기 |
| words_initial_upper | 0.15 | 최소 초기 클러스터 간격 |
| words_default_prop_nonspace | 0.25 | x높이의 비율 |
| words_default_fixed_space | 0.75 | x높이의 비율 |
| words_default_fixed_limit | 0.6 | 허용되는 크기 변동 |
| textord_words_definite_spread | 0.3 | 비가조적인 간격 영역 |
| textord_spacesize_ratiofp | 2.8 | 공간/비공간의 최소 비율 |
| textord_spacesize_ratioprop | 2 | 공간/비공간의 최소 비율 |
| textord_fpiqr_ratio | 1.5 | 피치 IQR/간격 IQR 임계값 |
| textord_max_pitch_iqr | 0.2 | 피치의 Xh 비율 노이즈 |
| textord_fp_min_width | 0.5 | 괜찮은 블롭의 최소 폭 |
| textord_underline_offset | 0.1 | 무시할 x의 비율 |
| ambigs_debug_level | 0 | 유니코드 모호성에 대한 디버그 수준 |
| classify_debug_level | 0 | 분류 디버그 수준 |
| classify_norm_method | 1 | 정규화 방법 ... |
| matcher_debug_level | 0 | 매처 디버그 수준 |
| matcher_debug_flags | 0 | 매처 디버그 플래그 |
| classify_learning_debug_level | 0 | 학습 디버그 수준: |
| matcher_permanent_classes_min | 1 | 영구 클래스의 최소 수 |
| matcher_min_examples_for_prototyping | 3 | 신뢰할 수 있는 구성 임계값 |
| matcher_sufficient_examples_for_prototyping | 5 | 모호성이 관찰되지 않았더라도 적응 허용 |
| classify_adapt_proto_threshold | 230 | 적응 중 좋은 프로토에 대한 임계값 0-255 |
| classify_adapt_feature_threshold | 230 | 적응 중 좋은 특징에 대한 임계값 0-255 |
| classify_class_pruner_threshold | 229 | 클래스 프루너 임계값 0-255 |
| classify_class_pruner_multiplier | 15 | 클래스 프루너 곱셈기 0-255: |
| classify_cp_cutoff_strength | 7 | 클래스 프루너 절단 강도: |
| classify_integer_matcher_multiplier | 10 | 정수 매처 곱셈기 0-255: |
| dawg_debug_level | 0 | 일반 디버그 정보는 1로, 더 자세한 것은 2로, 모든 디버그 메시지를 보려면 3으로 설정 |
| hyphen_debug_level | 0 | 하이픈화된 단어에 대한 디버그 수준. |
| stopper_smallword_size | 2 | 비사전 단어로 간주될 사전 단어의 크기 |
| stopper_debug_level | 0 | Stopper 디버그 수준 |
| tessedit_truncate_wordchoice_log | 10 | 목록에 남길 최대 단어 수 |
| max_permuter_attempts | 10000 | 순열 중 고려할 수 있는 서로 다른 문자 선택의 최대 수. 사용자 패턴이 지정된 경우 특히 유용하며, 너무 일반적인 패턴은 dawg 검색에서 과도한 선택지를 탐색하게 될 수 있습니다. |
| repair_unchopped_blobs | 1 | 잘리지 않은 블롭 수정 |
| chop_debug | 0 | 자르기 디버그 |
| chop_split_length | 10000 | 분할 길이 |
| chop_same_distance | 2 | 동일 거리 |
| chop_min_outline_points | 6 | 외곽선의 최소 포인트 수 |
| chop_seam_pile_size | 150 | seam_pile의 최대 솔기 수 |
| chop_inside_angle | -50 | 최소 내부 각도 굽힘 |
| chop_min_outline_area | 2000 | 최소 외곽선 면적 |
| chop_centered_maxwidth | 90 | 중앙에 가까운 잘림에 대해 신경 쓰지 않는 위의 (작은) 잘린 블롭의 폭. |
| chop_x_y_weight | 3 | X / Y 길이 가중치 |
| wordrec_debug_level | 0 | wordrec에 대한 디버그 수준 |
| wordrec_max_join_chunks | 4 | 연관할 수 있는 최대 깨진 조각 수 |
| segsearch_debug_level | 0 | SegSearch 디버그 수준 |
| segsearch_max_pain_points | 2000 | 큐에 저장된 최대 고통 포인트 수 |
| segsearch_max_futile_classifications | 20 | 더 나은 단어 선택을 찾지 못한 청크당 최대 고통 포인트 분류. |
| language_model_debug_level | 0 | 언어 모델 디버그 수준 |
| language_model_ngram_order | 8 | 문자 ngram 모델의 최대 차수 |
| language_model_viterbi_list_max_num_prunable | 10 | 각 viterbi 목록에 기록된 BLOB_CHOICE의 최대 자르기 가능(PrunablePath()이 true인 경우) 항목 수 |
| language_model_viterbi_list_max_size | 500 | BLOB_CHOICE에 기록된 viterbi 목록의 최대 크기 |
| language_model_min_compound_length | 3 | 복합 단어의 최소 길이 |
| wordrec_display_segmentations | 0 | 세분화 표시 |
| tessedit_pageseg_mode | 6 | 페이지 세그 모드: 0=osd only, 1=auto+osd, 2=auto_only, 3=auto, 4=column, 5=block_vert, 6=block, 7=line, 8=word, 9=word_circle, 10=char,11=sparse_text, 12=sparse_text+osd, 13=raw_line |
| tessedit_ocr_engine_mode | 2 | 실행할 OCR 엔진(Tesseract, LSTM, 둘 다). 가장 정밀한 사용 가능한 것을 로드하고 실행하는 기본값. |
| pageseg_devanagari_split_strategy | 0 | 데바나가리 문서에서 페이지 세분화를 수행할 때 상위 줄 분할 프로세스를 사용할지 여부. |
| ocr_devanagari_split_strategy | 0 | ocr를 수행할 때 데바나가리 문서에 대한 상위 줄 분할 프로세스를 사용할지 여부. |
| bidi_debug | 0 | BiDi에 대한 디버그 수준 |
| applybox_debug | 1 | 디버그 수준 |
| applybox_page | 0 | 박스를 적용할 페이지 번호 |
| tessedit_bigram_debug | 0 | 빅그램 수정에 대한 디버그 출력의 양. |
| debug_noise_removal | 0 | 작은 외곽선의 디버그 재할당 |
| noise_maxperblob | 8 | 블롭에 적용할 최대 발음 기호 |
| noise_maxperword | 16 | 단어에 적용할 최대 발음 기호 |
| debug_x_ht_level | 0 | 디버그 재측정 |
| quality_min_initial_alphas_reqd | 2 | 좋은 단어의 알파 |
| tessedit_tess_adaption_mode | 39 | 테스의 적응성 결정 알고리즘 |
| multilang_debug_level | 0 | 다국어 디버그 정보 출력. |
| paragraph_debug_level | 0 | 문단 디버그 정보 출력. |
| tessedit_preserve_min_wd_len | 2 | 이것보다 더 긴 단어만 보존 |
| crunch_rating_max | 10 | ch당 평가에서 길이를 조정 |
| crunch_pot_indicators | 1 | 얼마나 많은 잠재적 지표가 필요한지 |
| crunch_leave_lc_strings | 4 | 긴 소문자 문자열이 있는 단어는 압축하지 않습니다 |
| crunch_leave_uc_strings | 4 | 긴 소문자 문자열이 있는 단어는 압축하지 않습니다 |
| crunch_long_repetitions | 3 | 긴 반복이 있는 단어 압축 |
| crunch_debug | 0 | 말 그대로 |
| fixsp_non_noise_limit | 1 | 양쪽에 얼마만큼 비노이즈 블롭이 필요할까요? |
| fixsp_done_mode | 1 | 간격에 대해 완료된 것으로 간주되는 것은 무엇인가요 |
| debug_fix_space_level | 0 | 컨텍스트적 고정 협상의 디버그 |
| x_ht_acceptance_tolerance | 8 | 폰트 데이터 외부의 블롭 탑의 허용 최대 편차 |
| x_ht_min_change | 8 | 실제로 시도하기 전에 xht의 최소 변동 |
| superscript_debug | 0 | 들어 올리기 및 내리기 수리기 위한 디버거 수준 |
| jpg_quality | 85 | JPEG 품질 수준 설정 |
| user_defined_dpi | 0 | 입력 이미지의 DPI 지정 |
| min_characters_to_try | 50 | OSD시도 중 시험할 최소 문자 지정 |
| suspect_level | 99 | 의심 표시 수준 |
| suspect_short_words | 2 | 이것보다 긴 사전 단어 의심하지 않음 |
| tessedit_reject_mode | 0 | 거부 알고리즘 |
| tessedit_image_border | 2 | 이미지 가장자리 제한 근처의 거부 블롭 |
| min_sane_x_ht_pixels | 8 | 거부할 x-ht lt 또는 eq |
| tessedit_page_number | -1 | -1 -> 모든 페이지, 그렇지 않으면 처리할 특정 페이지 |
| tessedit_parallelize | 1 | 가능한 경우 병렬로 실행 |
| lstm_choice_mode | 2 | hOCR 출력에 대체 심벌 선택을 포함할 수 있습니다. 유효한 입력 값은 0, 1, 2입니다. 기본값은 0입니다. 1로 설정하면 타임스텝마다 대체 심벌 선택이 포함됩니다. 2로 설정하면 대체 심벌 선택이 격자가 아닌 CTC 프로세스에서 추출됩니다. 선택은 문자별로 매핑됩니다. |
| lstm_choice_iterations | 5 | lstm_choice_mode에서 빔서치에 대한 계단식 반복 횟수를 설정합니다. lstm_choice_mode는 0보다 큰 값으로 설정되어야 결과가 생성됩니다. |
| tosp_debug_level | 0 | 디버그 데이터 |
| tosp_enough_space_samples_for_median | 3 | 또는 평균을 사용할지 여부 |
| tosp_redo_kern_limit | 10 | 행에 대해 재추정하는 데 필요한 샘플 수 |
| tosp_few_samples | 40 | 테이블로 처리하기 위해 1개의 큰 간격을 가진 필요 간격 없음 |
| tosp_short_row | 20 | 적은 인증 공간으로 인증서를 사용하는 요구되는 필요 간격 없음 |
| tosp_sanity_method | 1 | 어리석지 않게 하는 방법 |
| textord_max_noise_size | 7 | 노이즈의 픽셀 크기 |
| textord_baseline_debug | 0 | 기준선 디버그 수준 |
| textord_noise_sizefraction | 10 | 최대치를 위한 크기의 비율 |
| textord_noise_translimit | 16 | 일반 블롭에 대한 전환 |
| textord_noise_sncount | 1 | 행을 저장하기 위한 초강력 블롭 |
| use_ambigs_for_adaption | 0 | '적응할지를 결정하는 데에 모호성을 사용합니다. |
| prioritize_division | 0 | 자르기보다 블롭 분활에 우선순위 부여 |
| classify_enable_learning | 1 | 적응형 분류기 활성화 |
| tess_cn_matching | 0 | 문자 정규화 매칭 |
| tess_bn_matching | 0 | 기준선 정규화 매칭 |
| classify_enable_adaptive_matcher | 1 | 적응형 분류기 활성화 |
| classify_use_pre_adapted_templates | 0 | 사전 적응된 분류기 템플릿 사용 |
| classify_save_adapted_templates | 0 | 파일에 적응된 템플릿 저장 |
| classify_enable_adaptive_debugger | 0 | 매칭 디버거 활성화 |
| classify_nonlinear_norm | 0 | 비선형 스트로크 밀도 정규화 |
| disable_character_fragments | 1 | 분류기의 결과에 문자 조각을 포함하지 않음 |
| classify_debug_character_fragments | 0 | 조각 훈련을 위한 그래픽 디버깅 창 호출 |
| matcher_debug_separate_windows | 0 | 일치 디버깅을 위한 두 개의 서로 다른 창 사용: 하나는 프로토에, 다른 하나는 특성에. |
| classify_bln_numeric_mode | 0 | 입력이 숫자 [0-9]라고 가정. |
| load_system_dawg | 1 | 시스템 단어 dawg 로드. |
| load_freq_dawg | 1 | 빈번한 단어 dawg 로드. |
| load_unambig_dawg | 1 | 명확한 단어 dawg 로드. |
| load_punc_dawg | 1 | 구두점 패턴이 있는 dawg 로드. |
| load_number_dawg | 1 | 숫자 패턴이 있는 dawg 로드. |
| load_bigram_dawg | 1 | 특별한 단어 빅그램을 사용하여 dawg 로드. |
| use_only_first_uft8_step | 0 | 로그 확률을 계산할 때 주어진 문자열의 첫 번째 UTF8 단계만 사용하십시오. |
| stopper_no_acceptable_choices | 0 | AcceptableChoice()가 항상 false를 반환하게 만듭니다. 모든 세분화를 탐색해야 할 때 유용합니다. |
| segment_nonalphabetic_script | 0 | 알파벳 특정 트릭 사용하지 않음. 필기체이거나 본질적으로 고정 피치인 스크립트를 위한 traineddata 구성 파일에서 true로 설정 |
| save_doc_words | 0 | 문서 단어 저장 |
| merge_fragments_in_matrix | 1 | 평가 행렬의 분리 매트릭스를 병합하고 병합 후 삭제합니다. |
| wordrec_enable_assoc | 1 | 연관기 활성화 |
| force_word_assoc | 0 | enable_assoc가 무엇이든 상관없이 연관자를 실행하도록 강제합니다. CJK에서는 구성 요소 그룹화가 필요합니다. |
| chop_enable | 1 | 자르기 활성 |
| chop_vertical_creep | 0 | 수직 크리프 |
| chop_new_seam_pile | 1 | 새로운 seam_pile 사용 |
| assume_fixed_pitch_char_segment | 0 | 문자 분할에 고정 피치 휴리스틱 포함 |
| wordrec_skip_no_truth_words | 0 | BlamerBundle에 진실이 기록된 단어에 대해서만 OCR 실행 |
| wordrec_debug_blamer | 0 | 분석자 디버그 메시지 인쇄 |
| wordrec_run_blamer | 0 | 오류에 대한 책임을 설정하려고 시도 |
| save_alt_choices | 1 | 컷 및 세분화 검색 중 발견된 대체 경로 저장 |
| language_model_ngram_on | 0 | 문자 ngram 모델 사용 켜기/끄기 |
| language_model_ngram_use_ only_first_uft8_step | 0 | 로그 확률을 계산할 때 주어진 문자열의 첫 번째 UTF8 단계만 사용하십시오. |
| language_model_ngram_space_delimited_language | 1 | 단어는 공간으로 구분됩니다 |
| language_model_use_sigmoidal_certainty | 0 | 확신을 위한 sigmoid 점수 사용 |
| tessedit_resegment_from_boxes | 0 | 상자 파일에서 세분화 및 레이블 가져오기 |
| tessedit_resegment_from_line_boxes | 0 | 단어/줄 상자 파일을 문자 상자 파일로 변환 |
| tessedit_train_from_boxes | 0 | 박스화된 문자를 통해 훈련 데이터 생성 |
| tessedit_make_boxes_from_boxes | 0 | 박스화된 문자에서 더 많은 상자 생성 |
| tessedit_train_line_recognizer | 0 | 입력을 줄로 분해하고 상자가 있으면 재매핑 |
| tessedit_dump_pageseg_images | 0 | 페이지 세분화 중에 생성된 중간 이미지 덤프 |
| tessedit_do_invert | 1 | LSTMRecognizeWord에서 이미지를 반전하려 시도 |
| tessedit_ambigs_training | 0 | 모호성에 대한 훈련 수행 |
| tessedit_adaption_debug | 0 | 적용에 대한 디버그 정보 생성 및 인쇄 |
| applybox_learn_chars_and_char_frags_mode | 0 | 특수 저 노출 모드에서와 같이 문자 조각뿐만 아니라 비조각화된 문자도 학습합니다. |
| applybox_learn_ngrams_mode | 0 | 각 바운딩 박스는 ngrams를 포함하고 있는 것으로 가정합니다. 윤곽선이 수평으로 중첩된 ngrams만 학습합니다. |
| tessedit_display_outwords | 0 | 출력 단어 그리기 |
| tessedit_dump_choices | 0 | 문자 선택 덤프 |
| tessedit_timing_debug | 0 | 타이밍 통계 인쇄 |
| tessedit_fix_fuzzy_spaces | 1 | 모호한 공간 개선 시도 |
| tessedit_unrej_any_wd | 0 | 단어 타당성에 신경 쓰지 않음 |
| tessedit_fix_hyphens | 1 | 이중 하이픈을 압축합니까? |
| tessedit_enable_doc_dict | 1 | 문서 사전에 단어 추가 |
| tessedit_debug_fonts | 0 | 문자당 글꼴 정보 출력 |
| tessedit_debug_block_rejection | 0 | 블록 및 행 통계 |
| tessedit_enable_bigram_correction | 1 | 단어 빅그램 사전을 기반으로 수정 활성화. |
| tessedit_enable_dict_correction | 0 | 사전을 기반으로 단일 단어 수정 활성화. |
| enable_noise_removal | 1 | 레이아웃 분석에서 혼란을 주며 발음 기호와 잡음을 결정할 때 작은 외곽선을 제거하고 조건부 재할당 |
| tessedit_minimal_rej_pass1 | 0 | 1회 패스 출력에 대한 최소 거부 수행 |
| tessedit_test_adaption | 0 | 적용 기준 테스트 |
| test_pt | 0 | 포인트 테스트 |
| paragraph_text_based | 1 | 텍스트 인식 후 문단 감지 실행(더 정확함) |
| lstm_use_matrix | 1 | lstm와 함께 평가 행렬/빔 탐색 사용 |
| tessedit_good_quality_unrej | 1 | 좋은 문서의 거부 감소 |
| tessedit_use_reject_spaces | 1 | 공간을 거부합니까? |
| tessedit_preserve_blk_rej_perfect_wds | 1 | 블록 거부 시 부분적으로 거부된 단어만 거부 |
| tessedit_preserve_row_rej_perfect_wds | 1 | 행 거부 시 부분적으로 거부된 단어만 거부 |
| tessedit_dont_blkrej_good_wds | 0 | 단어 구분 품질 메트릭 사용 |
| tessedit_dont_rowrej_good_wds | 0 | 단어 구분 품질 메트릭 사용 |
| tessedit_row_rej_good_docs | 1 | 좋은 문서에 대한 행 거부 적용 |
| tessedit_reject_bad_qual_wds | 1 | 모든 품질이 나쁜 단어 거부 |
| tessedit_debug_doc_rejection | 0 | 페이지 통계 |
| tessedit_debug_quality_metrics | 0 | 디버그 파일에 데이터 출력 |
| bland_unrej | 0 | 체크 없이 잠재적 unrej |
| unlv_tilde_crunching | 0 | 티들(Tilde) 압축을 위해 매우 나쁜 단어 표시 |
| hocr_font_info | 0 | hocr 출력에 글꼴 정보 추가 |
| hocr_char_boxes | 0 | 각 문자의 좌표를 hocr 출력에 추가 |
| crunch_early_merge_tess_fails | 1 | 단어 압축 전에? |
| crunch_early_convert_bad_unlv_chs | 0 | ~^ 조기 제거? |
| crunch_terrible_garbage | 1 | 말 그대로 |
| crunch_leave_ok_strings | 1 | 합리적인 문자열 건들지 않기 |
| crunch_accept_ok | 1 | 허용 가능한 okstring 사용 |
| crunch_leave_accept_strings | 0 | 합리적인 문자열 포크 압축하지 않기 |
| crunch_include_numerals | 0 | 알파 수치 조작 |
| tessedit_prefer_joined_punct | 0 | 구두점 결합 보상 |
| tessedit_write_block_separators | 0 | 출력물에 블록 구분자 작성 |
| tessedit_write_rep_codes | 0 | 반복 문자 코드 작성 |
| tessedit_write_unlv | 0 | .unlv 출력 파일 작성 |
| tessedit_create_txt | 0 | .txt 출력 파일 작성 |
| tessedit_create_hocr | 0 | .html hOCR 출력 파일 작성 |
| tessedit_create_alto | 0 | .xml ALTO 파일 작성 |
| tessedit_create_lstmbox | 0 | LSTM 훈련을 위한 .box 파일 작성 |
| tessedit_create_tsv | 0 | .tsv 출력 파일 작성 |
| tessedit_create_wordstrbox | 0 | WordStr 형식의 .box 출력 파일 작성 |
| tessedit_create_pdf | 0 | .pdf 출력 파일 작성 |
| textonly_pdf | 0 | 보이지 않는 텍스트 레이어가 하나인 PDF 생성 |
| suspect_constrain_1Il | 0 | UNLV는 1Il 문자를 거부합니다 |
| tessedit_minimal_rejection | 0 | tess 실패만 거부 |
| tessedit_zero_rejection | 0 | 아무 것도 거부하지 않음 |
| tessedit_word_for_word | 0 | 출력물이 정확히 WERD당 하나의 단어를 포함하도록 만들기 |
| tessedit_zero_kelvin_rejection | 0 | 아무 것도 전혀 거부하지 않음 |
| tessedit_rejection_debug | 0 | 적응 디버그 |
| tessedit_flip_0O | 1 | 컨텍스트 0O O0 번전 |
| rej_trust_doc_dawg | 0 | 11l conf. 탐지기에 DOC dawg 사용 |
| rej_1Il_use_dict_word | 0 | 사전 단어 테스트 사용 |
| rej_1Il_trust_permuter_type | 1 | 이중 체크하지 않기 |
| rej_use_tess_accepted | 1 | 개별 거부 제어 |
| rej_use_tess_blanks | 1 | 개별 거부 제어 |
| rej_use_good_perm | 1 | 개별 거부 제어 |
| rej_use_sensible_wd | 0 | 퍼뮤터 검사 확장 |
| rej_alphas_in_number_perm | 0 | 퍼뮤터 검사 확장 |
| tessedit_create_boxfile | 0 | 상자가 포함된 텍스트 출력 |
| tessedit_write_images | 0 | IPE에서 이미지를 캡처 |
| interactive_display_mode | 0 | 대화식으로 실행? |
| tessedit_override_permuter | 1 | 사전 단어에 따라 |
| tessedit_use_primary_params_model | 0 | 다국어 모드에서 주 언어의 매개변수 모델 사용 |
| textord_tabfind_show_vlines | 0 | 디버그 라인 찾기 |
| textord_use_cjk_fp_model | 0 | CJK 고정 피치 모델 사용 |
| poly_allow_detailed_fx | 0 | 특징 추출기가 원래 외곽선을 볼 수 있도록 허용 |
| tessedit_init_config_only | 0 | 구성 파일로만 초기화. 인스턴스가 OCR을 위해 사용되지 않고 오로지 레이아웃 분석에만 사용될 때 유용합니다. |
| textord_equation_detect | 0 | equation detector 켜기 |
| textord_tabfind_vertical_text | 1 | 수직 탐지 활성화 |
| textord_tabfind_force_vertical_text | 0 | 수직 텍스트 페이지 모드를 강제 사용 |
| preserve_interword_spaces | 0 | 다중 단어 간격 보존 |
| pageseg_apply_music_mask | 1 | 음악 스태프 감지 및 교차 구성 요소 제거 |
| textord_single_height_mode | 0 | 스크립트에는 x높이가 없으므로 하나의 모드만 사용 |
| tosp_old_to_method | 0 | 공간 통계를 자르기 전 사용? |
| tosp_old_to_constrain_sp_kn | 0 | old_to_method에 대한 단어 간 및 단어 내 간격의 상대 값을 제한합니다. |
| tosp_only_use_prop_rows | 1 | 고정 피치 행을 사용하기 위한 블록 통계? |
| tosp_force_wordbreak_on_punct | 0 | 공간이 없는 언어에서 긴 줄을 나누기 위해 구두점에서 단어 끊기를 강제함 |
| tosp_use_pre_chopping | 0 | 공간 통계를 자르기 전 사용? |
| tosp_old_to_bug_fix | 0 | 오래된 코드의 의심되는 버그 고치기 |
| tosp_block_use_cert_spaces | 1 | 명백한 공간만 통계 |
| tosp_row_use_cert_spaces | 1 | 명백한 공간만 통계 |
| tosp_narrow_blobs_not_cert | 1 | 명백한 공간만 통계 |
| tosp_row_use_cert_spaces1 | 1 | 명백한 공간만 통계 |
| tosp_recovery_isolated_row_stats | 1 | 불충분한 인증된 공간이 있을 때 행만 사용 |
| tosp_only_small_gaps_for_kern | 0 | 더 좋은 추측 |
| tosp_all_flips_fuzzy | 0 | ANY 번전을 컨텍스트로 전달? |
| tosp_fuzzy_limit_all | 1 | kn->sp 모호한 한계를 표에 제한하지 않음 |
| textord_no_rejects | 0 | 노이즈 블롭 제거하지 않음 |
| textord_show_blobs | 0 | 정렬되지 않은 블롭 표시 |
| textord_show_boxes | 0 | 정렬되지 않은 블롭 표시 |
| textord_noise_rejwords | 1 | 노이즈 같은 단어 거부 |
| textord_noise_rejrows | 1 | 노이즈 같은 행 거부 |
| textord_noise_debug | 0 | 행 쓰레기 탐지기 디버그 |
| classify_learn_debug_str | 학습 디버그를 위한 클래스 문자열 | |
| user_words_file | 사용자 제공 단어의 파일 이름입니다. | |
| user_words_suffix | tessdata에 위치한 사용자 제공 단어의 접미사입니다. | |
| user_patterns_file | 사용자 제공 패턴의 파일 이름입니다. | |
| user_patterns_suffix | tessdata에 위치한 사용자 제공 패턴의 접미사입니다. | |
| output_ambig_words_file | 사전에 있는 모호성으로 발견된 결과 파일 | |
| word_to_debug | stdout에 인쇄되어야 하는 stopper 디버그 정보에 대한 단어 | |
| tessedit_char_blacklist | 인식하지 않을 문자 블랙리스트 | |
| tessedit_char_whitelist | 인식할 문자 화이트리스트 | |
| tessedit_char_unblacklist | tessedit_char_blacklist를 무시할 문자 목록 | |
| tessedit_write_params_to_file | 모든 매개 변수를 지정된 파일에 기록합니다. | |
| applybox_exposure_pattern | .exp | 노출 값은 이미지 파일 이름의 이 패턴을 따릅니다. 이미지 파일의 이름은 [lang].[fontname].exp [num].tif 형식이어야 합니다. |
chs_leading_punct('"</td><td>선행 구두점</td><td></td></tr> <tr><td>chs_trailing_punct1</td><td>).,;:?!</td><td>첫 번째 후행 구두점 </td></tr> <tr><td>chs_trailing_punct2)'" | 2번째 끝점 구두점 | |
| outlines_odd | %| | 비표준 윤곽선 수 |
| outlines_2ij!?%":; | 비표준 윤곽선 수 | |
| numeric_punctuation | ., | 숫자 내에 예상되는 구두점 chs |
| unrecognised_char | | | 식별되지 않은 블롭의 출력 문자 |
| ok_repeated_ch_non_alphanum_wds | -?*= | NN이 unrej하도록 허용 |
| conflict_set_I_l_1 | Il1 [] | Il1 충돌 세트 |
| file_type | .tif | 파일 이름 확장자 |
| tessedit_load_sublangs | 이 언어와 함께 로드할 언어 목록 | |
| page_separator | 페이지 구분자(기본값은 양식 피드 제어 문자) | |
| classify_char_norm_range | 0.2 | 문자 정규화 범위 ... |
| classify_max_rating_ratio | 1.5 | 분류기 등급 간 거부 비율 |
| classify_max_certainty_margin | 5.5 | 분류기 확실성 간 차이 거부 |
| matcher_good_threshold | 0.125 | 좋은 일치 (0-1) |
| matcher_reliable_adaptive_result | 0 | 훌륭한 일치 (0-1) |
| matcher_perfect_threshold | 0.02 | 완벽한 일치 (0-1) |
| matcher_bad_match_pad | 0.15 | 나쁜 일치 패드 (0-1) |
| matcher_rating_margin | 0.1 | 새 템플릿 마진 (0-1) |
| matcher_avg_noise_size | 12 | 평균 노이즈 블롭 길이 |
| matcher_clustering_max_angle_delta | 0.015 | 프로토타입 클러스터링을 위한 최대 각도 델타 |
| classify_misfit_junk_penalty | 0 | 예상 텍스트 라인 위치에서 수직으로 벗어난 비-알파벳에 적용할 벌칙 |
| rating_scale | 1.5 | 등급 스케일링 팩터 |
| certainty_scale | 20 | 확실성 스케일링 팩터 |
| tessedit_class_miss_scale | 0.00390625 | 미사용 특징의 스케일링 팩터 |
| classify_adapted_pruning_factor | 2.5 | 최고 결과보다 이만큼 더 나쁜 적응된 결과를 제거합니다. |
| classify_adapted_pruning_threshold | -1 | classify_adapted_pruning_factor가 시작되는 임계값 |
| classify_character_fragments_garbage_certainty_threshold | -3 | 전체 문자처럼 보이지 않는 조각을 훈련 및 적응에서 제외 |
| speckle_large_max_size | 0.3 | 최대 큰 반점 크기 |
| speckle_rating_penalty | 10 | 노이즈에 대한 최악의 등급에 추가할 벌금 |
| xheight_penalty_subscripts | 0.125 | 문자에 첨자가 있지만 그렇지 않으면 괜찮은 경우 0.1(=10%)의 점수 벌칙 |
| xheight_penalty_inconsistent | 0.25 | x높이가 일관성이 없는 경우 추가된 0.1(=10%) 점수 벌칙 |
| segment_penalty_dict_frequent_word | 1 | 주어진 언어에서 대/소문자와 빈도가 좋은 단어 매치에 대한 점수 배수(낮을수록 좋음). |
| segment_penalty_dict_case_ok | 1.1 | 대-소문자가 좋은 단어 매치에 대한 점수 배수(낮을수록 좋음). |
| segment_penalty_dict_case_bad | 1.3125 | 대-소문자 문제가 있을 수 있는 단어 매치에 대한 기본 점수 배수(낮을수록 좋음). |
| segment_penalty_dict_nonword | 1.25 | 사전 단어와 일치하지 않는 글리프 조각 세분화에 대한 점수 배수(낮을수록 좋음). |
| certainty_scale | 20 | 확실성 스케일링 팩터 |
| stopper_nondict_certainty_base | -2.5 | 비사전 단어에 대한 확실성 임계값 |
| stopper_phase2_certainty_rejection_offset | 1 | 확실성 거부 오프셋 |
| stopper_certainty_per_char | -0.5 | 작은 단어 크기 이상의 사전 문자당 추가할 확실성. |
| stopper_allowable_character_badness | 3 | 단어에서 허용되는 최대 확실성 변동(시그마) |
| doc_dict_pending_threshold | 0 | 보류 중인 사전을 사용할 수 있는 최악의 확실성 |
| doc_dict_certainty_threshold | -2.25 | 문서 사전에 삽입할 수 있는 단어의 최악의 확실성 |
| tessedit_certainty_threshold | -2.25 | 좋은 블롭 한계 |
| chop_split_dist_knob | 0.5 | 분할 길이 조정 |
| chop_overlap_knob | 0.9 | 분할 중첩 조정 |
| chop_center_knob | 0.15 | 분할 중심 조정 |
| chop_sharpness_knob | 0.06 | 분할 선명도 조정 |
| chop_width_change_knob | 5 | 너비 변경 조정 |
| chop_ok_split | 100 | 확인 분할 한계 |
| chop_good_split | 50 | 좋은 분할 한계 |
| segsearch_max_char_wh_ratio | 2 | 최대 문자 너비 대 높이 비율 |
최상의 결과를 위해 OCR을 적용하기 전에 IronOCR의 이미지 전처리 필터를 사용하는 것이 권장됩니다. 특히 저품질 스캔 또는 테이블과 같은 복잡한 문서를 작업할 때 이러한 필터는 정확도를 극적으로 향상시킬 수 있습니다.
자주 묻는 질문
Iron Tesseract를 C#에서 OCR에 어떻게 설정합니까?
Iron Tesseract를 C#에서 사용하려면 IronTesseract 인스턴스를 생성하고 원하는 언어 및 OCR 설정으로 구성한 다음, 이미지나 PDF가 포함된 OcrInput 객체에서 Read() 메서드를 호출하십시오. 이 설정은 효율적인 텍스트 인식과 검색 가능한 PDF로의 변환을 가능하게 합니다.
Iron Tesseract에서 지원하는 고급 기능은 무엇입니까?
최적화된 Tesseract 5 엔진을 기반으로 한 Iron Tesseract는 바코드 읽기, 컴퓨터 비전 및 여러 언어에 대한 OCR 처리를 지원합니다. 문자 허용/비허용 목록 및 맞춤형 구성 변수와 같은 기능을 포함하여 맞춤형 OCR 프로세스를 제공합니다.
Iron Tesseract가 여러 언어를 처리할 수 있습니까?
네, Iron Tesseract는 125개의 국제 언어에 대한 OCR을 지원합니다. 문서 요구 사항에 가장 적합한 언어 구성을 설정하여 정확한 텍스트 추출을 실현할 수 있습니다.
Iron Tesseract를 사용하여 OCR 정확도를 어떻게 높일 수 있습니까?
Iron Tesseract의 이미지 전처리 필터를 활용하여 OCR 정확도를 높일 수 있습니다. 저품질 스캔이나 복잡한 문서 레이아웃을 처리할 때 입력 이미지를 최적화하여 OCR 결과를 개선합니다.
Iron Tesseract를 사용하여 바코드를 읽을 수 있습니까?
네, Iron Tesseract는 바코드 읽기를 위해 구성할 수 있습니다. TesseractConfiguration 옵션에서 바코드 읽기를 활성화하여 바코드 데이터와 텍스트를 함께 추출할 수 있습니다.
금융 문서를 처리하기 위해 Iron Tesseract를 어떻게 구성합니까?
금융 문서를 처리하려면 Iron Tesseract를 구성하여 PageSegmentationMode를 SingleBlock으로 설정하고 금융 텍스트에 일반적으로 사용되는 숫자 및 기호에 대한 문자 허용 목록을 명시하십시오. 개선된 정확도를 위해 비뚤기 수정 및 해상도 강화와 같은 전처리 필터를 적용합니다.
Iron Tesseract에서 멀티스레딩의 역할은 무엇입니까?
Iron Tesseract의 멀티스레딩은 여러 문서의 동시 처리를 가능하게 하여, 대용량 데이터 세트에서 더욱 빠른 텍스트 추출을 가능하게 하는 배치 작업 성능을 크게 향상시킵니다.
Iron Tesseract에서 OCR 결과를 검색 가능한 PDF로 어떻게 저장합니까?
Iron Tesseract에서 OCR 결과를 검색 가능한 PDF로 저장하려면 TesseractConfiguration에서 RenderSearchablePdf를 true로 설정하십시오. 이렇게 하면 출력이 검색 가능한 PDF로 구성되어 텍스트 레이아웃을 보존하고 문서 접근성을 향상시킵니다.
Tesseract 구성 변수는 무엇이며 어떻게 사용됩니까?
Iron Tesseract의 Tesseract 구성 변수는 OCR 처리를 맞춤화 할 수 있게 해줍니다. IronTesseract.Configuration.TesseractVariables를 통해 설정할 수 있으며, 저품질 스캔 복구 또는 특정 문서 형식 타겟팅과 같은 작업을 최적화할 수 있습니다.
Iron Tesseract를 사용하여 OCR 용 이미지를 어떻게 로드합니까?
Iron Tesseract에서는 OcrInput 클래스를 사용하여 OCR 용 이미지를 로드할 수 있습니다. 이 클래스는 PNG, JPEG 또는 PDF와 같은 여러 포맷을 로드하는 메서드를 제공하며 IronTesseract 인스턴스에서 처리하여 텍스트를 추출하고 읽을 수 있습니다.
커티스 차우는 칼턴 대학교에서 컴퓨터 과학 학사 학위를 취득했으며, Node.js, TypeScript, JavaScript, React를 전문으로 하는 프론트엔드 개발자입니다. 직관적이고 미적으로 뛰어난 사용자 인터페이스를 만드는 데 열정을 가진 그는 최신 프레임워크를 활용하고, 잘 구성되고 시각적으로 매력적인 매뉴얼을 제작하는 것을 즐깁니다.