opencv/modules
alexlyulkov a2fa1d49a4
Merge pull request #26208 from alexlyulkov:al/new-engine-caffe-parser
Modified Caffe parser to support the new dnn engine #26208

Now the Caffe parser supports both the old and the new engine. It can be selected using newEngine argument in PopulateNet.

All cpu Caffe tests work fine except:

- Test_Caffe_nets.Colorization
- Test_Caffe_layers.FasterRCNN_Proposal

Both these tests doesn't work because of the bug in the new net.forward function. The function takes the name of the desired target last layer, but uses this name as the name of the desired output tensor.
Also Colorization test contains a strange model with a Silence layer in the end, so it doesn't have outputs. The old parser just ignored it. I think, the proper solution is to run this model until the (number_of_layers - 2) layer using proper net.forward arguments in the test.

### 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
- [ ] 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-10-28 11:32:07 +03:00
..
3d build: transition to C++17, minor changes in documentation 2024-10-25 15:05:14 +03:00
calib calib: mark some multiview tests verylong 2024-10-07 15:37:59 +03:00
core Merge pull request #26373 from Kumataro:fix26372 2024-10-28 09:20:04 +03:00
dnn Merge pull request #26208 from alexlyulkov:al/new-engine-caffe-parser 2024-10-28 11:32:07 +03:00
features2d Merge pull request #25292 from kaingwade:features2d_parts_to_contrib 2024-10-10 17:10:22 +03:00
flann Prevent signed integer overflow in LshTable 2024-05-24 23:47:36 +02:00
gapi Merge branch 4.x 2024-10-24 15:10:43 +03:00
highgui Drop remaning C CV_FUNCTION_NAME as it's not used any more. 2024-09-12 08:38:19 +03:00
imgcodecs Merge branch 4.x 2024-10-24 15:10:43 +03:00
imgproc Merge branch 4.x 2024-10-24 15:10:43 +03:00
java Merge pull request #26056 from vpisarev:new_dnn_engine 2024-10-16 15:28:19 +03:00
js Merge branch 4.x 2024-10-24 15:10:43 +03:00
objc build: transition to C++17, minor changes in documentation 2024-10-25 15:05:14 +03:00
objdetect Merge pull request #26373 from Kumataro:fix26372 2024-10-28 09:20:04 +03:00
photo C-API cleanup: inpaint algorithms in photo 2024-10-01 20:10:35 +03:00
python Merge pull request #25292 from kaingwade:features2d_parts_to_contrib 2024-10-10 17:10:22 +03:00
stereo Merge branch '4.x' into '5.x' 2024-06-26 19:01:34 +03:00
stitching Merge pull request #25292 from kaingwade:features2d_parts_to_contrib 2024-10-10 17:10:22 +03:00
ts Merge pull request #26056 from vpisarev:new_dnn_engine 2024-10-16 15:28:19 +03:00
video Merge branch 4.x 2024-10-24 15:10:43 +03:00
videoio Merge pull request #25349 from gursimarsingh:videocapture_samples_cpp 2024-10-28 09:57:54 +03:00
world cmake: use /INCREMENTAL:NO with MSVS 2015 2023-12-07 19:46:27 +00:00
CMakeLists.txt Merge pull request #25017 from kaingwade:ml_to_contrib 2024-02-27 15:54:08 +03:00