Skip to content

字幕只有一个字的情况下识别不出来? #52

Closed

Description

@dzy49

感谢作者!
其他情况下都很不错 但是字幕只有单字的情况下大概率识别不出来?
VSF 是有识别到并且输出了RGB图片的

Activity

  1. SWHL commented on Feb 26, 2024

    @SWHL
    Owner
  2. dzy49 commented on Feb 27, 2024

    @dzy49
    Author

    0_19_11_301__0_19_11_860_0000005761280014412800720
    0_19_37_503__0_19_37_942_0000005761280014412800720

  3. SWHL commented on Feb 27, 2024

    @SWHL
    Owner

    这个丢失是因为识别到的文本置信度太低,导致被过滤了。可以添加text_score=0.4参数来调节。示例代码如下:

    from rapid_videocr import RapidVideOCR
    
    extractor = RapidVideOCR(is_concat_rec=True, is_print_console=False, text_score=0.4)
    
    rgb_dir = "tiny"
    save_dir = "outputs"
    save_name = "a"
    
    # outputs/a.srt  outputs/a.txt
    extractor(rgb_dir, save_dir, save_name=save_name)

    详细参数,可参考RapidOCR docs

  4. Repository owner locked and limited conversation to collaborators on Apr 3, 2024
  5. converted this issue into a discussion #57 on Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions