Skip to content

opencv-video-capture: Relax NumPy requirement#31

Merged
haixuanTao merged 1 commit intodora-rs:mainfrom
kou:opencv-video-capture-numpy
Jan 21, 2026
Merged

opencv-video-capture: Relax NumPy requirement#31
haixuanTao merged 1 commit intodora-rs:mainfrom
kou:opencv-video-capture-numpy

Conversation

@kou
Copy link
Copy Markdown
Contributor

@kou kou commented Jan 21, 2026

opencv-python requires NumPy 2 or later with Python 3.9 or later: https://github.com/opencv/opencv-python/blob/6cb94ce088fb9db42a13164016f19b2b986623b6/setup.py#L27

If we have numpy < 2.0.0, we can't use opencv-video-capture with Python 3.9 or later.

@kou kou changed the title opencv-video-capture: Relax numpy requirement opencv-video-capture: Relax NumPy requirement Jan 21, 2026
opencv-python requires NumPy 2 or later with Python 3.9 or later:
https://github.com/opencv/opencv-python/blob/6cb94ce088fb9db42a13164016f19b2b986623b6/setup.py#L27

If we have `numpy < 2.0.0`, we can't use opencv-video-capture with
Python 3.9 or later.
@kou kou force-pushed the opencv-video-capture-numpy branch from c544115 to 7f46824 Compare January 21, 2026 03:02
@haixuanTao haixuanTao merged commit 61deb19 into dora-rs:main Jan 21, 2026
65 of 131 checks passed
@kou kou deleted the opencv-video-capture-numpy branch January 22, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants