Skip to content

TypeError: 'float' object is not subscriptable #348

@xuebin-git

Description

@xuebin-git

OmniParser/util/utils.py", line 518, in check_ocr_box
coord = [item[0] for item in result if item[1][1] > text_threshold]
~~~~~~~^^^
TypeError: 'float' object is not subscriptable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions