mirror of
https://github.com/opencv/opencv.git
synced 2025-08-05 22:19:14 +08:00
CUDA: drop OPENCV_TRAITS_ENABLE_DEPRECATED requirement
This commit is contained in:
parent
a0f86479e0
commit
00cbb894ec
@ -77,10 +77,6 @@ ocv_target_link_libraries(${the_module} LINK_PRIVATE
|
||||
"${OPENCV_HAL_LINKER_LIBS}"
|
||||
)
|
||||
|
||||
if(HAVE_CUDA)
|
||||
ocv_target_compile_definitions(${the_module} PUBLIC OPENCV_TRAITS_ENABLE_DEPRECATED)
|
||||
endif()
|
||||
|
||||
ocv_add_accuracy_tests()
|
||||
ocv_add_perf_tests()
|
||||
|
||||
|
@ -222,7 +222,7 @@ CUDA_TEST_P(ORB, Accuracy)
|
||||
{
|
||||
std::vector<cv::KeyPoint> keypoints;
|
||||
cv::cuda::GpuMat descriptors;
|
||||
orb->detectAndComputeAsync(loadMat(image), loadMat(mask), keypoints, descriptors);
|
||||
orb->detectAndComputeAsync(loadMat(image), loadMat(mask), rawOut(keypoints), descriptors);
|
||||
}
|
||||
catch (const cv::Exception& e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user