Skip to content

Commit

Permalink
fix opencv version for install
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanErn committed Nov 16, 2023
1 parent 72fe3c7 commit 2bfa43a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2bfa43a

Please sign in to comment.