Commit Graph

35261 Commits

Author SHA1 Message Date
Alexander Smorkalov
08042e0a67
Merge pull request #26628 from mshabunin:fix-doc-footer-5x
doc: upgraded for compatibility with doxygen 1.12 (5.x)
2024-12-16 15:16:09 +03:00
Abduragim Shtanchaev
41df003d06
Merge pull request #26584 from Abdurrahheem:ash/fix-gpt2-sample
Update printingin GPT2 sample #26584

This PR update how GPT2 prints its output

**Note**: As the length of the prompt increases while inference, the token generation time slows down. May be its right time to introduce QK cashing to speed up the inference

### 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.
- [ ] The feature is well documented and sample code can be built with the project CMake
2024-12-16 14:43:47 +03:00
Maksim Shabunin
db43ffcd91 doc: upgraded for compatibility with doxygen 1.12 (5.x) 2024-12-16 14:12:17 +03:00
Alexander Smorkalov
633ca0d6eb
Merge pull request #26603 from asmorkalov:as/no_struct_binding
Replace structured binding for better compilers support
2024-12-10 12:13:14 +03:00
Alexander Smorkalov
c25f8024c0 Replace structured binding for better compilers support. 2024-12-10 10:01:08 +03:00
Alexander Smorkalov
76c2d01938
Merge pull request #26585 from FantasqueX:clean-up-cmake-1
Clean up cmake after upgrading cmake_minimum_required to 3.13
2024-12-07 10:25:18 +03:00
FantasqueX
f823143766 Clean up cmake after upgrading cmake_minimum_required to 3.13 2024-12-07 02:29:20 +08:00
Alexander Smorkalov
444d4c8360
Merge pull request #26577 from mshabunin:cpp-stdint
Prepare to transition to standard fixed-size types
2024-12-06 12:59:06 +03:00
Maksim Shabunin
d666245695 Prepare to transition to standard fixed-size types 2024-12-05 18:32:10 +03:00
Alexander Smorkalov
be1f3e8a7c Merge tag '5.0.0-alpha' into 5.x
Opencv 5.0.0-alpha release.

The alpha release for the new OpenCV generation. The release is designed as technology preview and not ready for production usage yet.
2024-12-05 14:34:15 +03:00
Alexander Smorkalov
0b4fdd729c Release 5.0.0-alpha. 2024-12-05 14:27:47 +03:00
Alexander Smorkalov
616fd50947 Release 5.0.0-alpha. 2024-12-05 11:54:05 +03:00
Gursimar Singh
816851c999
Merge pull request #26202 from gursimarsingh:improved_tracker_samples
Improved Tracker Samples #26202

Relates to #25006

This sample has been rewritten to track a selected target in a video or camera stream. It combines VIT tracker, Nano tracker and Dasiamrpn tracker into one tracker sample

### 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
2024-12-05 11:50:03 +03:00
Abduragim Shtanchaev
0c774c94f9
Merge pull request #26573 from Abdurrahheem:ash/fix-gpt2-sample
Fix gpt2 sample #26573

This PR adds dynamic input support for `gpt2_inference.py` sample.
Fixes #26518
Fixes #26517

### 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.
- [x] The feature is well documented and sample code can be built with the project CMake
2024-12-05 11:34:49 +03:00
Alexander Smorkalov
ddfb9d1dc8
Merge pull request #26572 from FantasqueX:fix-typo-3
fix typo modfication
2024-12-05 09:10:41 +03:00
Vadim Pisarevsky
446787ab48
Merge pull request #26571 from vpisarev:fix_26497
Fixed issue when std::vector<T> is wrapped into Mat with explicit step. #26571

Hopefully, fixes #26497

- [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.
- [ ] The feature is well documented and sample code can be built with the project CMake
2024-12-05 09:03:51 +03:00
FantasqueX
91a0bdb6ea fix typo modfication 2024-12-04 23:51:39 +08:00
Alexander Smorkalov
c69b5524ff
Merge pull request #26570 from asmorkalov:as/more_types_java
More type constants for Java bindings too.
2024-12-04 17:18:46 +03:00
Alexander Smorkalov
95659ebe97
Merge pull request #26568 from asmorkalov:as/more_types_objc_swift
More data types support in Obj-C  and Swift bindings
2024-12-04 16:56:38 +03:00
Alexander Smorkalov
644cf0de08 More data types support in Obj-C and Swift bindings. 2024-12-04 16:00:57 +03:00
Alexander Smorkalov
cb1e6250e6 More type constants for Java bindings too. 2024-12-04 15:51:58 +03:00
Alexander Smorkalov
69d0aacc2a
Merge pull request #26567 from FantasqueX:fix-typo-2
fix typo in AlgorithmHint description
2024-12-04 14:27:20 +03:00
Letu Ren
2b28a6e205 fix typo in AlgorithmHint description 2024-12-04 16:51:32 +08:00
Alexander Smorkalov
3b1ec72cf5
Merge pull request #26559 from asmorkalov:as/mattype_fix_ios
Fixed cv::Mat type constants in ObjC and Swift.
2024-12-03 12:58:59 +03:00
Alexander Smorkalov
22d4735de1
Merge pull request #26558 from mshabunin:fix-doc-1.12-5x
doc: fixed issue with doxygen 1.12 (5.x)
2024-12-02 17:16:43 +03:00
Alexander Smorkalov
0c4fd4f7ee Fixed cv::Mat type constants in ObjC and Swift. 2024-12-02 17:13:25 +03:00
Alexander Smorkalov
650f2c3da3
Merge pull request #26551 from Kumataro:fix26550
doc: update introduction for new MatDepth(5.x)
2024-12-02 14:01:15 +03:00
Maksim Shabunin
a492068a3a doc: fixed issue with doxygen 1.12 2024-12-02 13:52:10 +03:00
Gursimar Singh
efbe580ff3
Merge pull request #26486 from gursimarsingh:object_detection_engine_update
Code Fixes and changed post processing based on models.yml in Object Detection Sample #26486

## Major Changes

1. Changes to add findModel support for config file in models like yolov4, yolov4-tiny, yolov3, ssd_caffe, tiny-yolo-voc, ssd_tf and faster_rcnn_tf.
2. Added new model and config download links for ssd_caffe, as previous links were not working.
3. Switched to DNN ENGINE_CLASSIC for non-cpu convig as new engine does not support it.
4. Fixes in python sample related to yolov5 usage.

### 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
2024-12-02 09:05:25 +03:00
Kumataro
5b03d82814 doc: update introduction for new MatDepth 2024-12-01 08:13:08 +09:00
Yuantao Feng
b476ed6d06
Merge pull request #26505 from fengyuentau:imgproc/new_nearest_inter
imgproc: optimized nearest neighbour interpolation for warpAffine, warpPerspective and remap #26505

PR Description has a limit of 65536 characters. So performance stats are attached below.

### 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
2024-11-30 10:41:21 +03:00
Alexander Smorkalov
b7dacbd5e3
Merge pull request #26535 from mshabunin:fix-qr-bitstream-5x
objdetect: fix invalid vector access in QR encoder (5.x)
2024-11-29 17:56:33 +03:00
Maksim Shabunin
18e8d69097 objdetect: fix invalid vector access in QR encoder 2024-11-29 14:52:41 +03:00
Alexander Smorkalov
0213483c18 Merge branch 4.x 2024-11-28 13:20:39 +03:00
Alexander Smorkalov
b31bc1a295
Merge pull request #26545 from asmorkalov:as/python_missing_type_stubs
Added some mssing type constants to python type stubs generator.
2024-11-28 12:15:24 +03:00
Alexander Smorkalov
d0ccd85a02 Added some mssing type constants to python type stubs generator. 2024-11-28 09:42:22 +03:00
Philip Lamb
a5f8711ce1
Merge pull request #26537 from artoolkitx:emscripten-build-fixes
Emscripten build fixes #26537

- Corrects typo in Emscripten-only intrinsics header (Fixes https://github.com/opencv/opencv/issues/26536)
- Updates deprecated intrinsic title (as per LLVM final intrinsic name).

### 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.
- [x] The feature is well documented and sample code can be built with the project CMake
2024-11-28 09:25:01 +03:00
Alexander Smorkalov
a27d749471
Merge pull request #26516 from asmorkalov:as/pano_component_wrap
Document some stitching methods and enable bindings for them.
2024-11-28 08:19:55 +03:00
Alexander Smorkalov
fb0a40ded4
Merge pull request #26544 from savuor:rv/perf_rotate_8uc2
Perf test for rotate(): CV_8UC2 added
2024-11-28 08:18:08 +03:00
Alexander Smorkalov
85a844e9c2
Merge pull request #26540 from asmorkalov:5.0-alpha-pre
pre: OpenCV 5.0.0-alpha (version++).
2024-11-28 08:16:48 +03:00
Rostislav Vasilikhin
bf914a7681 8uc2 added 2024-11-28 01:59:18 +01:00
Alexander Smorkalov
e1ba8f2659
Merge pull request #26527 from asmorkalov:as/gapi_migration
Restore predefined G-API types in Python type stubs generator
2024-11-27 16:01:02 +03:00
Alexander Smorkalov
2ba82c2c88 Restore predefined G-API types in Python type stubs generator 2024-11-27 14:34:33 +03:00
Alexander Smorkalov
ff142b8ef9 pre: OpenCV 5.0.0-alpha (version++). 2024-11-27 12:59:28 +03:00
alexlyulkov
3672a14b42
Merge pull request #26394 from alexlyulkov:al/new-engine-tf-parser
Modified tensorflow parser for the new dnn engine #26394

### 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
- [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
2024-11-27 09:15:20 +03:00
Alexander Smorkalov
b9914065e8
Merge pull request #26534 from mshabunin:fix-reduce-test-5x
test: fix technical issue with min_element in reduce tests (5.x)
2024-11-27 09:09:11 +03:00
Alexander Smorkalov
c8c64f69dd
Merge pull request #26533 from mshabunin:fix-reduce-test
test: fix technical issue with min_element in reduce tests
2024-11-27 09:08:01 +03:00
Maksim Shabunin
939aac47a2 test: fix technical issue with min_element in reduce tests 2024-11-26 22:21:16 +03:00
Alexander Smorkalov
d6b674a3de
Merge pull request #26531 from mshabunin:fix-usac-vector-access-5x
calib3d: fix vector access in USAC (5.x)
2024-11-26 22:15:50 +03:00
Alexander Smorkalov
68941ef8e7
Merge pull request #26530 from mshabunin:fix-usac-vector-access
calib3d: fix vector access in USAC
2024-11-26 22:15:05 +03:00