ragflow/deepdoc/vision
Yongteng Lei bc0281040b
Feat: add support for the Ascend layout recognizer (#10105)
### What problem does this PR solve?

Supports Ascend layout recognizer.

Use the environment variable `LAYOUT_RECOGNIZER_TYPE=ascend` to enable
the Ascend layout recognizer, and `ASCEND_LAYOUT_RECOGNIZER_DEVICE_ID=n`
(for example, n=0) to specify the Ascend device ID.

Ensure that you have installed the [ais
tools](https://gitee.com/ascend/tools/tree/master/ais-bench_workload/tool/ais_bench)
properly.

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2025-09-16 09:51:15 +08:00
..
__init__.py Feat: add support for the Ascend layout recognizer (#10105) 2025-09-16 09:51:15 +08:00
layout_recognizer.py Feat: add support for the Ascend layout recognizer (#10105) 2025-09-16 09:51:15 +08:00
ocr.py Fix: judge not empty before delete (#10099) 2025-09-15 17:49:52 +08:00
operators.py refactor: no need to inherit in python3 clean the code (#5659) 2025-03-05 18:03:53 +08:00
postprocess.py refactor: no need to inherit in python3 clean the code (#5659) 2025-03-05 18:03:53 +08:00
recognizer.py Fix: judge not empty before delete (#10099) 2025-09-15 17:49:52 +08:00
seeit.py Fix typo (#9766) 2025-08-27 18:56:40 +08:00
t_ocr.py Refa: PARALLEL_DEVICES is a static parameter. (#6168) 2025-03-17 16:49:54 +08:00
t_recognizer.py Fix typo in code (#8327) 2025-06-18 09:41:09 +08:00
table_structure_recognizer.py Fix: exception layout_type in is_caption (#9028) 2025-07-24 17:06:56 +08:00