From 2bfa43a3ebc457f76ad2004a5985b4d0e7bfa927 Mon Sep 17 00:00:00 2001 From: SeanErn Date: Wed, 15 Nov 2023 22:14:48 -0500 Subject: [PATCH] fix opencv version for install --- install.py | 2 +- tracking.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.py b/install.py index 1393f36..faea9bd 100644 --- a/install.py +++ b/install.py @@ -164,7 +164,7 @@ # os.system('python object_detection/builders/model_builder_tf2_test.py') print(Fore.YELLOW+'[INFO] Installing Extra Packages...') -os.system('pip install opencv-contrib-python') +os.system('pip install opencv-contrib-python==4.5.5.62') os.system('pip install numpy') os.system('pip install protobuf==3.20.*') # Downgrade protobuf to 3.20.* to avoid errors os.system('pip install keras==2.2.5') # Force lower version of keras to avoid errors diff --git a/tracking.py b/tracking.py index 218781f..df10b28 100644 --- a/tracking.py +++ b/tracking.py @@ -72,7 +72,7 @@ parser.add_argument("-y", "--yes", action="store_true", default=False, help="Skip initial bounding box validation") parser.add_argument("-f", "--frames", type=int, - help="Number of steps between each frame to save", default=10) + help="Number of steps between each frame to save", default=2) parser.add_argument("-x", "--experiment", action="store_true", default=False, help="Don't write out any files") args = parser.parse_args()