Sentdex / pygta5

Explorations of Using Python to play Grand Theft Auto 5.
MIT License
3.91k stars 823 forks source link

Im trying to test the model #137

Closed DualByte closed 5 years ago

DualByte commented 5 years ago

Traceback (most recent call last): File "3. test_model.py", line 231, in <module> main() File "3. test_model.py", line 135, in main delta_count_last = motion_detection(t_minus, t_now, t_plus) File "C:\Users\d0b\GTAV PYTHON AI\Versions\v0.03\motion.py", line 46, in motion_detection dst = cv2.addWeighted(screen,1.0, delta_view,0.6,0) NameError: name 'screen' is not defined

FurkanThePythoneer commented 3 years ago

Traceback (most recent call last): File "3. test_model.py", line 231, in <module> main() File "3. test_model.py", line 135, in main delta_count_last = motion_detection(t_minus, t_now, t_plus) File "C:\Users\d0b\GTAV PYTHON AI\Versions\v0.03\motion.py", line 46, in motion_detection dst = cv2.addWeighted(screen,1.0, delta_view,0.6,0) NameError: name 'screen' is not defined Did you solve the problem.