MCPcopy Create free account

hub / github.com/mindee/doctr / functions

Functions871 in github.com/mindee/doctr

Functiontest_randomapply
()
tests/common/test_transforms.py:31
Functiontest_randomhorizontalflip
(p, target)
tests/pytorch/test_transforms_pt.py:340
Functiontest_read_html
()
tests/common/test_io.py:80
Functiontest_read_img_as_numpy
(tmpdir_factory, mock_pdf)
tests/common/test_io.py:39
Functiontest_read_img_as_tensor
(mock_image_path)
tests/pytorch/test_io_image_pt.py:8
Functiontest_read_pdf
(mock_pdf)
tests/common/test_io.py:18
Functiontest_reco_postprocessors
(post_processor, input_shape, mock_vocab)
tests/pytorch/test_models_recognition_pt.py:79
Functiontest_recognition_dataset
(mock_image_folder, mock_recognition_label)
tests/pytorch/test_datasets_pt.py:180
Functiontest_recognition_models
(arch_name, input_shape, train_mode, mock_vocab)
tests/pytorch/test_models_recognition_pt.py:39
Functiontest_recognition_zoo
(arch_name, input_shape)
tests/pytorch/test_models_recognition_pt.py:111
Functiontest_remap_boxes
()
tests/common/test_utils_geometry.py:56
Functiontest_remap_preds
(preds, crop_map, split_overlap_ratio, pred)
tests/common/test_models_recognition_predictor.py:32
Functiontest_remove_image_padding
()
tests/common/test_utils_geometry.py:145
Functiontest_remove_padding
(pages, preserve_aspect_ratio, symmetric_pad, assume_straight_pages)
tests/common/test_models_detection_utils.py:11
Functiontest_requires_package
()
tests/common/test_core.py:11
Functiontest_resize
()
tests/pytorch/test_transforms_pt.py:22
Functiontest_resolve_enclosing_bbox
()
tests/common/test_utils_geometry.py:40
Functiontest_resolve_enclosing_rbbox
()
tests/common/test_utils_geometry.py:46
Functiontest_resolve_geometry
()
api/tests/utils/test_utils.py:4
Functiontest_resolve_lines
(input_boxes, lines)
tests/common/test_models_builder.py:228
Functiontest_rotate_boxes
()
tests/common/test_utils_geometry.py:100
Functiontest_rotate_image
()
tests/common/test_utils_geometry.py:122
Functiontest_rotate_sample
()
tests/pytorch/test_transforms_pt.py:129
Functiontest_rotation_dataset
(mock_image_folder)
tests/pytorch/test_datasets_pt.py:115
Functiontest_samplecompose
()
tests/common/test_transforms.py:13
Functiontest_set_device_and_dtype
()
tests/pytorch/test_models_utils_pt.py:58
Functiontest_sort_boxes
(input_boxes, sorted_idxs)
tests/common/test_models_builder.py:205
Functiontest_split_crops
(crops, max_ratio, target_ratio, target_overlap_ratio, num_crops)
tests/common/test_models_recognition_predictor.py:16
Functiontest_split_crops_cases
( inputs, max_ratio, target_ratio, target_overlap_ratio, expected_remap_required, expe
tests/common/test_models_recognition_predictor.py:66
Functiontest_sroie
(input_size, num_samples, rotate, recognition, detection, mock_sroie_dataset)
tests/pytorch/test_datasets_pt.py:322
Functiontest_svhn
(input_size, num_samples, rotate, recognition, detection, mock_svhn_dataset)
tests/pytorch/test_datasets_pt.py:428
Functiontest_svt
(input_size, num_samples, rotate, recognition, detection, mock_svt_dataset)
tests/pytorch/test_datasets_pt.py:652
Functiontest_synthesize_kie_page
()
tests/common/test_utils_reconstitution.py:34
Functiontest_synthesize_page
()
tests/common/test_utils_reconstitution.py:7
Functiontest_synthtext
(input_size, num_samples, rotate, recognition, detection, mock_synthtext_dataset)
tests/pytorch/test_datasets_pt.py:562
Functiontest_tensor_from_numpy
(mock_image_stream)
tests/pytorch/test_io_image_pt.py:40
Functiontest_text_detection_box
(test_app_asyncio, mock_detection_image, mock_detection_response)
api/tests/routes/test_detection.py:14
Functiontest_text_detection_invalid_file
(test_app_asyncio, mock_txt_file)
api/tests/routes/test_detection.py:50
Functiontest_text_detection_poly
(test_app_asyncio, mock_detection_image, mock_detection_response)
api/tests/routes/test_detection.py:32
Functiontest_text_match
(gt, pred, raw, caseless, anyascii, unicase)
tests/common/test_utils_metrics.py:14
Functiontest_text_recognition
(test_app_asyncio, mock_recognition_image, mock_txt_file)
api/tests/routes/test_recognition.py:5
Functiontest_torch_compiled_models
(arch_name, mock_payslip)
tests/pytorch/test_models_detection_pt.py:207
Functiontest_torch_compiled_models
(arch_name, mock_text_box)
tests/pytorch/test_models_recognition_pt.py:187
Functiontest_trained_kie_predictor
(mock_payslip)
tests/pytorch/test_models_zoo_pt.py:278
Functiontest_trained_ocr_predictor
(mock_payslip)
tests/pytorch/test_models_zoo_pt.py:123
Functiontest_translate
(input_str, vocab, output_str)
tests/common/test_datasets_utils.py:19
Functiontest_translate_unknown_vocab
()
tests/common/test_datasets_utils.py:24
Functiontest_version
()
tests/common/test_core.py:7
Functiontest_vision
()
api/tests/utils/test_vision.py:9
Functiontest_visiondataset
()
tests/common/test_datasets.py:9
Functiontest_visiondataset
()
tests/pytorch/test_datasets_pt.py:105
Functiontest_visualize_page
()
tests/common/test_utils_visualization.py:8
Functiontest_vocabs_duplicates
()
tests/common/test_datasets_vocabs.py:6
Functiontest_wildreceipt_dataset
(input_size, num_samples, rotate, recognition, detection, mock_wildreceipt_dataset)
tests/pytorch/test_datasets_pt.py:741
Functiontest_word
()
tests/common/test_io_elements.py:131
Functiontest_wordgenerator
()
tests/pytorch/test_datasets_pt.py:256
Functiontest_zoo_models
(det_arch, reco_arch)
tests/pytorch/test_models_zoo_pt.py:380
Functiontext_detection
Runs docTR text detection model to analyze the input image
api/app/routes/detection.py:18
Functiontext_recognition
Runs docTR text recognition model to analyze the input image
api/app/routes/recognition.py:19
Functiontextnet_base
Implements TextNet architecture from `"FAST: Faster Arbitrarily-Shaped Text Detector with Minimalist Kernel Representation" <https://arxiv.org/abs
doctr/models/classification/textnet/pytorch.py:228
Functiontextnet_small
Implements TextNet architecture from `"FAST: Faster Arbitrarily-Shaped Text Detector with Minimalist Kernel Representation" <https://arxiv.org/abs
doctr/models/classification/textnet/pytorch.py:181
Functiontextnet_tiny
Implements TextNet architecture from `"FAST: Faster Arbitrarily-Shaped Text Detector with Minimalist Kernel Representation" <https://arxiv.org/abs
doctr/models/classification/textnet/pytorch.py:134
Functiontranslate
Translate a string input in a given vocabulary Args: input_string: input string to translate vocab_name: vocabulary to use (frenc
doctr/datasets/utils.py:35
Functionvgg16_bn_r
VGG-16 architecture as described in `"Very Deep Convolutional Networks for Large-Scale Image Recognition" <https://arxiv.org/pdf/1409.1556.pdf>`_,
doctr/models/classification/vgg/pytorch.py:83
Functionvip_base
VIP-Base encoder architecture. Corresponds to SVIPTRv2-B variant in the paper (VIPTRv2B function in the official implementation: https://
doctr/models/classification/vip/pytorch.py:272
Functionvip_tiny
VIP-Tiny encoder architecture.Corresponds to SVIPTRv2-T variant in the paper (VIPTRv2 function in the official implementation: https://gi
doctr/models/classification/vip/pytorch.py:243
Functionviptr_tiny
VIPTR-Tiny as described in `"A Vision Permutable Extractor for Fast and Efficient Scene Text Recognition" <https://arxiv.org/abs/2401.10110>`_.
doctr/models/recognition/viptr/pytorch.py:253
Functionvit_b
VisionTransformer-B architecture as described in `"An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale", <https://arxiv
doctr/models/classification/vit/pytorch.py:171
Functionvit_s
VisionTransformer-S architecture `"An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale", <https://arxiv.org/pdf/2010.11
doctr/models/classification/vit/pytorch.py:139
Functionvitstr_base
ViTSTR-Base as described in `"Vision Transformer for Fast and Efficient Scene Text Recognition" <https://arxiv.org/pdf/2105.08582.pdf>`_. >>>
doctr/models/recognition/vitstr/pytorch.py:260
Functionvitstr_small
ViTSTR-Small as described in `"Vision Transformer for Fast and Efficient Scene Text Recognition" <https://arxiv.org/pdf/2105.08582.pdf>`_. >>
doctr/models/recognition/vitstr/pytorch.py:231
← previous801–871 of 871, ranked by callers