fix for OpenCv 4.x.x for opencv ver=3.x.x cv2.findContours returns 3 value image, contours, hierarchy for opencv ver<>3.x.x cv2.findContours returns 2 value contours, hierarchy https://docs.opencv.org/2.4/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html?highlight=findcontours#findcontours https://docs.opencv.org/3.4.6/d3/dc0/group__imgproc__shape.html#ga17ed9f5d79ae97bd4c7cf18403e1689a https://docs.opencv.org/4.1.1/d3/dc0/group__imgproc__shape.html#gadf1ad6a0b82947fa1fe3c3d497f260e0
fix for OpenCv 4.x.x
for opencv ver=3.x.x cv2.findContours returns 3 value image, contours, hierarchy
for opencv ver<>3.x.x cv2.findContours returns 2 value contours, hierarchy
https://docs.opencv.org/2.4/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html?highlight=findcontours#findcontours
https://docs.opencv.org/3.4.6/d3/dc0/group__imgproc__shape.html#ga17ed9f5d79ae97bd4c7cf18403e1689a
https://docs.opencv.org/4.1.1/d3/dc0/group__imgproc__shape.html#gadf1ad6a0b82947fa1fe3c3d497f260e0

qzane/text-detection