Код: Выделить всё
PS C:\tractrac> python tractrac_GUI.py -a #test case for GUI
Traceback (most recent call last):
File "C:\tractrac\tractrac_GUI.py", line 190, in
height,width=I0.shape[:2] #an array storing the dimensions of video after projection
^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'shape'
Код: Выделить всё
PS C:\tractrac> python tractrac.py -a
Traceback (most recent call last):
File "C:\tractrac\tractrac.py", line 1, in
t#!/usr/bin/env python
^
NameError: name 't' is not defined
Я использую PyCharm в качестве моей IDE и Python 3.13. Я загрузил все необходимые пакеты и искренне понятия не имею, почему я получаю эти ошибки.
Я буду признателен за любые ваши идеи о том, как исправить ошибки, или даже предложения по их устранению. другое программное обеспечение для отслеживания.
Подробнее здесь: https://stackoverflow.com/questions/793 ... ay-as-none