• Muhammad Abdullah's avatar
    update digits_video.py · c180047b
    Muhammad Abdullah authored
    Following were the errors in the digits_video.py
         1 ) The code was not working because data type of x was float however in "cv2.rectangle" we require integer .
         2 ) After pressing the "esc" button the image windows did not destroy
    So I amended following things:
         1 ) ~converted data type of x to int.~ Used Python integer division (//)
         2 ) used cv2.destroyAllWindows() to close all windows after the press of "esc" by user.
    c180047b
Name
Last commit
Last update
..
android Loading commit data...
cpp Loading commit data...
data Loading commit data...
directx Loading commit data...
dnn Loading commit data...
gpu Loading commit data...
hal Loading commit data...
java Loading commit data...
opencl Loading commit data...
opengl Loading commit data...
openvx Loading commit data...
python Loading commit data...
tapi Loading commit data...
va_intel Loading commit data...
winrt Loading commit data...
winrt_universal Loading commit data...
wp8 Loading commit data...
CMakeLists.txt Loading commit data...