mmocr/tests/test_utils
garvan2021 c79a62487d
[Feature] Add Tesserocr Inference (#814)
* append tesserocr to requirements list, but may encounter build error at windows platform

* simply save

* 2022.3.4

* opencv-python==4.5.5 can cause cv2.error when print_result=True

* append MMOCR.tesseract_det_inference()

* argument check append

* fix lint error

* update commentary

* lint fix

* requirement remove opencv

* handle tessdata problem

* support tesseract recognition

* fix some bugs

* fix imshow bug

* support batch mode(fake)

* modify annotation

* refactor BaseRecognizer for show_result

* append pytest

* Mock tesseract

* Fix test

* remove \n from Tesseract

* normalize text score

* update docs
2022-03-28 22:50:53 +08:00
..
test_mask [Enhancement] Add copyright info (#439) 2021-08-17 17:39:30 +08:00
test_text [Enhancement] Add copyright info (#439) 2021-08-17 17:39:30 +08:00
test_box.py [Feature] Add bezier_to_polygon and sort_points to box_util (#703) 2022-01-17 15:26:55 +08:00
test_check_argument.py [Fix] fix type check (#650) 2021-12-09 12:45:59 +08:00
test_model.py [Fix] fix inconsisent training/eval state after SyncBN->BN (#453) 2021-08-25 13:14:03 +08:00
test_ocr.py [Feature] Add Tesserocr Inference (#814) 2022-03-28 22:50:53 +08:00
test_setup_env.py [Enhancement] Add setup multi-processing both in train and test. (#757) 2022-01-26 20:34:19 +08:00
test_string_util.py [Enhancement] Add copyright info (#439) 2021-08-17 17:39:30 +08:00
test_textio.py [Feature] Support jsonl in recognition converter (#844) 2022-03-18 09:22:32 +08:00
test_version_utils.py [Enhancement] Add copyright info (#439) 2021-08-17 17:39:30 +08:00
test_wrapper.py [Refactor] refactor textdet postprocess (#640) 2021-12-14 17:35:44 +08:00