Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开启叠图识别时报错,TypeError: list indices must be integers or slices, not list #22

Closed
gold-shadow opened this issue Mar 12, 2023 · 3 comments

Comments

@gold-shadow
Copy link

Running with concat recognition.
OCR: 34%|████████████████████████████████████████████████████████████████████▌ | 10/29 [00:12<00:22, 1.20s/it]
Traceback (most recent call last):
File "d:\RapidVideOCR-2.1.1\RapidVideOCR-2.1.1\demo.py", line 11, in
extractor(rgb_dir, save_dir)
File "d:\RapidVideOCR-2.1.1\RapidVideOCR-2.1.1\rapid_videocr\rapid_videocr.py", line 64, in call
srt_result, txt_result = self.concat_rec(img_list, is_txt_dir)
File "d:\RapidVideOCR-2.1.1\RapidVideOCR-2.1.1\rapid_videocr\rapid_videocr.py", line 107, in concat_rec
srt_part, txt_part = self.get_match_results(start_i,
File "d:\RapidVideOCR-2.1.1\RapidVideOCR-2.1.1\rapid_videocr\rapid_videocr.py", line 153, in get_match_results
matched_path = img_paths[matched_index]
TypeError: list indices must be integers or slices, not list

直接用的VSF切的RGB图片,单图识别正常

@SWHL
Copy link
Owner

SWHL commented Mar 12, 2023

方便发我一下RGB图片吗?我这里复现一下,定位一下问题
邮箱或者qq都可

SWHL added a commit that referenced this issue Mar 12, 2023
@SWHL
Copy link
Owner

SWHL commented Mar 12, 2023

在v2.1.2中已经修复

@SWHL
Copy link
Owner

SWHL commented Mar 14, 2023

issue先关闭了,有问题再开

@SWHL SWHL closed this as completed Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants