1TypeError: 'numpy._DTypeMeta' object is not subscriptableYour opencv version is too new.
Install pip install opencv-python=4.5.1.38 solve this on numpy==1.21.5.
1TypeError: 'numpy._DTypeMeta' object is not subscriptableYour opencv version is too new.
Install pip install opencv-python=4.5.1.38 solve this on numpy==1.21.5.