Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opencv/opencv-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.x
Choose a base ref
...
head repository: avdivan/opencv-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.x
Choose a head ref

Commits on May 12, 2025

  1. Copy the full SHA
    5b68552 View commit details
  2. Copy the full SHA
    0ed6932 View commit details
  3. Copy the full SHA
    43df361 View commit details
  4. Copy the full SHA
    800c408 View commit details
  5. Copy the full SHA
    d509950 View commit details
  6. Copy the full SHA
    81b57ad View commit details
  7. Copy the full SHA
    cf6f2a1 View commit details
  8. Copy the full SHA
    ce9020f View commit details
  9. Copy the full SHA
    5da97ac View commit details
  10. Copy the full SHA
    02ffc4a View commit details
  11. Copy the full SHA
    62aa42c View commit details
  12. Copy the full SHA
    3f50ff6 View commit details
  13. Copy the full SHA
    24e5192 View commit details

Commits on May 13, 2025

  1. Update setup.py

    avdivan authored May 13, 2025
    Copy the full SHA
    af76f7a View commit details

Commits on May 18, 2025

  1. Update setup.py

    avdivan authored May 18, 2025
    Copy the full SHA
    8e63c5b View commit details

Commits on May 30, 2025

  1. Copy the full SHA
    67bf0aa View commit details
  2. Copy the full SHA
    66d74ac View commit details
  3. Copy the full SHA
    355cef3 View commit details

Commits on Jun 1, 2025

  1. Copy the full SHA
    5e3b12b View commit details
  2. Copy the full SHA
    42f1137 View commit details
  3. Copy the full SHA
    24eb050 View commit details
  4. Copy the full SHA
    757388d View commit details
  5. Copy the full SHA
    670397e View commit details
  6. Update setup.py

    avdivan authored Jun 1, 2025
    Copy the full SHA
    4204e30 View commit details
  7. Copy the full SHA
    addeb8d View commit details
  8. Copy the full SHA
    ef3b720 View commit details
  9. Copy the full SHA
    b3190f6 View commit details
  10. Copy the full SHA
    ee04bc6 View commit details
  11. Copy the full SHA
    83443a5 View commit details
  12. Copy the full SHA
    bb83796 View commit details
  13. Copy the full SHA
    b3c51cf View commit details
  14. Copy the full SHA
    4c78354 View commit details
  15. Copy the full SHA
    067d7f3 View commit details
  16. Copy the full SHA
    796142a View commit details
  17. Copy the full SHA
    efd1806 View commit details
  18. Copy the full SHA
    f911d5c View commit details
  19. Copy the full SHA
    1fe589c View commit details
  20. Copy the full SHA
    b7c288e View commit details
  21. Copy the full SHA
    a10962c View commit details
  22. Copy the full SHA
    1de8fbb View commit details
  23. Copy the full SHA
    60b788c View commit details
  24. Copy the full SHA
    c80b56f View commit details
  25. Copy the full SHA
    03b05e6 View commit details
  26. Copy the full SHA
    46d9f36 View commit details
  27. Copy the full SHA
    ad20fe5 View commit details
  28. Copy the full SHA
    ea199ff View commit details
  29. Copy the full SHA
    a447138 View commit details
  30. Copy the full SHA
    c62730d View commit details
  31. Copy the full SHA
    c0546f8 View commit details
  32. Copy the full SHA
    aeddb72 View commit details
Showing with 14 additions and 18 deletions.
  1. +8 −5 .github/workflows/build_wheels_windows.yml
  2. +1 −1 multibuild
  3. +1 −1 opencv
  4. +1 −1 opencv_contrib
  5. +1 −1 opencv_extra
  6. +2 −9 setup.py
13 changes: 8 additions & 5 deletions .github/workflows/build_wheels_windows.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ on:

jobs:
Build:
runs-on: windows-2019
runs-on: windows-2025
strategy:
fail-fast: false
matrix:
@@ -48,7 +48,7 @@ jobs:
echo "ENABLE_ROLLING=1" >> $GITHUB_ENV
fi
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: false
fetch-depth: 0
@@ -61,16 +61,18 @@ jobs:
uses: microsoft/setup-msbuild@v1.1
- name: Setup NASM
uses: ilammy/setup-nasm@v1

- name: Build a package
# CMake 3.25 regression fix. See https://stackoverflow.com/questions/74162633/problem-compiling-from-source-opencv-with-mvsc2019-in-64-bit-version
run: |
python --version
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools
python -m pip install cmake==3.24.2
python -m pip install cmake
python -m pip install toml && python -c "import toml; c = toml.load('pyproject.toml'); print('\n'.join(c['build-system']['requires']))" >> requirements.txt | python -m pip install -r requirements.txt
set "CI_BUILD=1" && python setup.py bdist_wheel --py-limited-api=cp37 --dist-dir=%cd%\wheelhouse -v
shell: cmd

- name: Saving all wheels
uses: actions/upload-artifact@v4
with:
@@ -79,7 +81,7 @@ jobs:

Test:
needs: [Build]
runs-on: windows-2019
runs-on: windows-2025
defaults:
run:
shell: cmd
@@ -103,10 +105,11 @@ jobs:
rm -rf ./.??* || true
working-directory: ${{ github.workspace }}
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
2 changes: 1 addition & 1 deletion opencv
Submodule opencv updated 800 files
2 changes: 1 addition & 1 deletion opencv_contrib
Submodule opencv_contrib updated 81 files
+7 −8 .github/workflows/PR-4.x.yaml
+1 −1 modules/aruco/include/opencv2/aruco/aruco_calib.hpp
+2 −2 modules/bgsegm/tutorials/bgsegm_bg_subtraction/bgsegm_bg_subtraction.markdown
+0 −1 modules/cnn_3dobj/include/opencv2/cnn_3dobj.hpp
+2 −1 modules/cudacodec/include/opencv2/cudacodec.hpp
+4 −4 modules/cudacodec/src/NvEncoder.cpp
+24 −11 modules/cudacodec/src/video_writer.cpp
+5 −13 modules/cudacodec/test/test_video.cpp
+28 −12 modules/cudaimgproc/src/color.cpp
+32 −16 modules/cudaimgproc/src/cuda/debayer.cu
+1 −1 modules/cudalegacy/include/opencv2/cudalegacy/private.hpp
+9 −2 modules/cudev/test/CMakeLists.txt
+0 −1 modules/cvv/src/qtutil/filter/sobelfilterwidget.cpp
+1 −1 modules/dpm/src/dpm_cascade.cpp
+1 −1 modules/dpm/src/dpm_feature.cpp
+0 −1 modules/dpm/src/dpm_feature.hpp
+9 −1 modules/fastcv/include/opencv2/fastcv.hpp
+64 −0 modules/fastcv/include/opencv2/fastcv/allocator.hpp
+58 −1 modules/fastcv/include/opencv2/fastcv/arithm.hpp
+17 −1 modules/fastcv/include/opencv2/fastcv/blur.hpp
+33 −0 modules/fastcv/include/opencv2/fastcv/blur_dsp.hpp
+45 −0 modules/fastcv/include/opencv2/fastcv/channel.hpp
+49 −0 modules/fastcv/include/opencv2/fastcv/dsp_init.hpp
+38 −0 modules/fastcv/include/opencv2/fastcv/edges_dsp.hpp
+49 −0 modules/fastcv/include/opencv2/fastcv/fft_dsp.hpp
+2 −2 modules/fastcv/include/opencv2/fastcv/pyramid.hpp
+34 −0 modules/fastcv/include/opencv2/fastcv/sad_dsp.hpp
+13 −15 modules/fastcv/include/opencv2/fastcv/scale.hpp
+39 −0 modules/fastcv/include/opencv2/fastcv/thresh_dsp.hpp
+11 −12 modules/fastcv/include/opencv2/fastcv/tracking.hpp
+55 −1 modules/fastcv/include/opencv2/fastcv/warp.hpp
+32 −0 modules/fastcv/perf/perf_arithm.cpp
+26 −1 modules/fastcv/perf/perf_blur.cpp
+73 −0 modules/fastcv/perf/perf_blur_dsp.cpp
+56 −0 modules/fastcv/perf/perf_edges_dsp.cpp
+85 −0 modules/fastcv/perf/perf_fft_dsp.cpp
+2 −2 modules/fastcv/perf/perf_hough.cpp
+6 −1 modules/fastcv/perf/perf_main.cpp
+34 −1 modules/fastcv/perf/perf_matmul.cpp
+2 −0 modules/fastcv/perf/perf_precomp.hpp
+52 −0 modules/fastcv/perf/perf_sad_dsp.cpp
+66 −0 modules/fastcv/perf/perf_scale.cpp
+52 −0 modules/fastcv/perf/perf_thresh_dsp.cpp
+196 −22 modules/fastcv/perf/perf_warp.cpp
+105 −0 modules/fastcv/src/allocator.cpp
+173 −1 modules/fastcv/src/arithm.cpp
+22 −1 modules/fastcv/src/blur.cpp
+68 −0 modules/fastcv/src/blur_dsp.cpp
+143 −0 modules/fastcv/src/channel.cpp
+46 −0 modules/fastcv/src/dsp_init.cpp
+63 −0 modules/fastcv/src/edges_dsp.cpp
+96 −0 modules/fastcv/src/fft_dsp.cpp
+110 −2 modules/fastcv/src/precomp.hpp
+46 −0 modules/fastcv/src/sad_dsp.cpp
+48 −35 modules/fastcv/src/scale.cpp
+55 −0 modules/fastcv/src/thresh_dsp.cpp
+280 −36 modules/fastcv/src/warp.cpp
+70 −1 modules/fastcv/test/test_arithm.cpp
+22 −1 modules/fastcv/test/test_blur.cpp
+75 −0 modules/fastcv/test/test_blur_dsp.cpp
+72 −0 modules/fastcv/test/test_channel.cpp
+39 −0 modules/fastcv/test/test_edges_dsp.cpp
+98 −0 modules/fastcv/test/test_fft_dsp.cpp
+6 −1 modules/fastcv/test/test_main.cpp
+3 −3 modules/fastcv/test/test_mser.cpp
+2 −0 modules/fastcv/test/test_precomp.hpp
+6 −5 modules/fastcv/test/test_pyramid.cpp
+44 −0 modules/fastcv/test/test_sad_dsp.cpp
+27 −44 modules/fastcv/test/test_scale.cpp
+92 −0 modules/fastcv/test/test_thresh_dsp.cpp
+167 −27 modules/fastcv/test/test_warp.cpp
+0 −1 modules/img_hash/src/precomp.hpp
+4 −0 modules/matlab/CMakeLists.txt
+8 −2 modules/matlab/generator/parse_tree.py
+30 −2 modules/matlab/include/opencv2/matlab/bridge.hpp
+3 −0 modules/mcc/src/bound_min.cpp
+12 −19 modules/mcc/src/checker_detector.cpp
+2 −1 modules/mcc/src/checker_detector.hpp
+0 −1 modules/xfeatures2d/src/affine_feature2d.cpp
+0 −1 modules/xphoto/samples/dct_image_denoising.cpp
+4 −6 modules/xphoto/src/dct_image_denoising.cpp
2 changes: 1 addition & 1 deletion opencv_extra
Submodule opencv_extra updated 27 files
+ testdata/cv/cvtcolor/bayerVNG_gold.png
+ testdata/cv/cvtcolor_strict/bglena.png
+ testdata/cv/cvtcolor_strict/gblena.png
+ testdata/cv/cvtcolor_strict/grlena.png
+ testdata/cv/cvtcolor_strict/rglena.png
+83 −0 testdata/cv/fast/result_no_nonmax.xml
+256 −256 testdata/cv/hdr/calibrate/debevec.csv
+2,686 −2,637 testdata/cv/hdr/merge/debevec.hdr
+2 −2 testdata/cv/io/3_4/Core_InputOutput--filestorage_base64_basic_rw_JSON.json
+35 −35 testdata/cv/io/3_4/Core_InputOutput--filestorage_base64_basic_rw_XML.xml
+35 −35 testdata/cv/io/3_4/Core_InputOutput--filestorage_base64_basic_rw_YAML.yml
+2 −2 testdata/cv/io/Core_InputOutput--filestorage_base64_basic_read_JSON.json
+35 −35 testdata/cv/io/Core_InputOutput--filestorage_base64_basic_read_XML.xml
+35 −35 testdata/cv/io/Core_InputOutput--filestorage_base64_basic_read_YAML.yml
+5 −0 testdata/dnn/download_models.py
+ testdata/dnn/tflite/face_blendshapes_inp.npy
+ testdata/dnn/tflite/face_blendshapes_out_StatefulPartitionedCall_0.npy
+30 −5 testdata/dnn/tflite/generate.py
+ testdata/dnn/tflite/strided_slice.tflite
+ testdata/dnn/tflite/strided_slice_inp.npy
+ testdata/dnn/tflite/strided_slice_out_Identity.npy
+ testdata/highgui/gifsuite/disposalMethod.gif
+ testdata/highgui/readwrite/033.png
+ testdata/highgui/readwrite/034.png
+ testdata/highgui/readwrite/035.png
+3,684 −0 testdata/perf/core.xml
+57,478 −57,638 testdata/perf/imgproc.xml
11 changes: 2 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -161,16 +161,9 @@ def main():
# Files in sourcetree outside package dir that should be copied to package.
# Raw paths relative to sourcetree root.
files_outside_package_dir = {"cv2": ["LICENSE.txt", "LICENSE-3RD-PARTY.txt"]}

ci_cmake_generator = (
["-G", "Visual Studio 14" + (" Win64" if is64 else "")]
if os.name == "nt"
else ["-G", "Unix Makefiles"]
)


cmake_args = (
(ci_cmake_generator if is_CI_build else [])
+ [
[
# skbuild inserts PYTHON_* vars. That doesn't satisfy opencv build scripts in case of Py3
"-DPYTHON3_EXECUTABLE=%s" % sys.executable,
"-DPYTHON_DEFAULT_EXECUTABLE=%s" % sys.executable,