Skip to content

'type' object is not subscriptable #1

@mhmrahmati

Description

@mhmrahmati

Hi, I got the bellow error when i wanted to run the code.

Traceback (most recent call last): File "social_distancing_violation_system.py", line 58, in <module> class MainCtrl: File "social_distancing_violation_system.py", line 185, in MainCtrl def get_roi_frame(self, frame, coordinate: list[tuple]): TypeError: 'type' object is not subscriptable

I have python version 3.8.0 (2019) and all requirements.txt have installed successfully. is it about python version?

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