| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Android samples build fix after geometry refresh. | 4 个月前 | |
Merge pull request #29948 from vrabaud:comma_initializer Remove deprecated CommaInitializer API - #29948 This goes hand in hand with https://github.com/opencv/opencv_contrib/pull/4217 ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake | 21 天前 | |
samples: load viz3d point cloud via cv::loadPointCloud | 2 个月前 | |
Merge pull request #27434 from leopardracer:4.x Fix Typos in Comments and Error Messages Across Multiple Files #27434 Description: This pull request corrects several typographical errors in comments and error messages in the following files: - `samples/directx/d3d11_interop.cpp`: Fixed typo in the error message ("betweem" → "between"). - `samples/dnn/yolo_detector.cpp`: Fixed typo in a comment ("elemets" → "elements"). - `samples/winrt/ImageManipulations/MediaExtensions/OcvTransform.cpp`: Fixed typo in a comment ("peferred" → "preferred"). These changes improve code readability and maintain consistency in documentation and error reporting. No functional code was modified. | 1 年前 | |
Merge pull request #29618 from jaivardhan-bhola:vlm-ocr-support-engine-new Added support for Granite Docling 258M and PaddleOCR-VL - #29618 Adds `com.microsoft::GroupQueryAttention` to the engine-new ONNX importer, required by GraniteDocling-258M's ,end-to-end samples for GraniteDocling-258M and PaddleOCR-VL-1.5. Verified on Linux x86_64 / GCC / CPU **companion opencv_extra PR** [Vlm ocr support engine new opencv/opencv_extra#1412](https://github.com/opencv/opencv_extra/pull/1412) for test data upstream/5.x already lowers `GroupQueryAttention` to `AttentionOnnxAi`, but that path rejects `do_rotary=1`: ```cpp CV_CheckEQ(params.get<int>("do_rotary", 0), 0, "GroupQueryAttention: do_rotary=1 is not supported"); ``` GraniteDocling-258M's export sets it. Confirmed two ways: building a Llama checkpoint from its published `text_config` (9 heads / 3 KV heads, `rope_theta=100000`) and running onnxruntime-genai's `model_builder`; and reading the community export at `onnx-community/granite-docling-258M-ONNX`, which carries 30 `GroupQueryAttention` nodes with `do_rotary=1`, `num_heads=9`, `kv_num_heads=3`, `head_dim=64`. ## Changes **Importer** (`onnx_importer2.cpp`, +49) Routing as above, plus the input validation the op needs: packed QKV rejected, past_key / past_value required as a pair, `do_rotary=1` requires cos/sin, unsupported trailing inputs rejected, and `seqlens_k` shorter than the buffer recognised as a shared-buffer export rather than silently mis-attended. **Layer** (`group_query_attention_layer.cpp`, +380) Attention is built on `fastGemmBatch` and `fused_softmax_softcap_mask`, the same kernels `attention_onnxai_layer.cpp` uses. Grouping falls out of the batched-GEMM offset table (query head → `h / groupSize`), so no broadcast copy is needed, and the second GEMM writes straight into the `[B, S, num_heads*D]` output. Supports rotary (full and partial), sliding window, softcap, growing and preallocated caches, and optional `present_*` outputs. **Core** (`persistence_json.cpp`, +92) `\uXXXX` escapes are UTF-16 code units, so anything above the BMP arrives as a surrogate pair. These were encoded as two separate 3-byte sequences CESU-8, which is not valid UTF-8 - for keys and values alike. Now recombined into one 4-byte sequence, with unpaired surrogates rejected. **Tests / perf / samples** `test_layer_group_query_attention.cpp` (+93), `test_tokenizer.cpp` (+28), `test_tokenizer.py` (+42), `perf_layer.cpp` (+125: `Layer_GroupQueryAttention` MHA_ShortCache and Grouped_WithCache, plus `Layer_Sign`), and two samples (`granite_docling_inference.py`, `paddleocr_vl_inference.py`). ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake | 6 天前 | |
Merge pull request #21805 from rogday:pretty_fix Mat pretty printer: fix submatrix indexation * fix submatrix indexation * fix channels | 4 年前 | |
Merge pull request #29175 from asmorkalov:as/geometry2 Geometry module #29175 OpenCV Contrib: https://github.com/opencv/opencv_contrib/pull/4129 CI changes: https://github.com/opencv/ci-gha-workflow/pull/313 Continues - https://github.com/opencv/opencv/pull/28804 - https://github.com/opencv/opencv/pull/29101 - https://github.com/opencv/opencv/pull/29108 - https://github.com/opencv/opencv/pull/28810 Todo for followup PRs: - [x] Rename doxygen groups - [x] Fix JS modules layout and whitelists - [ ] Sort tutorials code/snippets ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake | 4 个月前 | |
build: raise min cmake version to 3.13 in other places | 1 年前 | |
build: transition to C++17, minor changes in documentation | 1 年前 | |
Merge pull request #29175 from asmorkalov:as/geometry2 Geometry module #29175 OpenCV Contrib: https://github.com/opencv/opencv_contrib/pull/4129 CI changes: https://github.com/opencv/ci-gha-workflow/pull/313 Continues - https://github.com/opencv/opencv/pull/28804 - https://github.com/opencv/opencv/pull/29101 - https://github.com/opencv/opencv/pull/29108 - https://github.com/opencv/opencv/pull/28810 Todo for followup PRs: - [x] Rename doxygen groups - [x] Fix JS modules layout and whitelists - [ ] Sort tutorials code/snippets ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake | 4 个月前 | |
Clean up cmake after upgrading cmake_minimum_required to 3.13 | 1 年前 | |
samples: avoid Mat comma initializer in OpenGL sample | 20 天前 | |
ptcloud: address review (naming, BPA perf/robustness, shared helper, test/perf consolidation) | 12 天前 | |
Merge pull request #30144 from Yehsin0815:fix-odometry-python-sample samples: fix Python odometry sample for 5.x bindings - #30144 Fixes #30143 `samples/python/odometry.py` fails on 5.x: - It uses `cv.DEPTH`, `cv.RGB` and `cv.RGB_DEPTH`, which the Python bindings don't export. The enum values are exposed as `cv.OdometryType_*`, the same names `modules/ptcloud/misc/python/test_odometry.py` uses. Every mode fails with `AttributeError`. - RGB mode calls `compute(rgb1, rgb2, Rt)`, and that overload always raises "This odometry algorithm requires depth and rgb data simultaneously" (`modules/ptcloud/src/odometry.cpp`). The sample now loads the depth frames in RGB mode too and uses the 5-argument overload. Tested with opencv-python 5.0.0.93 on Windows 11 and Linux: `--algo DEPTH`, `RGB`, `RGB_DEPTH` and the default (all modes) each run and print `Rt`. This change was prepared with the help of an AI coding tool; I reviewed it and reproduced the bug and the fix locally. ### Pull Request Readiness Checklist - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable - [ ] The feature is well documented and sample code can be built with the project CMake | 2 天前 | |
Merge branch 4.x | 4 年前 | |
replaced ENGINE_NEW with ENGINE_OPENCV | 2 个月前 | |
Update tests and samples to work with changes to dynamic build | 5 年前 | |
Clean up CMake version checks | 3 个月前 | |
Enable -Wimplicit-fallthrough | 14 天前 | |
samples(va): fix build warnings, use cv::format() | 5 年前 | |
Merge branch 4.x | 1 年前 | |
Move objdetect HaarCascadeClassifier and HOGDescriptor to contrib xobjdetect (#25198) * Move objdetect parts to contrib * Move objdetect parts to contrib * Minor fixes. | 2 年前 | |
Merge pull request #20223 from jogo-:3.4_wp8_samples_typos * Fix typo in App.xaml.cs * Fix typo in App.xaml.cs * Fix typo in App.xaml.cs | 5 年前 | |
build: raise min cmake version to 3.13 in other places | 1 年前 | |
samples: move viz3d sample to samples/ptcloud | 2 个月前 | |
next: update versions handling | 5 年前 | |
Merge branch 4.x | 2 年前 | |
imgproc: add IntelligentScissors | 5 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 个月前 | ||
| 21 天前 | ||
| 2 个月前 | ||
| 1 年前 | ||
| 6 天前 | ||
| 4 年前 | ||
| 4 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 4 个月前 | ||
| 1 年前 | ||
| 20 天前 | ||
| 12 天前 | ||
| 2 天前 | ||
| 4 年前 | ||
| 2 个月前 | ||
| 5 年前 | ||
| 3 个月前 | ||
| 14 天前 | ||
| 5 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 5 年前 | ||
| 1 年前 | ||
| 2 个月前 | ||
| 5 年前 | ||
| 2 年前 | ||
| 5 年前 |