Perfect it has worked.
Again thank you for the quick replies.
Short summary of what I have performed.
OpenCV4.6.0 and Opencv_contrib4.6.0
Windows 10
MS VS 2019
CMAKE
GPU Geforce 710 (cuda architecture 3.5)
Cuda Toolkit (11.7)
CMAKE Flags →
with_cuda: True
opencv_dnn_cuda: True
enable_fast_math: True
build_opencv_world: true
opencv_extra_module_pah : give the path to opencv_contribxxx/modules
cuda_fast_math: True
cuda_arch_bin :3.5
cmake_configuration_type Release