image.doc\doc_scene.mbt
100% · 0 / 0 points · 855 linesBackground color reports the state of each line. Underlined characters mark exact instrumented byte offsets; hover them to inspect the visit count.
- 1
// Generated by scripts/gen_scenes.mjs from docs/scenes.json + pkg.generated.mbti. - 2
// DON'T EDIT IT —— 改归属请改 docs/scenes.json,然后 node scripts/gen_scenes.mjs。 - 3
// 文档场景(扫描件 / 票据 / 证件 / 表单):4 个原子包合成为一个入口, - 4
// 下游 `moon add walkzzz/image.doc` 后不必再记子包路径。 - 5
// 本包零实现:全部是同签名再导出(`pub using`),实现与测试仍在原子包内。 - 6
- 7
///| - 8
pub using @ocr {type AccuracyStats} - 9
- 10
///| - 11
pub using @ocr {type AdaptivePreprocessConfig} - 12
- 13
///| - 14
pub using @ocr {type AdvancedChineseOcrConfig} - 15
- 16
///| - 17
pub using @ocr {type ApiServerConfig} - 18
- 19
///| - 20
pub using @ocr {type AugmentationConfig} - 21
- 22
///| - 23
pub using @ocr {type AugmentationType} - 24
- 25
///| - 26
pub using @ocr {type BatchOcrConfig} - 27
- 28
///| - 29
pub using @ocr {type BatchProgress} - 30
- 31
///| - 32
pub using @ocr {type BatchResultSummary} - 33
- 34
///| - 35
pub using @ocr {type BatchTask} - 36
- 37
///| - 38
pub using @ocr {type BatchTaskStatus} - 39
- 40
///| - 41
pub using @ocr {type CharRecognitionResult} - 42
- 43
///| - 44
pub using @ocr {type CharSegment} - 45
- 46
///| - 47
pub using @ocr {type ChineseCharInfo} - 48
- 49
///| - 50
pub using @ocr {type ChineseCharStructure} - 51
- 52
///| - 53
pub using @ocr {type ChineseOcrConfig} - 54
- 55
///| - 56
pub using @ocr {type ChineseRadical} - 57
- 58
///| - 59
pub using @ocr {type ClassificationResult} - 60
- 61
///| - 62
pub using @ocr {type CliConfig} - 63
- 64
///| - 65
pub using @ocr {type CommonErrorPattern} - 66
- 67
///| - 68
pub using @ocr {type ComplexLayoutAnalysis} - 69
- 70
///| - 71
pub using @ocr {type ComplexLayoutType} - 72
- 73
///| - 74
pub using @ocr {type ConfusionEntry} - 75
- 76
///| - 77
pub using @ocr {type ConfusionMatrix} - 78
- 79
///| - 80
pub using @ocr {type CorrectionEntry} - 81
- 82
///| - 83
pub using @ocr {type CorrectionResult} - 84
- 85
///| - 86
pub using @ocr {type DLCnnModelConfig} - 87
- 88
///| - 89
pub using @ocr {type DLConv2DConfig} - 90
- 91
///| - 92
pub using @ocr {type DLDenseConfig} - 93
- 94
///| - 95
pub using @ocr {type DLFeatureExtractor} - 96
- 97
///| - 98
pub using @ocr {type DLInferenceResult} - 99
- 100
///| - 101
pub using @ocr {type DLLayerType} - 102
- 103
///| - 104
pub using @ocr {type DLNeuralLayer} - 105
- 106
///| - 107
pub using @ocr {type DLTrainingHistory} - 108
- 109
///| - 110
pub using @ocr {type DLTrainingSample} - 111
- 112
///| - 113
pub using @ocr {type DataLoader} - 114
- 115
///| - 116
pub using @ocr {type DeploymentEnvironment} - 117
- 118
///| - 119
pub using @ocr {type DictCharEntry} - 120
- 121
///| - 122
pub using @ocr {type DictCharMatch} - 123
- 124
///| - 125
pub using @ocr {type DictCharStructure} - 126
- 127
///| - 128
pub using @ocr {type DictChineseDict} - 129
- 130
///| - 131
pub using @ocr {type DictComponent} - 132
- 133
///| - 134
pub using @ocr {type DictComponentResult} - 135
- 136
///| - 137
pub using @ocr {type Dictionary} - 138
- 139
///| - 140
pub using @ocr {type DictionaryEntry} - 141
- 142
///| - 143
pub using @ocr {type DigitOcrConfig} - 144
- 145
///| - 146
pub using @ocr {type DistanceMetric} - 147
- 148
///| - 149
pub using @ocr {type DistortionDetectionResult} - 150
- 151
///| - 152
pub using @ocr {type DistortionType} - 153
- 154
///| - 155
pub using @ocr {type DockerConfig} - 156
- 157
///| - 158
pub using @ocr {type DocumentBlock} - 159
- 160
///| - 161
pub using @ocr {type DocumentBlockType} - 162
- 163
///| - 164
pub using @ocr {type DocumentElement} - 165
- 166
///| - 167
pub using @ocr {type DocumentElementType} - 168
- 169
///| - 170
pub using @ocr {type DocumentStructure} - 171
- 172
///| - 173
pub using @ocr {type DocumentTreeNode} - 174
- 175
///| - 176
pub using @ocr {type DocumentUnderstandingEnhancedConfig} - 177
- 178
///| - 179
pub using @ocr {type DropFallResult} - 180
- 181
///| - 182
pub using @ocr {type EnglishOcrConfig} - 183
- 184
///| - 185
pub using @ocr {type EnhancedChineseOcrConfig} - 186
- 187
///| - 188
pub using @ocr {type EnhancedDocument} - 189
- 190
///| - 191
pub using @ocr {type EnhancedDocumentElement} - 192
- 193
///| - 194
pub using @ocr {type EnhancedTableResult} - 195
- 196
///| - 197
pub using @ocr {type EnsembleConfig} - 198
- 199
///| - 200
pub using @ocr {type ErrorAnalysisEntry} - 201
- 202
///| - 203
pub using @ocr {type ErrorAnalysisReport} - 204
- 205
///| - 206
pub using @ocr {type ExtractedImage} - 207
- 208
///| - 209
pub using @ocr {type GridFeatures} - 210
- 211
///| - 212
pub using @ocr {type HandwritingCharFeature} - 213
- 214
///| - 215
pub using @ocr {type HandwritingOcrConfig} - 216
- 217
///| - 218
pub using @ocr {type HandwritingOcrEnhancedConfig} - 219
- 220
///| - 221
pub using @ocr {type HandwritingRecognitionConfig} - 222
- 223
///| - 224
pub using @ocr {type HandwritingRecognitionResult} - 225
- 226
///| - 227
pub using @ocr {type HandwritingStrokeFeatures} - 228
- 229
///| - 230
pub using @ocr {type HandwritingStyle} - 231
- 232
///| - 233
pub using @ocr {type HandwritingTemplate} - 234
- 235
///| - 236
pub using @ocr {type HogFeatures} - 237
- 238
///| - 239
pub using @ocr {type KnnClassifier} - 240
- 241
///| - 242
pub using @ocr {type LRSchedulerConfig} - 243
- 244
///| - 245
pub using @ocr {type LRSchedulerType} - 246
- 247
///| - 248
pub using @ocr {type LanguageDetectionResult} - 249
- 250
///| - 251
pub using @ocr {type LanguageModelState} - 252
- 253
///| - 254
pub using @ocr {type LanguageType} - 255
- 256
///| - 257
pub using @ocr {type LayoutType} - 258
- 259
///| - 260
pub using @ocr {type LbpFeatures} - 261
- 262
///| - 263
pub using @ocr {type ListItemInfo} - 264
- 265
///| - 266
pub using @ocr {type ListItemType} - 267
- 268
///| - 269
pub using @ocr {type MarkdownDocument} - 270
- 271
///| - 272
pub using @ocr {type MarkdownElement} - 273
- 274
///| - 275
pub using @ocr {type MarkdownElementType} - 276
- 277
///| - 278
pub using @ocr {type MarkdownImage} - 279
- 280
///| - 281
pub using @ocr {type MarkdownSymbol} - 282
- 283
///| - 284
pub using @ocr {type MarkdownTable} - 285
- 286
///| - 287
pub using @ocr {type MemoryUsageStats} - 288
- 289
///| - 290
pub using @ocr {type ModelPackageConfig} - 291
- 292
///| - 293
pub using @ocr {type MultilingualOcrConfig} - 294
- 295
///| - 296
pub using @ocr {type MultilingualOcrEnhancedConfig} - 297
- 298
///| - 299
pub using @ocr {type NgramModel} - 300
- 301
///| - 302
pub using @ocr {type OCRPageResult} - 303
- 304
///| - 305
pub using @ocr {type OcrAccuracyEnhancedConfig} - 306
- 307
///| - 308
pub using @ocr {type OcrBenchChar} - 309
- 310
///| - 311
pub using @ocr {type OcrBenchReport} - 312
- 313
///| - 314
pub using @ocr {type OcrCharResult} - 315
- 316
///| - 317
pub using @ocr {type OcrConfusion} - 318
- 319
///| - 320
pub using @ocr {type OcrConnectedComponent} - 321
- 322
///| - 323
pub using @ocr {type OcrConnectedComponentsResult} - 324
- 325
///| - 326
pub using @ocr {type OcrErrorType} - 327
- 328
///| - 329
pub using @ocr {type OcrResult} - 330
- 331
///| - 332
pub using @ocr {type OptimizerConfig} - 333
- 334
///| - 335
pub using @ocr {type OptimizerType} - 336
- 337
///| - 338
pub using @ocr {type PageRegion} - 339
- 340
///| - 341
pub using @ocr {type PageRegionType} - 342
- 343
///| - 344
pub using @ocr {type PerformanceBenchmark} - 345
- 346
///| - 347
pub using @ocr {type PostProcessConfig} - 348
- 349
///| - 350
pub using @ocr {type ProjectionFeatures} - 351
- 352
///| - 353
pub using @ocr {type ProjectionResult} - 354
- 355
///| - 356
pub using @ocr {type PunctuationTemplate} - 357
- 358
///| - 359
pub using @ocr {type RobustnessReport} - 360
- 361
///| - 362
pub using @ocr {type ScanOCRConfig} - 363
- 364
///| - 365
pub using @ocr {type ScanQuality} - 366
- 367
///| - 368
pub using @ocr {type ScanQualityLevel} - 369
- 370
///| - 371
pub using @ocr {type SimilarCharMapping} - 372
- 373
///| - 374
pub using @ocr {type SplitPoint} - 375
- 376
///| - 377
pub using @ocr {type StatisticalFeatures} - 378
- 379
///| - 380
pub using @ocr {type StrokeFeature} - 381
- 382
///| - 383
pub using @ocr {type StrokeSegmentationResult} - 384
- 385
///| - 386
pub using @ocr {type StrokeType} - 387
- 388
///| - 389
pub using @ocr {type TableCell} - 390
- 391
///| - 392
pub using @ocr {type TableCellContent} - 393
- 394
///| - 395
pub using @ocr {type TableDetectionResult} - 396
- 397
///| - 398
pub using @ocr {type TableLine} - 399
- 400
///| - 401
pub using @ocr {type TableLineType} - 402
- 403
///| - 404
pub using @ocr {type TableStructure} - 405
- 406
///| - 407
pub using @ocr {type TemplateMatcher} - 408
- 409
///| - 410
pub using @ocr {type TextBlock} - 411
- 412
///| - 413
pub using @ocr {type TextLine} - 414
- 415
///| - 416
pub using @ocr {type TextLineAttributes} - 417
- 418
///| - 419
pub using @ocr {type TextLineInfo} - 420
- 421
///| - 422
pub using @ocr {type TextRegion} - 423
- 424
///| - 425
pub using @ocr {type TextRegionType} - 426
- 427
///| - 428
pub using @ocr {type TrainingConfig} - 429
- 430
///| - 431
pub using @ocr {type TrainingDataset} - 432
- 433
///| - 434
pub using @ocr {type TrainingMetrics} - 435
- 436
///| - 437
pub using @ocr {type TrainingSample} - 438
- 439
///| - 440
pub using @ocr {type TrainingState} - 441
- 442
///| - 443
pub using @ocr { - 444
adaptive_threshold_ocr, - 445
advanced_chinese_ocr_default_config, - 446
analyze_complex_layout, - 447
analyze_document_layout, - 448
analyze_layout_enhanced, - 449
analyze_layout_scan, - 450
analyze_markdown_element_distribution, - 451
analyze_table_results, - 452
analyze_table_structure, - 453
apply_augmentation, - 454
augment_features, - 455
augment_random_noise, - 456
augment_random_rotation, - 457
augment_random_scale, - 458
augment_random_shift, - 459
background_normalization, - 460
batch_correct_texts, - 461
batch_recognize_chars, - 462
batch_scan_ocr, - 463
batch_summary_to_string, - 464
build_document_structure_tree, - 465
build_enhanced_elements, - 466
build_gaussian_kernel_lut, - 467
build_grayscale_lut, - 468
build_markdown_document, - 469
build_threshold_lut, - 470
cache_friendly_horizontal_projection, - 471
cache_friendly_vertical_projection, - 472
calculate_accuracy, - 473
calculate_accuracy_improvement, - 474
calculate_accuracy_stats, - 475
calculate_batch_progress, - 476
calculate_char_accuracy, - 477
calculate_chinese_similarity, - 478
calculate_edit_distance, - 479
calculate_learning_rate, - 480
calculate_word_accuracy, - 481
calibrate_confidence_enhanced, - 482
chebyshev_distance, - 483
check_accuracy_threshold, - 484
check_early_stopping, - 485
chinese_ocr_default_config, - 486
classify_markdown_element, - 487
cnn_confusion_matrix, - 488
cnn_infer, - 489
cnn_recognize_char, - 490
cnn_recognize_digits, - 491
cnn_recognize_letters, - 492
cnn_train, - 493
cnn_train_step, - 494
combined_features, - 495
complete_char_segmentation, - 496
compute_confusion_matrix, - 497
compute_distance, - 498
compute_per_class_accuracy, - 499
compute_reading_order, - 500
connected_components_analysis, - 501
conv2d, - 502
correct_common_patterns, - 503
correct_similar_chars, - 504
correct_slant, - 505
cosine_distance, - 506
cosine_similarity, - 507
create_batch_tasks, - 508
create_data_loader, - 509
create_default_api_server_config, - 510
create_default_batch_config, - 511
create_default_char_cnn_config, - 512
create_default_chinese_dictionary, - 513
create_default_cli_config, - 514
create_default_docker_config, - 515
create_default_handwriting_config, - 516
create_default_language_model, - 517
create_default_model_package_config, - 518
create_default_training_config, - 519
create_feature_extractor, - 520
create_handwriting_template, - 521
create_neural_layer, - 522
create_training_history, - 523
create_training_sample, - 524
create_training_state, - 525
cross_entropy_loss, - 526
dataset_add_sample, - 527
dataset_create, - 528
dataset_stats, - 529
decompose_chinese_char, - 530
dense_backward, - 531
dense_forward, - 532
deskew, - 533
detect_char_language, - 534
detect_column_boundaries, - 535
detect_columns, - 536
detect_distortions, - 537
detect_document_columns, - 538
detect_document_language, - 539
detect_handwriting_slant, - 540
detect_header_footer, - 541
detect_horizontal_lines, - 542
detect_horizontal_table_lines, - 543
detect_image_regions_markdown, - 544
detect_language_enhanced, - 545
detect_layout_type, - 546
detect_list_item, - 547
detect_paragraphs, - 548
detect_skew_angle, - 549
detect_skew_angle_robust, - 550
detect_table_enhanced, - 551
detect_text_lines_projection, - 552
detect_text_regions, - 553
detect_titles, - 554
detect_touching_chars, - 555
detect_vertical_lines, - 556
detect_vertical_table_lines, - 557
determine_reading_order_markdown, - 558
dictionary_create, - 559
dictionary_create_common_english, - 560
dictionary_match, - 561
digit_ocr_default_config, - 562
document_enhance, - 563
document_statistics_enhanced, - 564
document_structure_stats, - 565
document_understanding_enhanced_default_config, - 566
drop_fall_segmentation, - 567
edit_distance, - 568
elastic_match, - 569
english_ocr_default_config, - 570
enhanced_chinese_ocr_default_config, - 571
enhanced_document_to_markdown, - 572
enhanced_element_distribution, - 573
enhanced_table_to_markdown, - 574
ensemble_default_config, - 575
ensemble_predict, - 576
estimate_memory_usage, - 577
euclidean_distance, - 578
evaluate_cnn_model, - 579
evaluate_scan_quality, - 580
extract_all_cells, - 581
extract_cell_image, - 582
extract_char_image, - 583
extract_combined_enhanced_features, - 584
extract_combined_ocr_features, - 585
extract_directional_features, - 586
extract_document_text, - 587
extract_features, - 588
extract_gabor_ocr_features, - 589
extract_handwriting_features, - 590
extract_handwriting_stroke_features, - 591
extract_headings, - 592
extract_hw_stroke_features, - 593
extract_images_enhanced, - 594
extract_paragraphs, - 595
extract_stroke_features, - 596
extract_text_line_image, - 597
extract_text_lines, - 598
extract_title, - 599
extract_zernike_moments, - 600
fast_connected_components, - 601
fast_downsample_2x, - 602
fast_gaussian_blur_1d, - 603
fast_threshold_lut, - 604
filter_components_by_area, - 605
filter_components_by_aspect_ratio, - 606
filter_components_by_position, - 607
filter_noise_segments, - 608
find_line_intersections, - 609
find_similar_chinese_chars, - 610
full_postprocess_correction, - 611
generate_3500_chinese_templates, - 612
generate_accuracy_report, - 613
generate_api_config_json, - 614
generate_batch_summary, - 615
generate_chinese_char_info_db, - 616
generate_chinese_dictionary_report, - 617
generate_chinese_templates, - 618
generate_cli_help, - 619
generate_correction_report, - 620
generate_deployment_package, - 621
generate_digit_templates, - 622
generate_docker_compose, - 623
generate_dockerfile, - 624
generate_english_templates, - 625
generate_enhanced_chinese_templates, - 626
generate_enhanced_handwriting_templates, - 627
generate_env_config, - 628
generate_handwriting_templates, - 629
generate_health_check_config, - 630
generate_image_extraction_report, - 631
generate_markdown_image_placeholder, - 632
generate_model_manifest, - 633
generate_performance_report, - 634
generate_punctuation_templates, - 635
generate_robustness_report, - 636
generate_training_progress_report, - 637
generate_training_report, - 638
get_elements_in_reading_order, - 639
glyph_count, - 640
glyph_known, - 641
glyph_rows, - 642
grid_features, - 643
handwriting_feature_similarity, - 644
handwriting_ocr_default_config, - 645
handwriting_ocr_enhanced_default_config, - 646
handwriting_postprocess, - 647
handwriting_report_to_string, - 648
hog_features, - 649
horizontal_projection, - 650
hu_moments_features, - 651
is_code_block_line, - 652
is_heading_line, - 653
is_quote_line, - 654
knn_add_sample, - 655
knn_add_samples, - 656
knn_create, - 657
knn_predict, - 658
language_model_postprocess, - 659
lbp_features, - 660
load_model, - 661
lookup_by_pinyin, - 662
lookup_by_radical, - 663
lookup_by_structure, - 664
lookup_char, - 665
manhattan_distance, - 666
mark_task_completed, - 667
mark_task_failed, - 668
markdown_document_to_string, - 669
markdown_table_to_string, - 670
max_pool2d, - 671
max_pool2d_backward, - 672
merge_adjacent_components, - 673
merge_small_segments, - 674
multi_scale_recognize, - 675
multilingual_ocr_default_config, - 676
multilingual_ocr_enhanced_default_config, - 677
next_batch, - 678
ngram_create, - 679
ngram_score, - 680
niblack_threshold, - 681
normalize_features, - 682
normalize_handwriting_size, - 683
normalize_image, - 684
normalize_punctuation, - 685
ocr_accuracy_enhanced_default_config, - 686
ocr_bench_labels, - 687
ocr_letter_bench, - 688
ocr_pipeline_stats, - 689
ocr_postprocess, - 690
ocr_prepare_ink, - 691
ocr_preprocess, - 692
ocr_result_to_hocr, - 693
ocr_result_to_json, - 694
ocr_result_to_text, - 695
optimize_reading_order, - 696
otsu_threshold, - 697
parse_cli_args, - 698
postprocess_default_config, - 699
progress_bar_to_string, - 700
projection_features, - 701
recognize_by_components, - 702
recognize_chinese, - 703
recognize_chinese_advanced, - 704
recognize_digits, - 705
recognize_english, - 706
recognize_enhanced_chinese, - 707
recognize_handwriting_char, - 708
recognize_handwriting_enhanced, - 709
recognize_multilingual_enhanced, - 710
recognize_ocr_enhanced, - 711
recognize_symbols_markdown, - 712
recognize_table, - 713
record_training_metrics, - 714
relu, - 715
relu_backward, - 716
render_glyph, - 717
resize_image_for_cnn, - 718
robustness_report_to_string, - 719
rotate_document, - 720
sauvola_threshold, - 721
save_model, - 722
scan_document_preprocess, - 723
scan_ocr_default_config, - 724
scan_ocr_recognize, - 725
segment_by_connected_components, - 726
segment_chars_projection, - 727
segment_connected_strokes, - 728
segment_cursive_chars, - 729
segment_page, - 730
segment_paragraphs, - 731
select_adaptive_config, - 732
shadow_removal, - 733
sigmoid, - 734
sigmoid_backward, - 735
smart_reading_order, - 736
smart_segment_chars, - 737
smart_spacing_process, - 738
softmax, - 739
softmax_cross_entropy_backward, - 740
split_train_validation, - 741
standardize_features, - 742
statistical_features, - 743
structure_based_filter, - 744
template_matcher_add, - 745
template_matcher_create, - 746
template_matcher_predict, - 747
understand_document_enhanced, - 748
unrolled_pixel_sum, - 749
update_task_progress, - 750
update_weights_sgd, - 751
vertical_projection, - 752
weighted_knn_classify, - 753
} - 754
- 755
///| - 756
pub using @barcode {type BarcodeConfig} - 757
- 758
///| - 759
pub using @barcode {type BarcodeResult} - 760
- 761
///| - 762
pub using @barcode {type BarcodeType} - 763
- 764
///| - 765
pub using @barcode {type Code128Charset} - 766
- 767
///| - 768
pub using @barcode {type QrDecodeResult} - 769
- 770
///| - 771
pub using @barcode {type QrFinderPattern} - 772
- 773
///| - 774
pub using @barcode { - 775
barcode_default_config, - 776
decode_barcode, - 777
decode_code128, - 778
decode_code39, - 779
decode_ean13, - 780
decode_linear_barcode, - 781
decode_qrcode, - 782
decode_qrcode_full, - 783
decode_upca, - 784
detect_qr_finder_patterns, - 785
reed_solomon_decode, - 786
} - 787
- 788
///| - 789
pub using @meta {type ExifInfo} - 790
- 791
///| - 792
pub using @meta {type ExifInfoExtended} - 793
- 794
///| - 795
pub using @meta {type IptcInfo} - 796
- 797
///| - 798
pub using @meta {type PngTextChunk} - 799
- 800
///| - 801
pub using @meta {type XmpInfo} - 802
- 803
///| - 804
pub using @meta { - 805
create_exif_segment, - 806
create_iptc_segment, - 807
create_xmp_segment, - 808
read_exif_extended_from_bytes, - 809
read_exif_from_bytes, - 810
read_iptc_from_bytes, - 811
read_png_exif_from_bytes, - 812
read_png_text_chunks, - 813
read_xmp_from_bytes, - 814
write_exif_to_bytes, - 815
write_iptc_to_bytes, - 816
write_png_exif_to_bytes, - 817
write_png_text_chunks, - 818
write_xmp_to_bytes, - 819
} - 820
- 821
///| - 822
pub using @fieldimg {type ScalarField} - 823
- 824
///| - 825
pub using @fieldimg {type TensorField} - 826
- 827
///| - 828
pub using @fieldimg {type VectorField} - 829
- 830
///| - 831
pub using @fieldimg { - 832
field_add, - 833
field_blend, - 834
field_clamp, - 835
field_curl, - 836
field_divergence, - 837
field_gradient, - 838
field_histogram, - 839
field_integrate, - 840
field_integrate_region, - 841
field_isosurface, - 842
field_laplacian, - 843
field_mask, - 844
field_mul, - 845
field_mul_scalar, - 846
field_sub, - 847
image16_to_scalar_field, - 848
image_to_scalar_field, - 849
image_to_vector_field, - 850
imagef_to_scalar_field, - 851
scalar_field_to_image, - 852
vector_field_to_image, - 853
} - 854
- 855
// 冲突清单:无(场景内符号名互不重叠)