tommulder commited on
Commit
5be8642
·
1 Parent(s): 8d016c4

fix(cv2): use opencv-python-headless to remove libGL runtime dep

Browse files
Files changed (1) hide show
  1. requirements.txt +2 -1
requirements.txt CHANGED
@@ -4,7 +4,8 @@ python-multipart==0.0.9
4
  # NOTE: FastAPI 0.112.1 excludes pydantic 2.0.0/2.0.1/2.1.0; use a compatible 2.x
5
  pydantic>=2.1.1,<3
6
  ultralytics>=8.3.50
7
- opencv-python>=4.9.0.80
 
8
  numpy>=1.26.0
9
  pillow>=10.3.0
10
  torch>=2.2.0
 
4
  # NOTE: FastAPI 0.112.1 excludes pydantic 2.0.0/2.0.1/2.1.0; use a compatible 2.x
5
  pydantic>=2.1.1,<3
6
  ultralytics>=8.3.50
7
+ # Use headless build to avoid libGL dependency in container runtime
8
+ opencv-python-headless>=4.9.0.80
9
  numpy>=1.26.0
10
  pillow>=10.3.0
11
  torch>=2.2.0