• 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
.github Loading commit data...
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.tgitconfig Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...