mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Merge pull request #27640 from asmorkalov:as/kleidicv_mac
Enable KleidiCV on Linux and Mac Mx by default #27640 OpenCV Extra: https://github.com/opencv/opencv_extra/pull/1296 ### 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 - [ ] 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
This commit is contained in:
committed by
GitHub
parent
dee619b628
commit
579dfb6e02
@@ -55,7 +55,16 @@ PERF_TEST_P(ECCPerfTest, findTransformECC,
|
||||
TermCriteria(TermCriteria::COUNT + TermCriteria::EPS, 5, -1));
|
||||
}
|
||||
|
||||
SANITY_CHECK(warpMat, 3e-3);
|
||||
if (transform_type == MOTION_HOMOGRAPHY)
|
||||
{
|
||||
// NOTE: for Mac M1 + KleidiCV
|
||||
// ECCPerfTest_findTransformECC.findTransformECC/6, where GetParam() = (MOTION_HOMOGRAPHY, IMREAD_GRAYSCALE)
|
||||
SANITY_CHECK(warpMat, 8.3e-3);
|
||||
}
|
||||
else
|
||||
{
|
||||
SANITY_CHECK(warpMat, 3e-3);
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace opencv_test
|
||||
|
||||
Reference in New Issue
Block a user