Closed garuna-m6 closed 3 years ago
@Davidy22 can you help me in the checks ?
Use flake8
to see/fix errors.
@garuna-m6 which function returns cv2
or PIL
image?
I need one of those so that I can feed it into show_image
function.
@garuna-m6 took care of the checks, enjoy !
It looks like this does conversion to ASCII straight from openCV which is nice, we need the result as a return value instead of just printed to screen though so that this can be integrated into the rest of the program. Also fold this into a class with cap as an attribute of the class so that it's a little more cleanly accessible.
Also separate the opencv image capture and the conversion to ASCII into two separate functions because @dhananjaylatkar was assigned conversion to ASCII and I believe they have a different-looking converter for the camera output in the frame variable and they'd like to be able to access it
Yeah this does what we need it to, can probably come back for cleanup and optimisation but I'll merge for now.
@Davidy22 can you help me in the checks ?