Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

cv2 cuda support print

import cv2
count = cv2.cuda.getCudaEnabledDeviceCount()
print(count) # 1 == using cuda, 0 = not using cuda
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cuda #support #print
ADD COMMENT
Topic
Name
6+6 =