OpenCV CUDA Backend Detection and Runtime Device Availability
Problem Statement OpenCV's CUDA acceleration capabilities depend on both the build configuration and runtime hardware detection. The library provides cv::cuda::getCudaEnabledDeviceCount() to check GPU availability, but this function may return zero even when compatible CUDA hardware exists in the system. Constraints and Uncertainties The detection mechanism