Files
2025-01-04 16:16:26 +08:00

3 lines
68 B
Python

import cv2
count = cv2.cuda.getCudaEnabledDeviceCount()
print(count)